[INFO] fetching crate roles_logic_sv2 3.0.0... [INFO] building roles_logic_sv2-3.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate roles_logic_sv2 3.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate roles_logic_sv2 3.0.0 [INFO] finished tweaking crates.io crate roles_logic_sv2 3.0.0 [INFO] tweaked toml for crates.io crate roles_logic_sv2 3.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate roles_logic_sv2 3.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate roles_logic_sv2 3.0.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mining_sv2 v4.0.0 [INFO] [stderr] Downloaded framing_sv2 v5.0.0 [INFO] [stderr] Downloaded noise_sv2 v1.4.0 [INFO] [stderr] Downloaded codec_sv2 v2.1.0 [INFO] [stderr] Downloaded hex-conservative v0.3.0 [INFO] [stderr] Downloaded binary_codec_sv2 v1.2.0 [INFO] [stderr] Downloaded common_messages_sv2 v5.0.0 [INFO] [stderr] Downloaded job_declaration_sv2 v4.0.0 [INFO] [stderr] Downloaded binary_sv2 v3.0.0 [INFO] [stderr] Downloaded derive_codec_sv2 v1.1.1 [INFO] [stderr] Downloaded template_distribution_sv2 v3.1.0 [INFO] [stderr] Downloaded buffer_sv2 v2.0.0 [INFO] [stderr] Downloaded binary_codec_sv2 v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fb4d1041b020bf809d9745318321ae26b272db35cd8441440bc492d87e4524e [INFO] running `Command { std: "docker" "start" "-a" "4fb4d1041b020bf809d9745318321ae26b272db35cd8441440bc492d87e4524e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fb4d1041b020bf809d9745318321ae26b272db35cd8441440bc492d87e4524e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb4d1041b020bf809d9745318321ae26b272db35cd8441440bc492d87e4524e", kill_on_drop: false }` [INFO] [stdout] 4fb4d1041b020bf809d9745318321ae26b272db35cd8441440bc492d87e4524e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea462eb793b3d91fbd2cc988205bafd743e6b9fe3cdc23f439103078ccad8687 [INFO] running `Command { std: "docker" "start" "-a" "ea462eb793b3d91fbd2cc988205bafd743e6b9fe3cdc23f439103078ccad8687", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling binary_codec_sv2 v1.2.0 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling hex-conservative v0.3.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling derive_codec_sv2 v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling buffer_sv2 v2.0.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling binary_codec_sv2 v2.0.0 [INFO] [stderr] Compiling binary_sv2 v3.0.0 [INFO] [stderr] Compiling mining_sv2 v4.0.0 [INFO] [stderr] Compiling template_distribution_sv2 v3.1.0 [INFO] [stderr] Compiling job_declaration_sv2 v4.0.0 [INFO] [stderr] Compiling common_messages_sv2 v5.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling noise_sv2 v1.4.0 [INFO] [stderr] Compiling framing_sv2 v5.0.0 [INFO] [stderr] Compiling codec_sv2 v2.1.0 [INFO] [stderr] Compiling roles_logic_sv2 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel_logic/channel_factory.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 963 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 963 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.49s [INFO] running `Command { std: "docker" "inspect" "ea462eb793b3d91fbd2cc988205bafd743e6b9fe3cdc23f439103078ccad8687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea462eb793b3d91fbd2cc988205bafd743e6b9fe3cdc23f439103078ccad8687", kill_on_drop: false }` [INFO] [stdout] ea462eb793b3d91fbd2cc988205bafd743e6b9fe3cdc23f439103078ccad8687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7567cd8dcb67dc4fc1e19ffca295cc2cc7b6e31263dd6b944905c817566d769 [INFO] running `Command { std: "docker" "start" "-a" "f7567cd8dcb67dc4fc1e19ffca295cc2cc7b6e31263dd6b944905c817566d769", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [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 framing_sv2 v5.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling codec_sv2 v2.1.0 [INFO] [stderr] Compiling roles_logic_sv2 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel_logic/channel_factory.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 963 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 963 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:597: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/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:593:1 [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `roles_logic_sv2` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "f7567cd8dcb67dc4fc1e19ffca295cc2cc7b6e31263dd6b944905c817566d769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7567cd8dcb67dc4fc1e19ffca295cc2cc7b6e31263dd6b944905c817566d769", kill_on_drop: false }` [INFO] [stdout] f7567cd8dcb67dc4fc1e19ffca295cc2cc7b6e31263dd6b944905c817566d769