[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#d98a5da813da67eb189387b8ccfb73cf481275d8+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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marventu94/codecrafters-bittorrent-rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.4 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded thiserror v1.0.38 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded clap v4.3.22 [INFO] [stderr] Downloaded anyhow v1.0.68 [INFO] [stderr] Downloaded cc v1.0.82 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded clap_builder v4.3.22 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded serde_bencode v0.2.3 [INFO] [stderr] Downloaded syn v1.0.48 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded thiserror-impl v1.0.38 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.4 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e2420cd31e56228b3560058b364a7db1b8d6b721902ae50e18f6d24b82a5c0b [INFO] running `Command { std: "docker" "start" "-a" "5e2420cd31e56228b3560058b364a7db1b8d6b721902ae50e18f6d24b82a5c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e2420cd31e56228b3560058b364a7db1b8d6b721902ae50e18f6d24b82a5c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e2420cd31e56228b3560058b364a7db1b8d6b721902ae50e18f6d24b82a5c0b", kill_on_drop: false }` [INFO] [stdout] 5e2420cd31e56228b3560058b364a7db1b8d6b721902ae50e18f6d24b82a5c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1574b696b137b382e70eefaf61532a9ccd1074b2f1d740f53ad6a9395564bc21 [INFO] running `Command { std: "docker" "start" "-a" "1574b696b137b382e70eefaf61532a9ccd1074b2f1d740f53ad6a9395564bc21", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling futures-task v0.3.30 [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 futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.29 [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 openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.8.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 clap_builder v4.3.22 [INFO] [stderr] Compiling tempfile v3.7.1 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.1.0 [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 futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 2m 16s [INFO] running `Command { std: "docker" "inspect" "1574b696b137b382e70eefaf61532a9ccd1074b2f1d740f53ad6a9395564bc21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1574b696b137b382e70eefaf61532a9ccd1074b2f1d740f53ad6a9395564bc21", kill_on_drop: false }` [INFO] [stdout] 1574b696b137b382e70eefaf61532a9ccd1074b2f1d740f53ad6a9395564bc21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef0f2b57492da1947304aca2e65e784513ab7e27156464d5ede93f95958d888 [INFO] running `Command { std: "docker" "start" "-a" "fef0f2b57492da1947304aca2e65e784513ab7e27156464d5ede93f95958d888", 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 1.18s [INFO] running `Command { std: "docker" "inspect" "fef0f2b57492da1947304aca2e65e784513ab7e27156464d5ede93f95958d888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef0f2b57492da1947304aca2e65e784513ab7e27156464d5ede93f95958d888", kill_on_drop: false }` [INFO] [stdout] fef0f2b57492da1947304aca2e65e784513ab7e27156464d5ede93f95958d888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52c5b089e5106083432924e35d87e1520616ece67287b92f52dd62c8027a650b [INFO] running `Command { std: "docker" "start" "-a" "52c5b089e5106083432924e35d87e1520616ece67287b92f52dd62c8027a650b", 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.15s [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" "52c5b089e5106083432924e35d87e1520616ece67287b92f52dd62c8027a650b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c5b089e5106083432924e35d87e1520616ece67287b92f52dd62c8027a650b", kill_on_drop: false }` [INFO] [stdout] 52c5b089e5106083432924e35d87e1520616ece67287b92f52dd62c8027a650b