[INFO] cloning repository https://github.com/marventu94/codecrafters-bittorrent-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marventu94/codecrafters-bittorrent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarventu94%2Fcodecrafters-bittorrent-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarventu94%2Fcodecrafters-bittorrent-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fee33c1896effcb5570b5d4e4afcad9acbce13a8
[INFO] testing marventu94/codecrafters-bittorrent-rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarventu94%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/marventu94/codecrafters-bittorrent-rust
[INFO] finished tweaking git repo https://github.com/marventu94/codecrafters-bittorrent-rust
[INFO] tweaked toml for git repo https://github.com/marventu94/codecrafters-bittorrent-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/marventu94/codecrafters-bittorrent-rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/marventu94/codecrafters-bittorrent-rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9febe228a7f8cd8a7fb984a00f5fcfa49fb3e3b496b1e33b1debd1e68626152e
[INFO] running `Command { std: "docker" "start" "-a" "9febe228a7f8cd8a7fb984a00f5fcfa49fb3e3b496b1e33b1debd1e68626152e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9febe228a7f8cd8a7fb984a00f5fcfa49fb3e3b496b1e33b1debd1e68626152e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9febe228a7f8cd8a7fb984a00f5fcfa49fb3e3b496b1e33b1debd1e68626152e", kill_on_drop: false }`
[INFO] [stdout] 9febe228a7f8cd8a7fb984a00f5fcfa49fb3e3b496b1e33b1debd1e68626152e
[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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef58bb6c6357974804d7d45fd45282285027f3b787689c5d80ef87d626ee69d0
[INFO] running `Command { std: "docker" "start" "-a" "ef58bb6c6357974804d7d45fd45282285027f3b787689c5d80ef87d626ee69d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling rustix v0.38.8
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling openssl v0.10.56
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling anstyle v1.0.1
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling clap_lex v0.5.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling serde_bencode v0.2.3
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling tempfile v3.7.1
[INFO] [stderr]    Compiling clap_builder v4.3.22
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling regex-automata v0.3.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.3.12
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling clap v4.3.22
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling h2 v0.3.20
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/./peer_messages_mod.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct PiecePayload2 {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 133 |     pub index: u32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PiecePayload2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.05s
[INFO] running `Command { std: "docker" "inspect" "ef58bb6c6357974804d7d45fd45282285027f3b787689c5d80ef87d626ee69d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef58bb6c6357974804d7d45fd45282285027f3b787689c5d80ef87d626ee69d0", kill_on_drop: false }`
[INFO] [stdout] ef58bb6c6357974804d7d45fd45282285027f3b787689c5d80ef87d626ee69d0
[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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d11fec492dd221940f8b84911407cf55193f3bfd388a761371c1011d125c525
[INFO] running `Command { std: "docker" "start" "-a" "0d11fec492dd221940f8b84911407cf55193f3bfd388a761371c1011d125c525", kill_on_drop: false }`
[INFO] [stderr]    Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/./peer_messages_mod.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct PiecePayload2 {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 133 |     pub index: u32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PiecePayload2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "0d11fec492dd221940f8b84911407cf55193f3bfd388a761371c1011d125c525", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d11fec492dd221940f8b84911407cf55193f3bfd388a761371c1011d125c525", kill_on_drop: false }`
[INFO] [stdout] 0d11fec492dd221940f8b84911407cf55193f3bfd388a761371c1011d125c525
[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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9a258227b02b16c7b4d55e2f1ded17a1b8c790cc1710a69615df1bedfa0820ff
[INFO] running `Command { std: "docker" "start" "-a" "9a258227b02b16c7b4d55e2f1ded17a1b8c790cc1710a69615df1bedfa0820ff", kill_on_drop: false }`
[INFO] [stderr] warning: field `index` is never read
[INFO] [stderr]    --> src/./peer_messages_mod.rs:133:9
[INFO] [stderr]     |
[INFO] [stderr] 132 | pub struct PiecePayload2 {
[INFO] [stderr]     |            ------------- field in this struct
[INFO] [stderr] 133 |     pub index: u32,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `PiecePayload2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `bittorrent-starter-rust` (bin "bittorrent-starter-rust" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bittorrent_starter_rust-3d7fc970f18aac6d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9a258227b02b16c7b4d55e2f1ded17a1b8c790cc1710a69615df1bedfa0820ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a258227b02b16c7b4d55e2f1ded17a1b8c790cc1710a69615df1bedfa0820ff", kill_on_drop: false }`
[INFO] [stdout] 9a258227b02b16c7b4d55e2f1ded17a1b8c790cc1710a69615df1bedfa0820ff
