[INFO] fetching crate hpke 0.14.0-pre.2... [INFO] testing hpke-0.14.0-pre.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate hpke 0.14.0-pre.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hpke 0.14.0-pre.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hpke 0.14.0-pre.2 [INFO] tweaked toml for crates.io crate hpke 0.14.0-pre.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hpke 0.14.0-pre.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hpke 0.14.0-pre.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 587239229ed30cb400b78e35453abdef1ef833d31cb8ef6f564e115b59325c09 [INFO] running `Command { std: "docker" "start" "-a" "587239229ed30cb400b78e35453abdef1ef833d31cb8ef6f564e115b59325c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "587239229ed30cb400b78e35453abdef1ef833d31cb8ef6f564e115b59325c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587239229ed30cb400b78e35453abdef1ef833d31cb8ef6f564e115b59325c09", kill_on_drop: false }` [INFO] [stdout] 587239229ed30cb400b78e35453abdef1ef833d31cb8ef6f564e115b59325c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02def8df4eb163411cd22dd5e1dcde4fb672ce9ba685f8ea3d03b0ecba709068 [INFO] running `Command { std: "docker" "start" "-a" "02def8df4eb163411cd22dd5e1dcde4fb672ce9ba685f8ea3d03b0ecba709068", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling cpubits v0.1.0 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling keccak v0.2.0-rc.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling hybrid-array v0.4.7 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.15 [INFO] [stderr] Compiling block-buffer v0.11.0 [INFO] [stderr] Compiling inout v0.2.2 [INFO] [stderr] Compiling cipher v0.5.0-rc.8 [INFO] [stderr] Compiling universal-hash v0.6.0-rc.10 [INFO] [stderr] Compiling digest v0.11.0-rc.11 [INFO] [stderr] Compiling aead v0.6.0-rc.10 [INFO] [stderr] Compiling polyval v0.7.0-rc.7 [INFO] [stderr] Compiling poly1305 v0.9.0-rc.5 [INFO] [stderr] Compiling hmac v0.13.0-rc.5 [INFO] [stderr] Compiling sha2 v0.11.0-rc.5 [INFO] [stderr] Compiling sha3 v0.11.0-rc.7 [INFO] [stderr] Compiling hkdf v0.13.0-rc.5 [INFO] [stderr] Compiling ghash v0.6.0-rc.5 [INFO] [stderr] Compiling chacha20 v0.10.0-rc.10 [INFO] [stderr] Compiling aes v0.9.0-rc.4 [INFO] [stderr] Compiling ctr v0.10.0-rc.3 [INFO] [stderr] Compiling chacha20poly1305 v0.11.0-rc.3 [INFO] [stderr] Compiling aes-gcm v0.11.0-rc.3 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling hpke v0.14.0-pre.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.24s [INFO] running `Command { std: "docker" "inspect" "02def8df4eb163411cd22dd5e1dcde4fb672ce9ba685f8ea3d03b0ecba709068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02def8df4eb163411cd22dd5e1dcde4fb672ce9ba685f8ea3d03b0ecba709068", kill_on_drop: false }` [INFO] [stdout] 02def8df4eb163411cd22dd5e1dcde4fb672ce9ba685f8ea3d03b0ecba709068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bc34957a9e3ece2d6fd1e82054cd015d669c15c7c64bd3325122a5d60d42553 [INFO] running `Command { std: "docker" "start" "-a" "7bc34957a9e3ece2d6fd1e82054cd015d669c15c7c64bd3325122a5d60d42553", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.38 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.57 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling hex-literal v1.1.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling clap v4.5.57 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling hpke v0.14.0-pre.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/test_util.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::{Rng, RngExt}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/test_util.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/test_util.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/test_util.rs:82:65 [INFO] [stdout] | [INFO] [stdout] 82 | let (sk_sender, pk_sender) = Kem::gen_keypair_with_rng(&mut rand::rng()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/test_util.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/dhkex/ecdh_nistp.rs:423:26 [INFO] [stdout] | [INFO] [stdout] 423 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/dhkex/ecdh_nistp.rs:460:26 [INFO] [stdout] | [INFO] [stdout] 460 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/dhkex/x25519.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/dhkex/x25519.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/kem.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 240 | test_encap_correctness!(test_encap_correctness_x25519, crate::kem::X25519HkdfSha256); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_encap_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/kem.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 241 | test_encapped_serialize!(test_encapped_serialize_x25519, crate::kem::X25519HkdfSha256); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_encapped_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/kem.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 248 | test_encap_correctness!(test_encap_correctness_p256, crate::kem::DhP256HkdfSha256); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_encap_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/kem.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 249 | test_encapped_serialize!(test_encapped_serialize_p256, crate::kem::DhP256HkdfSha256); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_encapped_serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/setup.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 336 | / test_setup_correctness!( [INFO] [stdout] 337 | | test_setup_correctness_x25519, [INFO] [stdout] 338 | | ChaCha20Poly1305, [INFO] [stdout] 339 | | HkdfSha256, [INFO] [stdout] 340 | | crate::kem::x25519_hkdfsha256::X25519HkdfSha256 [INFO] [stdout] 341 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_setup_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/setup.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 342 | / test_setup_soundness!( [INFO] [stdout] 343 | | test_setup_soundness_x25519, [INFO] [stdout] 344 | | ChaCha20Poly1305, [INFO] [stdout] 345 | | HkdfSha256, [INFO] [stdout] 346 | | crate::kem::x25519_hkdfsha256::X25519HkdfSha256 [INFO] [stdout] 347 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_setup_soundness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/setup.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 354 | / test_setup_correctness!( [INFO] [stdout] 355 | | test_setup_correctness_p256, [INFO] [stdout] 356 | | ChaCha20Poly1305, [INFO] [stdout] 357 | | HkdfSha256, [INFO] [stdout] 358 | | crate::kem::dhp256_hkdfsha256::DhP256HkdfSha256 [INFO] [stdout] 359 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_setup_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/setup.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 360 | / test_setup_soundness!( [INFO] [stdout] 361 | | test_setup_soundness_p256, [INFO] [stdout] 362 | | ChaCha20Poly1305, [INFO] [stdout] 363 | | HkdfSha256, [INFO] [stdout] 364 | | crate::kem::dhp256_hkdfsha256::DhP256HkdfSha256 [INFO] [stdout] 365 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_setup_soundness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/single_shot.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 308 | / test_single_shot_correctness!( [INFO] [stdout] 309 | | test_single_shot_correctness_x25519, [INFO] [stdout] 310 | | ChaCha20Poly1305, [INFO] [stdout] 311 | | crate::kdf::HkdfSha256, [INFO] [stdout] 312 | | crate::kem::x25519_hkdfsha256::X25519HkdfSha256, [INFO] [stdout] 313 | | true [INFO] [stdout] 314 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_single_shot_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/single_shot.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | let mut csprng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] ... [INFO] [stdout] 317 | / test_single_shot_correctness!( [INFO] [stdout] 318 | | test_single_shot_correctness_p256, [INFO] [stdout] 319 | | ChaCha20Poly1305, [INFO] [stdout] 320 | | crate::kdf::HkdfSha256, [INFO] [stdout] 321 | | crate::kem::dhp256_hkdfsha256::DhP256HkdfSha256, [INFO] [stdout] 322 | | true [INFO] [stdout] 323 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_single_shot_correctness` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hpke` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "7bc34957a9e3ece2d6fd1e82054cd015d669c15c7c64bd3325122a5d60d42553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc34957a9e3ece2d6fd1e82054cd015d669c15c7c64bd3325122a5d60d42553", kill_on_drop: false }` [INFO] [stdout] 7bc34957a9e3ece2d6fd1e82054cd015d669c15c7c64bd3325122a5d60d42553