[INFO] fetching crate diem-crypto 0.0.3... [INFO] checking diem-crypto-0.0.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate diem-crypto 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate diem-crypto 0.0.3 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diem-crypto 0.0.3 [INFO] finished tweaking crates.io crate diem-crypto 0.0.3 [INFO] tweaked toml for crates.io crate diem-crypto 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding aead v0.3.2 (available: v0.5.2) [INFO] [stderr] Adding aes v0.6.0 (available: v0.8.4) [INFO] [stderr] Adding aes-gcm v0.8.0 (available: v0.10.3) [INFO] [stderr] Adding aes-soft v0.6.4 (available: v0.99.99) [INFO] [stderr] Adding aesni v0.10.0 (available: v0.99.99) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bitvec v0.19.6 (available: v1.0.1) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding cipher v0.2.5 (available: v0.4.4) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding cpuid-bool v0.2.0 (available: v0.99.99) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding crypto-mac v0.10.1 (available: v0.11.1) [INFO] [stderr] Adding ctr v0.6.0 (available: v0.9.2) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding fiat-crypto v0.1.20 (available: v0.2.9) [INFO] [stderr] Adding funty v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding ghash v0.3.1 (available: v0.5.1) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hkdf v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding hmac v0.10.1 (available: v0.12.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding polyval v0.4.5 (available: v0.6.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding proptest-derive v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding radium v0.5.3 (available: v1.1.0) [INFO] [stderr] Adding ripemd160 v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding serde-name v0.1.2 (available: v0.2.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding universal-hash v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wyz v0.2.0 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bdaa3204221096a778d065790e5da5d15f076c114cc04e5cdd3740039bf0adc [INFO] running `Command { std: "docker" "start" "-a" "2bdaa3204221096a778d065790e5da5d15f076c114cc04e5cdd3740039bf0adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bdaa3204221096a778d065790e5da5d15f076c114cc04e5cdd3740039bf0adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdaa3204221096a778d065790e5da5d15f076c114cc04e5cdd3740039bf0adc", kill_on_drop: false }` [INFO] [stdout] 2bdaa3204221096a778d065790e5da5d15f076c114cc04e5cdd3740039bf0adc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab17dbbdc624477f84208603ac31c6732e18db83eb7a599ab79d929388239594 [INFO] running `Command { std: "docker" "start" "-a" "ab17dbbdc624477f84208603ac31c6732e18db83eb7a599ab79d929388239594", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking fiat-crypto v0.1.20 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling diem-crypto-derive v0.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking serde-name v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking curve25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking ed25519-dalek-fiat v0.1.0 [INFO] [stderr] Checking x25519-dalek-fiat v0.1.0 [INFO] [stderr] Checking diem-crypto v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(mirai, allow(incomplete_features), feature(const_generics))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` to the top of the `build.rs` [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 name: `mirai` [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/lib.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(all(mirai, not(debug_assertions)))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/ed25519.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/ed25519.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(mirai))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `batch` [INFO] [stdout] --> src/ed25519.rs:450:11 [INFO] [stdout] | [INFO] [stdout] 450 | #[cfg(feature = "batch")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `assert-private-keys-not-cloneable`, `cloneable-private-keys`, `default`, `fiat`, `fuzzing`, `proptest`, `proptest-derive`, `u32`, and `u64` [INFO] [stdout] = help: consider adding `batch` 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: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(not(mirai))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(mirai, allow(incomplete_features), feature(const_generics))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` to the top of the `build.rs` [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 name: `mirai` [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/lib.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(all(mirai, not(debug_assertions)))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/ed25519.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/ed25519.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(mirai))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `batch` [INFO] [stdout] --> src/ed25519.rs:450:11 [INFO] [stdout] | [INFO] [stdout] 450 | #[cfg(feature = "batch")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `assert-private-keys-not-cloneable`, `cloneable-private-keys`, `default`, `fiat`, `fuzzing`, `proptest`, `proptest-derive`, `u32`, and `u64` [INFO] [stdout] = help: consider adding `batch` 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: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(mirai)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(not(mirai))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `miri` [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(mirai)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mirai)");` 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: unused import: `Signature` [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | use ed25519_dalek::ed25519::signature::{Signature as _, Verifier as _}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `InitiatorHandshakeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/unit_tests/noise_test.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 23 | let initiator = NoiseConfig::new(initiator_private); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let responder = NoiseConfig::new(responder_private); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let initiator_state = initiator [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `InitiatorHandshakeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/unit_tests/noise_test.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 181 | let initiator = NoiseConfig::new(initiator_private); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let responder = NoiseConfig::new(responder_private); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let initiator_state = initiator [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hash.rs:125:51 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_HashValue` [INFO] [stdout] 126 | pub struct HashValue { [INFO] [stdout] | --------- `HashValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an associated function [INFO] [stdout] --> src/hash.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / pub fn from_iter_sha3<'a, I>(buffers: I) -> Self [INFO] [stdout] 187 | | where [INFO] [stdout] 188 | | I: IntoIterator, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/x25519.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PublicKey` [INFO] [stdout] 78 | pub struct PublicKey([u8; PUBLIC_KEY_SIZE]); [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diem-crypto` (lib test) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ab17dbbdc624477f84208603ac31c6732e18db83eb7a599ab79d929388239594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab17dbbdc624477f84208603ac31c6732e18db83eb7a599ab79d929388239594", kill_on_drop: false }` [INFO] [stdout] ab17dbbdc624477f84208603ac31c6732e18db83eb7a599ab79d929388239594