[INFO] fetching crate forest_crypto 0.2.1... [INFO] testing forest_crypto-0.2.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate forest_crypto 0.2.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate forest_crypto 0.2.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate forest_crypto 0.2.1 [INFO] finished tweaking crates.io crate forest_crypto 0.2.1 [INFO] tweaked toml for crates.io crate forest_crypto 0.2.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2e63a78115f5dfae1ed695d9548f859080a672a3b0cd37b605f7161ba4dd2b0e [INFO] running `Command { std: "docker" "start" "-a" "2e63a78115f5dfae1ed695d9548f859080a672a3b0cd37b605f7161ba4dd2b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e63a78115f5dfae1ed695d9548f859080a672a3b0cd37b605f7161ba4dd2b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e63a78115f5dfae1ed695d9548f859080a672a3b0cd37b605f7161ba4dd2b0e", kill_on_drop: false }` [INFO] [stdout] 2e63a78115f5dfae1ed695d9548f859080a672a3b0cd37b605f7161ba4dd2b0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9ef0acef3de148defe0f9eed7b616ebc1fcecad86c647265dac3c2973a3d4df [INFO] running `Command { std: "docker" "start" "-a" "d9ef0acef3de148defe0f9eed7b616ebc1fcecad86c647265dac3c2973a3d4df", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling integer-encoding v1.1.5 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling fff v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling multihash v0.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling sha2ni v0.8.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.8 [INFO] [stderr] Compiling fff_derive v0.2.2 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.8 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling forest_cid v0.1.0 [INFO] [stderr] Compiling groupy v0.3.1 [INFO] [stderr] Compiling paired v0.20.0 [INFO] [stderr] Compiling bls-signatures v0.6.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_tuple v0.5.0 [INFO] [stderr] Compiling forest_encoding v0.1.1 [INFO] [stderr] Compiling forest_address v0.2.0 [INFO] [stderr] Compiling forest_crypto v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "d9ef0acef3de148defe0f9eed7b616ebc1fcecad86c647265dac3c2973a3d4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ef0acef3de148defe0f9eed7b616ebc1fcecad86c647265dac3c2973a3d4df", kill_on_drop: false }` [INFO] [stdout] d9ef0acef3de148defe0f9eed7b616ebc1fcecad86c647265dac3c2973a3d4df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67d751b12ca2fbe06285b026d62333a74e0586f3b0b79a225296b606962a344e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "67d751b12ca2fbe06285b026d62333a74e0586f3b0b79a225296b606962a344e", kill_on_drop: false }` [INFO] [stderr] Compiling forest_crypto v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::mock::StepRng: rand::CryptoRng` is not satisfied [INFO] [stdout] --> src/signature.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | let sk = PrivateKey::generate(rng); [INFO] [stdout] | ^^^ the trait `rand::CryptoRng` is not implemented for `rand::rngs::mock::StepRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bls-signatures-0.6.1/src/key.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn generate(rng: &mut R) -> Self { [INFO] [stdout] | --------- required by this bound in `bls_signatures::PrivateKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::mock::StepRng: rand::CryptoRng` is not satisfied [INFO] [stdout] --> src/signature.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 249 | (0..num_sigs).map(|_| PrivateKey::generate(rng)).collect(); [INFO] [stdout] | ^^^ the trait `rand::CryptoRng` is not implemented for `rand::rngs::mock::StepRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bls-signatures-0.6.1/src/key.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn generate(rng: &mut R) -> Self { [INFO] [stdout] | --------- required by this bound in `bls_signatures::PrivateKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/signature.rs:265:71 [INFO] [stdout] | [INFO] [stdout] 265 | Signature::new_bls(bls_signatures::aggregate(&signatures).as_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forest_crypto`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "67d751b12ca2fbe06285b026d62333a74e0586f3b0b79a225296b606962a344e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67d751b12ca2fbe06285b026d62333a74e0586f3b0b79a225296b606962a344e", kill_on_drop: false }` [INFO] [stdout] 67d751b12ca2fbe06285b026d62333a74e0586f3b0b79a225296b606962a344e