[INFO] fetching crate zero-bls12-381 0.1.11... [INFO] building zero-bls12-381-0.1.11 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate zero-bls12-381 0.1.11 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate zero-bls12-381 0.1.11 [INFO] finished tweaking crates.io crate zero-bls12-381 0.1.11 [INFO] tweaked toml for crates.io crate zero-bls12-381 0.1.11 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zero-bls12-381 0.1.11 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded zero-crypto v0.1.11 [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded proptest v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 565e26285dd79ca0e80321e2543028f38ab951b29f7716ad93dd6245d3cb5e8a [INFO] running `Command { std: "docker" "start" "-a" "565e26285dd79ca0e80321e2543028f38ab951b29f7716ad93dd6245d3cb5e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "565e26285dd79ca0e80321e2543028f38ab951b29f7716ad93dd6245d3cb5e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565e26285dd79ca0e80321e2543028f38ab951b29f7716ad93dd6245d3cb5e8a", kill_on_drop: false }` [INFO] [stdout] 565e26285dd79ca0e80321e2543028f38ab951b29f7716ad93dd6245d3cb5e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48addd8c2f3ac7c5ef087ab99a436e7de0e5fb04c8372ba13d19e691e9ae07df [INFO] running `Command { std: "docker" "start" "-a" "48addd8c2f3ac7c5ef087ab99a436e7de0e5fb04c8372ba13d19e691e9ae07df", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling derive-hex v0.1.2 [INFO] [stderr] Compiling dusk-bytes v0.1.7 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling zero-crypto v0.1.11 [INFO] [stderr] Compiling zero-bls12-381 v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.20s [INFO] running `Command { std: "docker" "inspect" "48addd8c2f3ac7c5ef087ab99a436e7de0e5fb04c8372ba13d19e691e9ae07df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48addd8c2f3ac7c5ef087ab99a436e7de0e5fb04c8372ba13d19e691e9ae07df", kill_on_drop: false }` [INFO] [stdout] 48addd8c2f3ac7c5ef087ab99a436e7de0e5fb04c8372ba13d19e691e9ae07df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16260a10a9b991428ee4899e39aa5c39c87e740063df81d496ee8d19ac0f79f8 [INFO] running `Command { std: "docker" "start" "-a" "16260a10a9b991428ee4899e39aa5c39c87e740063df81d496ee8d19ac0f79f8", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling zero-bls12-381 v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/fqn.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/fr.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/g1.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | curve_test!(bls12_381, Fr, G1Affine, G1Projective, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] = note: this error originates in the macro `curve_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/g2.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | curve_test!(bls12_381, Fr, G2Affine, G2Projective, 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] = note: this error originates in the macro `curve_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zero-bls12-381` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "16260a10a9b991428ee4899e39aa5c39c87e740063df81d496ee8d19ac0f79f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16260a10a9b991428ee4899e39aa5c39c87e740063df81d496ee8d19ac0f79f8", kill_on_drop: false }` [INFO] [stdout] 16260a10a9b991428ee4899e39aa5c39c87e740063df81d496ee8d19ac0f79f8