[INFO] fetching crate roles_logic_sv2 4.0.0... [INFO] testing roles_logic_sv2-4.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate roles_logic_sv2 4.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate roles_logic_sv2 4.0.0 [INFO] finished tweaking crates.io crate roles_logic_sv2 4.0.0 [INFO] tweaked toml for crates.io crate roles_logic_sv2 4.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate roles_logic_sv2 4.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding hex-conservative v0.3.0 (available: v1.0.0) [INFO] [stderr] Adding primitive-types v0.13.1 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 969570d39b6c16f597c278895db0a122f9ab8bfa78e72fe261df4cb8ff0e3b9f [INFO] running `Command { std: "docker" "start" "-a" "969570d39b6c16f597c278895db0a122f9ab8bfa78e72fe261df4cb8ff0e3b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "969570d39b6c16f597c278895db0a122f9ab8bfa78e72fe261df4cb8ff0e3b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969570d39b6c16f597c278895db0a122f9ab8bfa78e72fe261df4cb8ff0e3b9f", kill_on_drop: false }` [INFO] [stdout] 969570d39b6c16f597c278895db0a122f9ab8bfa78e72fe261df4cb8ff0e3b9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24700b7e8509d66bea081f86daff76b6d938dc06763af9812838e9e8183a50dd [INFO] running `Command { std: "docker" "start" "-a" "24700b7e8509d66bea081f86daff76b6d938dc06763af9812838e9e8183a50dd", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling binary_codec_sv2 v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling derive_codec_sv2 v1.1.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling buffer_sv2 v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling binary_codec_sv2 v3.0.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling hex-conservative v0.3.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling binary_sv2 v4.0.0 [INFO] [stderr] Compiling mining_sv2 v5.0.1 [INFO] [stderr] Compiling job_declaration_sv2 v5.0.1 [INFO] [stderr] Compiling common_messages_sv2 v6.0.1 [INFO] [stderr] Compiling template_distribution_sv2 v4.0.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling noise_sv2 v1.4.0 [INFO] [stderr] Compiling framing_sv2 v5.0.1 [INFO] [stderr] Compiling parsers_sv2 v0.1.1 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling handlers_sv2 v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling codec_sv2 v3.0.1 [INFO] [stderr] Compiling channels_sv2 v1.0.2 [INFO] [stderr] Compiling roles_logic_sv2 v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.55s [INFO] running `Command { std: "docker" "inspect" "24700b7e8509d66bea081f86daff76b6d938dc06763af9812838e9e8183a50dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24700b7e8509d66bea081f86daff76b6d938dc06763af9812838e9e8183a50dd", kill_on_drop: false }` [INFO] [stdout] 24700b7e8509d66bea081f86daff76b6d938dc06763af9812838e9e8183a50dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01f7b6c8b4d138c431509bc0327106cac2b211d1a23d4a79eb998f389b509bd [INFO] running `Command { std: "docker" "start" "-a" "c01f7b6c8b4d138c431509bc0327106cac2b211d1a23d4a79eb998f389b509bd", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling noise_sv2 v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling framing_sv2 v5.0.1 [INFO] [stderr] Compiling parsers_sv2 v0.1.1 [INFO] [stderr] Compiling codec_sv2 v3.0.1 [INFO] [stderr] Compiling handlers_sv2 v0.1.0 [INFO] [stderr] Compiling channels_sv2 v1.0.2 [INFO] [stderr] Compiling roles_logic_sv2 v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/utils.rs:926:13 [INFO] [stdout] | [INFO] [stdout] 926 | toml::from_str(&test_file).expect("Could not parse toml file as `TestBlockToml`"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/utils.rs:950:13 [INFO] [stdout] | [INFO] [stdout] 950 | for p in block.path { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/utils.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | / for p in block.path { [INFO] [stdout] 951 | | let p_vec = decode_hex(&p).expect("Could not decode hex string to `Vec`"); [INFO] [stdout] 952 | | let p_arr: [u8; 32] = p_vec.try_into().expect("Slice is incorrect length"); [INFO] [stdout] 953 | | let p_u256: U256 = (p_arr).into(); [INFO] [stdout] 954 | | path_vec.push(p_u256); [INFO] [stdout] 955 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::None` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/option.rs:598:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/utils.rs:950:18 [INFO] [stdout] | [INFO] [stdout] 950 | for p in block.path { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/option.rs:594:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roles_logic_sv2` (lib test) due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c01f7b6c8b4d138c431509bc0327106cac2b211d1a23d4a79eb998f389b509bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01f7b6c8b4d138c431509bc0327106cac2b211d1a23d4a79eb998f389b509bd", kill_on_drop: false }` [INFO] [stdout] c01f7b6c8b4d138c431509bc0327106cac2b211d1a23d4a79eb998f389b509bd