[INFO] fetching crate t-rust-less-lib 0.2.18... [INFO] testing t-rust-less-lib-0.2.18 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate t-rust-less-lib 0.2.18 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate t-rust-less-lib 0.2.18 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate t-rust-less-lib 0.2.18 [INFO] finished tweaking crates.io crate t-rust-less-lib 0.2.18 [INFO] tweaked toml for crates.io crate t-rust-less-lib 0.2.18 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 295 packages to latest compatible versions [INFO] [stderr] Adding capnp v0.14.11 (available: v0.20.3) [INFO] [stderr] Adding capnpc v0.14.9 (available: v0.20.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.23) [INFO] [stderr] Adding clipboard-win v4.5.0 (available: v5.4.0) [INFO] [stderr] Adding rmp-serde v0.15.5 (available: v1.3.0) [INFO] [stderr] Adding wayland-client v0.29.5 (available: v0.31.7) [INFO] [stderr] Adding wayland-protocols v0.29.5 (available: v0.32.5) [INFO] [stderr] Adding zxcvbn v2.2.2 (available: v3.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capnpc v0.14.9 [INFO] [stderr] Downloaded chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Downloaded rust-argon2 v2.1.0 [INFO] [stderr] Downloaded capnp v0.14.11 [INFO] [stderr] Downloaded zxcvbn v2.2.2 [INFO] [stderr] Downloaded dropbox-sdk v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eede6cc0d96d091e04885c4aa5f4137d6fba42d080525ad738cd1e9a16e133fa [INFO] running `Command { std: "docker" "start" "-a" "eede6cc0d96d091e04885c4aa5f4137d6fba42d080525ad738cd1e9a16e133fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eede6cc0d96d091e04885c4aa5f4137d6fba42d080525ad738cd1e9a16e133fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eede6cc0d96d091e04885c4aa5f4137d6fba42d080525ad738cd1e9a16e133fa", kill_on_drop: false }` [INFO] [stdout] eede6cc0d96d091e04885c4aa5f4137d6fba42d080525ad738cd1e9a16e133fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf77064e2ec2ad80204162c04d1b3b385761d9608497767fb3ebeb78370bc4a3 [INFO] running `Command { std: "docker" "start" "-a" "bf77064e2ec2ad80204162c04d1b3b385761d9608497767fb3ebeb78370bc4a3", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling capnp v0.14.11 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling capnpc v0.14.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling sublime_fuzzy v0.7.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling zxcvbn v2.2.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling t-rust-less-lib v0.2.18 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling x25519-dalek-ng v1.1.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling dropbox-sdk v0.18.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | not(feature = "use_os") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ptr::copy_nonoverlapping(CANARY.as_ptr(), canary_ptr, CANARY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(memory::memeq(canary_ptr as *const u8, CANARY.as_ptr(), CANARY_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "bf77064e2ec2ad80204162c04d1b3b385761d9608497767fb3ebeb78370bc4a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf77064e2ec2ad80204162c04d1b3b385761d9608497767fb3ebeb78370bc4a3", kill_on_drop: false }` [INFO] [stdout] bf77064e2ec2ad80204162c04d1b3b385761d9608497767fb3ebeb78370bc4a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b1b30191fa3d61d84d7361d97b578d53ba2f03833f869a3d5c97b06fd9795bf [INFO] running `Command { std: "docker" "start" "-a" "2b1b30191fa3d61d84d7361d97b578d53ba2f03833f869a3d5c97b06fd9795bf", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling x25519-dalek-ng v1.1.1 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling spectral v0.6.0 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling dropbox-sdk v0.18.1 [INFO] [stderr] Compiling t-rust-less-lib v0.2.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | not(feature = "use_os") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ptr::copy_nonoverlapping(CANARY.as_ptr(), canary_ptr, CANARY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(memory::memeq(canary_ptr as *const u8, CANARY.as_ptr(), CANARY_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | not(feature = "use_os") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ptr::copy_nonoverlapping(CANARY.as_ptr(), canary_ptr, CANARY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/memguard/alloc.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(memory::memeq(canary_ptr as *const u8, CANARY.as_ptr(), CANARY_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2b1b30191fa3d61d84d7361d97b578d53ba2f03833f869a3d5c97b06fd9795bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1b30191fa3d61d84d7361d97b578d53ba2f03833f869a3d5c97b06fd9795bf", kill_on_drop: false }` [INFO] [stdout] 2b1b30191fa3d61d84d7361d97b578d53ba2f03833f869a3d5c97b06fd9795bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 154321bb81e2c26f2c7e8dd132a0aece81ac4a206a9046ba966e41a33337908e [INFO] running `Command { std: "docker" "start" "-a" "154321bb81e2c26f2c7e8dd132a0aece81ac4a206a9046ba966e41a33337908e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/memguard/memory.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(feature = "nightly")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/memguard/memory.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `apple` [INFO] [stderr] --> src/memguard/memory.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `use_os` [INFO] [stderr] --> src/memguard/memory.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `apple` [INFO] [stderr] --> src/memguard/memory.rs:63:11 [INFO] [stderr] | [INFO] [stderr] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `use_os` [INFO] [stderr] --> src/memguard/memory.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stderr] --> src/memguard/memory.rs:83:51 [INFO] [stderr] | [INFO] [stderr] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stderr] --> src/memguard/memory.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `use_os` [INFO] [stderr] --> src/memguard/memory.rs:84:7 [INFO] [stderr] | [INFO] [stderr] 84 | not(feature = "use_os") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stderr] --> src/memguard/memory.rs:96:15 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stderr] --> src/memguard/memory.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `use_os` [INFO] [stderr] --> src/memguard/memory.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `use_os` [INFO] [stderr] --> src/memguard/memory.rs:109:46 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stderr] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stderr] --> src/memguard/memory.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(freebsdlike)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stderr] --> src/memguard/memory.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | #[cfg(freebsdlike)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/memguard/alloc.rs:163:28 [INFO] [stderr] | [INFO] [stderr] 163 | ptr::copy_nonoverlapping(CANARY.as_ptr(), canary_ptr, CANARY_SIZE); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/memguard/alloc.rs:186:50 [INFO] [stderr] | [INFO] [stderr] 186 | assert!(memory::memeq(canary_ptr as *const u8, CANARY.as_ptr(), CANARY_SIZE)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `t-rust-less-lib` (lib) generated 17 warnings [INFO] [stderr] warning: `t-rust-less-lib` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/t_rust_less_lib-07399be384b456a7) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test memguard::alloc::tests::test_alloc_free ... ok [INFO] [stdout] test memguard::alloc::tests::test_mprotect ... ok [INFO] [stdout] test memguard::bytes::tests::test_init_strong_random ... ok [INFO] [stdout] test memguard::bytes::tests::test_serde_json ... ok [INFO] [stdout] test memguard::bytes::tests::test_str_like_ops ... ok [INFO] [stdout] test memguard::bytes::tests::test_serde_rmb ... ok [INFO] [stdout] test block_store::sync::synchronize_tests::test_sync_memory ... ok [INFO] [stdout] test memguard::bytes::tests::test_zeroed ... ok [INFO] [stdout] test memguard::memory::tests::memcmp_test ... ok [INFO] [stdout] test memguard::bytes::tests::test_borrow_read_only ... ok [INFO] [stdout] test memguard::bytes::tests::test_borrow_read_write ... ok [INFO] [stdout] test block_store::tests::test_memory_store ... ok [INFO] [stdout] test api::tests::password_strength_capnp_serialization ... ok [INFO] [stdout] test memguard::weak::tests::test_zeroing_drop ... ok [INFO] [stdout] test memguard::words::tests::test_from_unaligned_source ... ok [INFO] [stdout] test memguard::words::tests::test_borrow_read_write ... ok [INFO] [stdout] test memguard::memory::tests::memzero_test ... ok [INFO] [stdout] test memguard::memory::tests::mlock_munlock_test ... ok [INFO] [stdout] test otp::tests::test_totp_long ... ok [INFO] [stdout] test otp::tests::test_totp_lowercase ... ok [INFO] [stdout] test otp::tests::test_totp_std ... ok [INFO] [stdout] test api::tests::secret_list_filter_capnp_serialization ... ok [INFO] [stdout] test memguard::memory::tests::memeq_test ... ok [INFO] [stdout] test memguard::words::tests::test_borrow_read_only ... ok [INFO] [stdout] test secrets_store::cipher::rust_argon2id::tests::test_derive_regression ... ignored [INFO] [stdout] test memguard::words::tests::test_zeroed ... ok [INFO] [stdout] test secrets_store::cipher::tests::test_rust_rsa_aes_gcm ... ignored [INFO] [stdout] test otp::tests::test_totp_std_lowercase ... ok [INFO] [stdout] test secrets_store::padding::random_front_back::tests::test_encode_length ... ok [INFO] [stdout] test secrets_store::padding::random_front_back::tests::test_encode_length_quick ... ok [INFO] [stdout] test api::tests::status_capnp_serialization ... ok [INFO] [stdout] test api::tests::identity_capnp_serialization ... ok [INFO] [stdout] test secrets_store::index_tests::test_process_change_logs ... ok [INFO] [stdout] test block_store::tests::test_local_dir_store ... ok [INFO] [stdout] test secrets_store::tests::test_multi_lane_secrets_store ... ignored [INFO] [stdout] test service::pw_generator::chars::tests::test_generate_chars ... ok [INFO] [stdout] test secrets_store::cipher::tests::test_rust_x25519_chacha20_poly1305 ... ok [INFO] [stdout] test service::pw_generator::words::tests::test_generate_words ... ok [INFO] [stdout] test api::tests::command_serialization ... ok [INFO] [stdout] test secrets_store::padding::tests::test_randon_front_back_padding ... ok [INFO] [stdout] test block_store::tests::test_sled_store ... ok [INFO] [stdout] test secrets_store::padding::tests::test_non_zero_padding ... ok [INFO] [stdout] test api::tests::secret_list_capnp_serialization ... ok [INFO] [stdout] test secrets_store::padding::tests::test_non_zero_padding_quick ... ok [INFO] [stdout] test secrets_store::padding::tests::test_randon_front_back_padding_quick ... ok [INFO] [stdout] test api::tests::secret_version_capnp_serialization ... ok [INFO] [stdout] test api::tests::secret_capnp_serialization ... ok [INFO] [stdout] test secrets_store::cipher::fixture_tests::rsa1::test_rust_rsa_aes_gcm_fixture ... ok [INFO] [stdout] test secrets_store::cipher::fixture_tests::rsa2::test_rust_rsa_aes_gcm_fixture ... ok [INFO] [stdout] test secrets_store::cipher::fixture_tests::rsa3::test_rust_rsa_aes_gcm_fixture ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 6.99s [INFO] [stdout] [INFO] [stderr] Doc-tests t_rust_less_lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "154321bb81e2c26f2c7e8dd132a0aece81ac4a206a9046ba966e41a33337908e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154321bb81e2c26f2c7e8dd132a0aece81ac4a206a9046ba966e41a33337908e", kill_on_drop: false }` [INFO] [stdout] 154321bb81e2c26f2c7e8dd132a0aece81ac4a206a9046ba966e41a33337908e