[INFO] fetching crate doughnut-rs 0.2.2... [INFO] testing doughnut-rs-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate doughnut-rs 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate doughnut-rs 0.2.2 [INFO] finished tweaking crates.io crate doughnut-rs 0.2.2 [INFO] tweaked toml for crates.io crate doughnut-rs 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate doughnut-rs 0.2.2 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 100 packages to latest compatible versions [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.9.3) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 58f57d31ebd50fc188f9a3674ed2aa40d164f7c0a40cc3b1606b713a14e2c576 [INFO] running `Command { std: "docker" "start" "-a" "58f57d31ebd50fc188f9a3674ed2aa40d164f7c0a40cc3b1606b713a14e2c576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f57d31ebd50fc188f9a3674ed2aa40d164f7c0a40cc3b1606b713a14e2c576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f57d31ebd50fc188f9a3674ed2aa40d164f7c0a40cc3b1606b713a14e2c576", kill_on_drop: false }` [INFO] [stdout] 58f57d31ebd50fc188f9a3674ed2aa40d164f7c0a40cc3b1606b713a14e2c576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 859e21202b3573149167d6d59aa4ddff75c8c846068aad9b370debf85390cd96 [INFO] running `Command { std: "docker" "start" "-a" "859e21202b3573149167d6d59aa4ddff75c8c846068aad9b370debf85390cd96", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling trn-pact v0.2.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling doughnut-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | hash.copy_from_slice(Blake2b256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | output.copy_from_slice(sha3::Keccak256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.95s [INFO] running `Command { std: "docker" "inspect" "859e21202b3573149167d6d59aa4ddff75c8c846068aad9b370debf85390cd96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "859e21202b3573149167d6d59aa4ddff75c8c846068aad9b370debf85390cd96", kill_on_drop: false }` [INFO] [stdout] 859e21202b3573149167d6d59aa4ddff75c8c846068aad9b370debf85390cd96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 666e106474eaa4c03840b7fb87510b93a42c450a0f7da4bdb25ca5ff61edfa73 [INFO] running `Command { std: "docker" "start" "-a" "666e106474eaa4c03840b7fb87510b93a42c450a0f7da4bdb25ca5ff61edfa73", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | hash.copy_from_slice(Blake2b256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | output.copy_from_slice(sha3::Keccak256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling doughnut-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] --> src/signature.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | use sp_core::{ecdsa::Pair as ECDSAKeyPair, Pair}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/signature.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | use sp_core::{ecdsa::Pair as ECDSAKeyPair, Pair}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | hash.copy_from_slice(Blake2b256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `blake2::digest::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/signature.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | output.copy_from_slice(sha3::Keccak256::digest(data).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/signature.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | ECDSASecretKey::parse(&seed.into()).expect("can not error here"), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `doughnut-rs` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "666e106474eaa4c03840b7fb87510b93a42c450a0f7da4bdb25ca5ff61edfa73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666e106474eaa4c03840b7fb87510b93a42c450a0f7da4bdb25ca5ff61edfa73", kill_on_drop: false }` [INFO] [stdout] 666e106474eaa4c03840b7fb87510b93a42c450a0f7da4bdb25ca5ff61edfa73