[INFO] fetching crate diem-crypto 0.0.3... [INFO] testing diem-crypto-0.0.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate diem-crypto 0.0.3 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diem-crypto 0.0.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding aes-gcm v0.8.0 (available: v0.10.3) [INFO] [stderr] Adding bitvec v0.19.6 (available: v1.0.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding hkdf v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding proptest-derive v0.3.0 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [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.9) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3da2cc6415f8822eb65432226c23b478f8097968bac8d44f945cf7f348c6df91 [INFO] running `Command { std: "docker" "start" "-a" "3da2cc6415f8822eb65432226c23b478f8097968bac8d44f945cf7f348c6df91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3da2cc6415f8822eb65432226c23b478f8097968bac8d44f945cf7f348c6df91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da2cc6415f8822eb65432226c23b478f8097968bac8d44f945cf7f348c6df91", kill_on_drop: false }` [INFO] [stdout] 3da2cc6415f8822eb65432226c23b478f8097968bac8d44f945cf7f348c6df91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 184222b2cffd1843dc3d7195bba33d45fd5aad7543c4a821ce780545ccb43870 [INFO] running `Command { std: "docker" "start" "-a" "184222b2cffd1843dc3d7195bba33d45fd5aad7543c4a821ce780545ccb43870", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fiat-crypto v0.1.20 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling diem-crypto-derive v0.0.3 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling x25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling bcs v0.1.6 [INFO] [stderr] Compiling serde-name v0.1.2 [INFO] [stderr] Compiling ed25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling 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 name: `mirai` [INFO] [stdout] --> src/ed25519.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | add_tag!(&public_key, ValidatedPublicKeyTag); // This key has gone through validity checks. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ed25519.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | assume!(index < Self::LENGTH_IN_BITS); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | assume!(index < Self::LENGTH * 2); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | assume!(index < self.pos.end); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | assume!(self.hash_bytes.len() == HashValue::LENGTH); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | assume!(self.pos.end == self.hash_bytes.len() * 8); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | add_tag!(&public_key, ValidatedPublicKeyTag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | generic_array::GenericArray, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn finalize_into(self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | fn finalize_into_reset(&mut self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated crate `digest::generic_array`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | D::BlockSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | D::BlockSize: ArrayLength + Clone, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | aead::{generic_array::GenericArray, Aead, AeadInPlace, NewAead, Payload}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:35 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:35 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:35 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:21 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:35 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:21 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:49 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:49 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:49 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:49 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:35 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:49 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:35 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:49 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:35 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:48 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "184222b2cffd1843dc3d7195bba33d45fd5aad7543c4a821ce780545ccb43870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184222b2cffd1843dc3d7195bba33d45fd5aad7543c4a821ce780545ccb43870", kill_on_drop: false }` [INFO] [stdout] 184222b2cffd1843dc3d7195bba33d45fd5aad7543c4a821ce780545ccb43870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7750ae8cb4fe7edf74d1f625da1ab59118f49ec0a47325acb7e043f551cce7ac [INFO] running `Command { std: "docker" "start" "-a" "7750ae8cb4fe7edf74d1f625da1ab59118f49ec0a47325acb7e043f551cce7ac", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling x25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde-name v0.1.2 [INFO] [stderr] Compiling bcs v0.1.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ed25519-dalek-fiat v0.1.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling diem-crypto v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.12.2 [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 name: `mirai` [INFO] [stdout] --> src/ed25519.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | add_tag!(&public_key, ValidatedPublicKeyTag); // This key has gone through validity checks. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ed25519.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | assume!(index < Self::LENGTH_IN_BITS); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | assume!(index < Self::LENGTH * 2); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | assume!(index < self.pos.end); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | assume!(self.hash_bytes.len() == HashValue::LENGTH); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | assume!(self.pos.end == self.hash_bytes.len() * 8); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | add_tag!(&public_key, ValidatedPublicKeyTag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | generic_array::GenericArray, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn finalize_into(self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | fn finalize_into_reset(&mut self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated crate `digest::generic_array`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | D::BlockSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | D::BlockSize: ArrayLength + Clone, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | aead::{generic_array::GenericArray, Aead, AeadInPlace, NewAead, Payload}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:35 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:35 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:35 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:21 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:35 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:21 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:49 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:49 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:49 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:49 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:35 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:49 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:35 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:49 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:35 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:48 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling proptest-derive v0.3.0 [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 name: `mirai` [INFO] [stdout] --> src/ed25519.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | add_tag!(&public_key, ValidatedPublicKeyTag); // This key has gone through validity checks. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ed25519.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/ed25519.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 433 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | assume!(index < Self::LENGTH_IN_BITS); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | assume!(index < Self::LENGTH * 2); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | assume!(index < self.pos.end); // assumed precondition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | assume!(self.hash_bytes.len() == HashValue::LENGTH); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/hash.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | assume!(self.pos.end == self.hash_bytes.len() * 8); // invariant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `assume` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `assume` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `assume` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | add_tag!(&public_key, ValidatedPublicKeyTag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `add_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `add_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `add_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `precondition` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `precondition` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `precondition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mirai` [INFO] [stdout] --> src/multi_ed25519.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | precondition!(has_tag!(public_key, ValidatedPublicKeyTag)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `has_tag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `has_tag` may come from an old version of the `mirai_annotations` crate, try updating your dependency with `cargo update -p mirai_annotations` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `has_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | generic_array::GenericArray, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn finalize_into(self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/compat.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | fn finalize_into_reset(&mut self, out: &mut GenericArray) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated crate `digest::generic_array`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | generic_array::{self, ArrayLength}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | D::BlockSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | D::BlockSize: ArrayLength + Clone, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `digest::generic_array::ArrayLength`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/hkdf.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | D::OutputSize: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | aead::{generic_array::GenericArray, Aead, AeadInPlace, NewAead, Payload}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:35 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:35 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:35 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:21 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:35 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:21 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `digest::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:305:49 [INFO] [stdout] | [INFO] [stdout] 305 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:387:49 [INFO] [stdout] | [INFO] [stdout] 387 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:462:49 [INFO] [stdout] | [INFO] [stdout] 462 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 484 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:547:49 [INFO] [stdout] | [INFO] [stdout] 547 | let aead = Aes256Gcm::new(GenericArray::from_slice(&k)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:553:35 [INFO] [stdout] | [INFO] [stdout] 553 | let nonce = GenericArray::from_slice(&[0u8; AES_NONCE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:653:49 [INFO] [stdout] | [INFO] [stdout] 653 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.write_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:656:35 [INFO] [stdout] | [INFO] [stdout] 656 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:692:49 [INFO] [stdout] | [INFO] [stdout] 692 | let aead = Aes256Gcm::new(GenericArray::from_slice(&self.read_key)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:696:35 [INFO] [stdout] | [INFO] [stdout] 696 | let nonce = GenericArray::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/noise.rs:699:48 [INFO] [stdout] | [INFO] [stdout] 699 | let authentication_tag = GenericArray::from_slice(authentication_tag); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/unit_tests/compat_test.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(&expected_output, &output1.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/unit_tests/compat_test.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(&expected_output, &output2.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | output.copy_from_slice(h.finalize().as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | expanded_priv_key.copy_from_slice(h.finalize().as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | output.copy_from_slice(h.finalize().as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen` exists for struct `ThreadRng`, but its trait bounds were not satisfied [INFO] [stdout] --> src/unit_tests/hash_test.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | *byte = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ method cannot be called on `ThreadRng` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- doesn't satisfy `_: RngCore` or `_: Rng` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ThreadRng: _IMPL_ARBITRARY_FOR_HashValue::_proptest::prelude::RngCore` [INFO] [stdout] which is required by `ThreadRng: _IMPL_ARBITRARY_FOR_HashValue::_proptest::prelude::Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use rand::Rng; [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diem-crypto` (lib test) due to 1 previous error; 73 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7750ae8cb4fe7edf74d1f625da1ab59118f49ec0a47325acb7e043f551cce7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7750ae8cb4fe7edf74d1f625da1ab59118f49ec0a47325acb7e043f551cce7ac", kill_on_drop: false }` [INFO] [stdout] 7750ae8cb4fe7edf74d1f625da1ab59118f49ec0a47325acb7e043f551cce7ac