[INFO] cloning repository https://github.com/SozinM/raft-p2p [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SozinM/raft-p2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSozinM%2Fraft-p2p", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSozinM%2Fraft-p2p'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a34e83bbcf1ac7937686cecd8cbfb097b108345c [INFO] checking SozinM/raft-p2p against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSozinM%2Fraft-p2p" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SozinM/raft-p2p [INFO] finished tweaking git repo https://github.com/SozinM/raft-p2p [INFO] tweaked toml for git repo https://github.com/SozinM/raft-p2p written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SozinM/raft-p2p on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SozinM/raft-p2p 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e2b4da9000668c7902938586223f49cad479a874cfcd8e1aefecbef8b491887 [INFO] running `Command { std: "docker" "start" "-a" "6e2b4da9000668c7902938586223f49cad479a874cfcd8e1aefecbef8b491887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e2b4da9000668c7902938586223f49cad479a874cfcd8e1aefecbef8b491887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2b4da9000668c7902938586223f49cad479a874cfcd8e1aefecbef8b491887", kill_on_drop: false }` [INFO] [stdout] 6e2b4da9000668c7902938586223f49cad479a874cfcd8e1aefecbef8b491887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4900bb7fed982bd33c5d6c4f168fddc26974bdb0c07da462e5ea9353028c22a3 [INFO] running `Command { std: "docker" "start" "-a" "4900bb7fed982bd33c5d6c4f168fddc26974bdb0c07da462e5ea9353028c22a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking libp2p-identity v0.2.8 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking netlink-sys v0.8.5 [INFO] [stderr] Checking yamux v0.13.1 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking netlink-proto v0.10.0 [INFO] [stderr] Checking rtnetlink v0.10.1 [INFO] [stderr] Checking if-watch v3.2.0 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking cbor4ii v0.3.2 [INFO] [stderr] Checking libp2p-core v0.41.2 [INFO] [stderr] Checking libp2p-swarm v0.44.1 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking libp2p-yamux v0.45.1 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-request-response v0.26.1 [INFO] [stderr] Checking libp2p-kad v0.45.3 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking raft-p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::bytes::Buf` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p::bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::bytes::Buf` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p::bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SwarmBuilder>> [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(id_keys) [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | .with_tokio() [INFO] [stdout] 45 | | .with_tcp( [INFO] [stdout] 46 | | tcp::Config::default(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | ), [INFO] [stdout] 62 | | })? [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(id_keys) [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | .with_tokio() [INFO] [stdout] 45 | | .with_tcp( [INFO] [stdout] 46 | | tcp::Config::default(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | ), [INFO] [stdout] 62 | | })? [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-p2p` (bin "raft-p2p" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SwarmBuilder>> [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(id_keys) [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | .with_tokio() [INFO] [stdout] 45 | | .with_tcp( [INFO] [stdout] 46 | | tcp::Config::default(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | ), [INFO] [stdout] 62 | | })? [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(id_keys) [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | .with_tokio() [INFO] [stdout] 45 | | .with_tcp( [INFO] [stdout] 46 | | tcp::Config::default(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | ), [INFO] [stdout] 62 | | })? [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-p2p` (bin "raft-p2p") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4900bb7fed982bd33c5d6c4f168fddc26974bdb0c07da462e5ea9353028c22a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4900bb7fed982bd33c5d6c4f168fddc26974bdb0c07da462e5ea9353028c22a3", kill_on_drop: false }` [INFO] [stdout] 4900bb7fed982bd33c5d6c4f168fddc26974bdb0c07da462e5ea9353028c22a3