[package - main-armv7-default][security/rustscan] Failed for rustscan-2.3.0_2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Nov 2024 18:38:23 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: mikael@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p711a2f7f1ca4_s0d965bc034/logs/rustscan-2.3.0_2.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p711a2f7f1ca4_s0d965bc034
Log:
=>> Building security/rustscan
build started at Mon Nov 4 18:35:10 UTC 2024
port directory: /usr/ports/security/rustscan
package name: rustscan-2.3.0_2
building for: FreeBSD main-armv7-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 arm
maintained by: mikael@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 443 Sep 17 01:02 /usr/ports/security/rustscan/Makefile
Ports top last git commit: 711a2f7f1ca
Ports top unclean checkout: no
Port dir last git commit: 89ab81d0e2e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 11
!!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500026
UNAME_v=FreeBSD 15.0-CURRENT 1500026
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
mikael@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/rustscan/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/rustscan/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/rustscan/work/.cache HOME=/wrkdirs/usr/ports/security/rustscan/work TMPDIR="/wrkdirs/usr/ports/security/rustscan/work" PATH=/wrkdirs/usr/ports/security/rustscan/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/rustscan/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/rustscan/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/rustscan/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/rustscan/work/.cache HOME=/wrkdirs/usr/ports/security/rustscan/work TMPDIR="/wrkdirs/usr/ports/security/rustscan/work" PATH=/wrkdirs/usr/ports/security/rustscan/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/rustscan/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="instal
l -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rustscan" EXAMPLESDIR="share/examples/rustscan" DATADIR="share/rustscan" WWWDIR="www/rustscan" ETCDIR="etc/rustscan"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rustscan DOCSDIR=/usr/local/share/doc/rustscan EXAMPLESDIR=/usr/local/share/examples/rustscan WWWDIR=/usr/local/www/rustscan ETCDIR=/usr/local/etc/rustscan
--End SUB_LIST--
---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 524288
stack size (kbytes, -s) 65536
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> rustscan-2.3.0_2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-11] Installing pkg-1.21.3...
[main-armv7-default-job-11] Extracting pkg-1.21.3: .......... done
===> rustscan-2.3.0_2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of rustscan-2.3.0_2
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License GPLv3 accepted by the user
===> Fetching all distfiles required by rustscan-2.3.0_2 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License GPLv3 accepted by the user
===> Fetching all distfiles required by rustscan-2.3.0_2 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.22.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.8.11.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.1.3.crate.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.12.1.crate.
=> SHA256 Checksum OK for rust/crates/anstream-0.6.14.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-1.0.7.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-parse-0.2.4.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-query-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-wincon-3.0.3.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.86.crate.
=> SHA256 Checksum OK for rust/crates/async-channel-1.9.0.crate.
=> SHA256 Checksum OK for rust/crates/async-channel-2.3.1.crate.
=> SHA256 Checksum OK for rust/crates/async-executor-1.12.0.crate.
=> SHA256 Checksum OK for rust/crates/async-global-executor-2.4.1.crate.
=> SHA256 Checksum OK for rust/crates/async-io-1.13.0.crate.
=> SHA256 Checksum OK for rust/crates/async-io-2.3.3.crate.
=> SHA256 Checksum OK for rust/crates/async-lock-2.8.0.crate.
=> SHA256 Checksum OK for rust/crates/async-lock-3.4.0.crate.
=> SHA256 Checksum OK for rust/crates/async-std-1.12.0.crate.
=> SHA256 Checksum OK for rust/crates/async-task-4.7.1.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.81.crate.
=> SHA256 Checksum OK for rust/crates/atomic-waker-1.1.2.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.3.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.73.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.21.7.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.6.0.crate.
=> SHA256 Checksum OK for rust/crates/blocking-1.6.1.crate.
=> SHA256 Checksum OK for rust/crates/bumpalo-3.16.0.crate.
<snip>
warning: unexpected `cfg` condition value: `specialize`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/lib.rs:279:11
|
279 | #[cfg(feature = "specialize")]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `atomic-polyfill`, `compile-time-rng`, `const-random`, `default`, `getrandom`, `nightly-arm-aes`, `no-rng`, `runtime-rng`, `serde`, and `std`
= help: consider adding `specialize` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `specialize`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/lib.rs:286:15
|
286 | #[cfg(not(feature = "specialize"))]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `atomic-polyfill`, `compile-time-rng`, `const-random`, `default`, `getrandom`, `nightly-arm-aes`, `no-rng`, `runtime-rng`, `serde`, and `std`
= help: consider adding `specialize` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `specialize`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/lib.rs:293:11
|
293 | #[cfg(feature = "specialize")]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `atomic-polyfill`, `compile-time-rng`, `const-random`, `default`, `getrandom`, `nightly-arm-aes`, `no-rng`, `runtime-rng`, `serde`, and `std`
= help: consider adding `specialize` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `specialize`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/lib.rs:300:15
|
300 | #[cfg(not(feature = "specialize"))]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `atomic-polyfill`, `compile-time-rng`, `const-random`, `default`, `getrandom`, `nightly-arm-aes`, `no-rng`, `runtime-rng`, `serde`, and `std`
= help: consider adding `specialize` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: trait `BuildHasherExt` is never used
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/lib.rs:252:18
|
252 | pub(crate) trait BuildHasherExt: BuildHasher {
| ^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: methods `read_u128x2`, `read_u128x4`, `read_last_u16`, `read_last_u128x2`, and `read_last_u128x4` are never used
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/ahash-0.8.11/src/convert.rs:80:8
|
75 | pub(crate) trait ReadFromSlice {
| ------------- methods in this trait
...
80 | fn read_u128x2(&self) -> ([u128; 2], &[u8]);
| ^^^^^^^^^^^
81 | fn read_u128x4(&self) -> ([u128; 4], &[u8]);
| ^^^^^^^^^^^
82 | fn read_last_u16(&self) -> u16;
| ^^^^^^^^^^^^^
...
86 | fn read_last_u128x2(&self) -> [u128; 2];
| ^^^^^^^^^^^^^^^^
87 | fn read_last_u128x4(&self) -> [u128; 4];
| ^^^^^^^^^^^^^^^^
warning: `ahash` (lib) generated 45 warnings
Compiling indexmap v2.2.6
Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=indexmap CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/indexmap-2.2.6 CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='A hash table with consistent order and fast iteration.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=indexmap CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/indexmap-rs/indexmap' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=2.2.6 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps /usr/local/bin/rustc --crate-name indexmap --edition=2021 /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/indexmap-2.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt
-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 '--allow=clippy::style' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "borsh", "default", "quickcheck", "rayon", "rustc-rayon", "serde", "std", "test_debug"))' -C metadata=5fbe7464e4184aeb -C extra-filename=-5fbe7464e4184aeb --out-dir /wrkdirs/usr/ports/security/rustscan/work/target/release/deps -C strip=symbols -L dependency=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps --extern equivalent=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libequivalent-e34d215374148b9d.rmeta --extern hashbrown=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libhashbrown-d02490a88c9e0f20.rmeta --cap-lints warn -C target-cpu= -C link-arg=-fstack-protector-strong`
error[E0599]: no associated item named `TMPFILE` found for struct `backend::fs::types::OFlags` in the current scope
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/rustix-0.37.27/src/backend/libc/fs/syscalls.rs:157:32
|
157 | if oflags.contains(OFlags::TMPFILE) && crate::backend::if_glibc_is_less_than_2_25() {
| ^^^^^^^ associated item not found in `OFlags`
|
::: /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/rustix-0.37.27/src/backend/libc/fs/types.rs:181:1
|
181 | / bitflags! {
182 | | /// `O_*` constants for use with [`openat`].
183 | | ///
184 | | /// [`openat`]: crate::fs::openat
... |
308 | | }
309 | | }
| |_- associated item `TMPFILE` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
= help: trait `<crate::backend::fs::types::OFlags as std::fmt::Debug>::fmt::__BitFlags` which provides `TMPFILE` is implemented but not reachable
= help: trait `crate::backend::fs::types::OFlags::all::__BitFlags` which provides `TMPFILE` is implemented but not reachable
= note: the following traits define an item `TMPFILE`, perhaps you need to implement one of them:
candidate #1: `<backend::fs::types::OFlags as Debug>::fmt::__BitFlags`
candidate #2: `backend::fs::types::OFlags::all::__BitFlags`
Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=thiserror CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/thiserror-1.0.61 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='derive(Error)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=thiserror CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/thiserror' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.61 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=61 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps OUT_DIR=/wrkdirs/usr/ports/security/rustscan/work/target/release/build/thiserror-596d848466ebf71c/out /usr/local/bin/rustc --crate-name thiserror --edition=2021 /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/thiserror-1.0.61/src/lib.rs --error-format=json --json=diagn
ostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=96add9049964ab3c -C extra-filename=-96add9049964ab3c --out-dir /wrkdirs/usr/ports/security/rustscan/work/target/release/deps -C strip=symbols -L dependency=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps --extern thiserror_impl=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libthiserror_impl-e3906579d05a0841.so --cap-lints warn -C target-cpu= -C link-arg=-fstack-protector-strong --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(thiserror_nightly_testing)'`
Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=lock_api CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12 CARGO_PKG_AUTHORS='Amanieu d'\''Antras <amanieu@gmail.com>' CARGO_PKG_DESCRIPTION='Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=lock_api CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Amanieu/parking_lot' CARGO_PKG_RUST_VERSION=1.56.0 CARGO_PKG_VERSION=0.4.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps OUT_DIR=/wrkdirs/usr/ports/security/rustscan/work/target/release/build/lock_api-4cbb51d447224a06/out /usr/local/bin/rustc --crate-name lock_api --edition=2021 /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-
crates/lock_api-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=b0e09f920ed208b9 -C extra-filename=-b0e09f920ed208b9 --out-dir /wrkdirs/usr/ports/security/rustscan/work/target/release/deps -C strip=symbols -L dependency=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps --extern scopeguard=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libscopeguard-7b8826d9d705e7d7.rmeta --cap-lints warn -C target-cpu= -C link-arg=-fstack-protector-strong --cfg has_const_fn_trait_bound`
Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
warning: `rustix` (lib) generated 573 warnings
error: could not compile `rustix` (lib) due to 2 previous errors; 573 warnings emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=rustix CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/rustix-0.37.27 CARGO_PKG_AUTHORS='Dan Gohman <dev@sunfishcode.online>:Jakub Konka <kubkon@jakubkonka.com>' CARGO_PKG_DESCRIPTION='Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustix CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bytecodealliance/rustix' CARGO_PKG_RUST_VERSION=1.48 CARGO_PKG_VERSION=0.37.27 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=37 CARGO_PKG_VERSION_PATCH=27 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps OUT_DIR=/wrkdirs/usr/ports/security/rustscan/work/target/release/build/rustix-389a53a4f3a874d3/out /usr/local/bin/rustc --crate-name rustix --editi
on=2018 /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/rustix-0.37.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="fs"' --cfg 'feature="io-lifetimes"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "all-impls", "alloc", "cc", "compiler_builtins", "core", "default", "fs", "fs-err", "io-lifetimes", "io_uring", "itoa", "libc", "libc_errno", "linux_4_11", "linux_latest", "mm", "net", "once_cell", "os_pipe", "param", "process", "procfs", "pty", "rand", "runtime", "rustc-dep-of-std", "std", "termios", "thread", "time", "use-libc", "use-libc-auxv"))' -C metadata=bf3fb7fcc70b1279 -C extra-filename=-bf3fb7fcc70b1279 --out-dir /wrkdirs/usr/ports/security/rustscan/work/target/release/deps -C strip=symbols -L dependency=/wrkdirs/usr/ports/securi
ty/rustscan/work/target/release/deps --extern bitflags=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libbitflags-40cfd1c241ba42ca.rmeta --extern libc_errno=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/liberrno-1fb2f1c4b018e533.rmeta --extern io_lifetimes=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/libio_lifetimes-21cf42ae0c0cb655.rmeta --extern libc=/wrkdirs/usr/ports/security/rustscan/work/target/release/deps/liblibc-003a7a6e3d2e3d9e.rmeta --cap-lints warn -C target-cpu= -C link-arg=-fstack-protector-strong --cfg libc --cfg freebsdlike --cfg bsd` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/mutex.rs:148:11
|
148 | #[cfg(has_const_fn_trait_bound)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/mutex.rs:158:15
|
158 | #[cfg(not(has_const_fn_trait_bound))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/remutex.rs:232:11
|
232 | #[cfg(has_const_fn_trait_bound)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/remutex.rs:247:15
|
247 | #[cfg(not(has_const_fn_trait_bound))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/rwlock.rs:369:11
|
369 | #[cfg(has_const_fn_trait_bound)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `has_const_fn_trait_bound`
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/rwlock.rs:379:15
|
379 | #[cfg(not(has_const_fn_trait_bound))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_const_fn_trait_bound)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: field `0` is never read
--> /wrkdirs/usr/ports/security/rustscan/work/RustScan-2.3.0/cargo-crates/lock_api-0.4.12/src/lib.rs:103:24
|
103 | pub struct GuardNoSend(*mut ());
| ----------- ^^^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` on by default
warning: `lock_api` (lib) generated 7 warnings
*** Error code 101
Stop.
make: stopped making "build" in /usr/ports/security/rustscan