[INFO] cloning repository https://github.com/hamachshev/bittorrent-codecrafters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamachshev/bittorrent-codecrafters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fbittorrent-codecrafters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fbittorrent-codecrafters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e910815420fd63b6c0db59ae04180b3e0c6daf94 [INFO] building hamachshev/bittorrent-codecrafters against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fbittorrent-codecrafters" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamachshev/bittorrent-codecrafters on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamachshev/bittorrent-codecrafters [INFO] finished tweaking git repo https://github.com/hamachshev/bittorrent-codecrafters [INFO] tweaked toml for git repo https://github.com/hamachshev/bittorrent-codecrafters written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hamachshev/bittorrent-codecrafters 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16238dd9bbc65c9c04f470ca98fc60f841ef7ca56393c5f87d5d713396f27498 [INFO] running `Command { std: "docker" "start" "-a" "16238dd9bbc65c9c04f470ca98fc60f841ef7ca56393c5f87d5d713396f27498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16238dd9bbc65c9c04f470ca98fc60f841ef7ca56393c5f87d5d713396f27498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16238dd9bbc65c9c04f470ca98fc60f841ef7ca56393c5f87d5d713396f27498", kill_on_drop: false }` [INFO] [stdout] 16238dd9bbc65c9c04f470ca98fc60f841ef7ca56393c5f87d5d713396f27498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd254d2999080cbbab5f11eba2fc914b446827a42b14bc9abeb5d1c36d609ff [INFO] running `Command { std: "docker" "start" "-a" "fbd254d2999080cbbab5f11eba2fc914b446827a42b14bc9abeb5d1c36d609ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_bencode v0.2.4 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling bittorrent-codecrafters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name`, `plength`, and `pieces` are never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 29 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | #[serde(rename = "piece length")] [INFO] [stdout] 31 | plength: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pieces: Hashes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | MultiFile { files: Vec }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Keys` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `path` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 46 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_bencoded_value` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn decode_bencoded_value(encoded_value: &str) -> (serde_json::Value, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Hashes(pub Vec<[u8; 20]>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Hashes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.76s [INFO] running `Command { std: "docker" "inspect" "fbd254d2999080cbbab5f11eba2fc914b446827a42b14bc9abeb5d1c36d609ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd254d2999080cbbab5f11eba2fc914b446827a42b14bc9abeb5d1c36d609ff", kill_on_drop: false }` [INFO] [stdout] fbd254d2999080cbbab5f11eba2fc914b446827a42b14bc9abeb5d1c36d609ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cbb8531edbc5757829a08db1bc29c1cd8ff6352cbe4a79e1753266bdc3e7d14 [INFO] running `Command { std: "docker" "start" "-a" "9cbb8531edbc5757829a08db1bc29c1cd8ff6352cbe4a79e1753266bdc3e7d14", kill_on_drop: false }` [INFO] [stderr] Compiling bittorrent-codecrafters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name`, `plength`, and `pieces` are never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 29 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | #[serde(rename = "piece length")] [INFO] [stdout] 31 | plength: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pieces: Hashes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | MultiFile { files: Vec }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Keys` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `path` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 46 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_bencoded_value` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn decode_bencoded_value(encoded_value: &str) -> (serde_json::Value, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Hashes(pub Vec<[u8; 20]>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Hashes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "9cbb8531edbc5757829a08db1bc29c1cd8ff6352cbe4a79e1753266bdc3e7d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbb8531edbc5757829a08db1bc29c1cd8ff6352cbe4a79e1753266bdc3e7d14", kill_on_drop: false }` [INFO] [stdout] 9cbb8531edbc5757829a08db1bc29c1cd8ff6352cbe4a79e1753266bdc3e7d14