[INFO] cloning repository https://github.com/vaporif/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/vaporif/codecrafters-bittorrent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaporif%2Fcodecrafters-bittorrent-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaporif%2Fcodecrafters-bittorrent-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 748c275384deae2c59c6d8d1d189394ca74d769b [INFO] building vaporif/codecrafters-bittorrent-rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaporif%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vaporif/codecrafters-bittorrent-rust [INFO] finished tweaking git repo https://github.com/vaporif/codecrafters-bittorrent-rust [INFO] tweaked toml for git repo https://github.com/vaporif/codecrafters-bittorrent-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vaporif/codecrafters-bittorrent-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vaporif/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded futures-executor v0.3.29 [INFO] [stderr] Downloaded prost-derive v0.12.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded futures-macro v0.3.29 [INFO] [stderr] Downloaded async-trait v0.1.76 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded prost-types v0.12.3 [INFO] [stderr] Downloaded console-subscriber v0.2.0 [INFO] [stderr] Downloaded openssl-sys v0.9.95 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded h2 v0.3.22 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded openssl v0.10.59 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded clap_derive v4.4.7 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded console-api v0.6.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.18 [INFO] [stderr] Downloaded prost v0.12.3 [INFO] [stderr] Downloaded futures v0.3.29 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded serde_bencode v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded tokio v1.34.0 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0c7a7b507c0a3629e36dcfdc33afd5287202de04854cd49188ebf01f9401cd8 [INFO] running `Command { std: "docker" "start" "-a" "f0c7a7b507c0a3629e36dcfdc33afd5287202de04854cd49188ebf01f9401cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0c7a7b507c0a3629e36dcfdc33afd5287202de04854cd49188ebf01f9401cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c7a7b507c0a3629e36dcfdc33afd5287202de04854cd49188ebf01f9401cd8", kill_on_drop: false }` [INFO] [stdout] f0c7a7b507c0a3629e36dcfdc33afd5287202de04854cd49188ebf01f9401cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9495e5ff55e81e5d6f2da1074ef227a0f98128d3f511e14aeb792095168a57b [INFO] running `Command { std: "docker" "start" "-a" "c9495e5ff55e81e5d6f2da1074ef227a0f98128d3f511e14aeb792095168a57b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bencode v0.2.4 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling console-api v0.6.0 [INFO] [stderr] Compiling console-subscriber v0.2.0 [INFO] [stderr] Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/cli.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{arg, command, Subcommand}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/torrent.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_peers(&self, limit: u8) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 56 | async fn get_peers(&self, limit: u8) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "c9495e5ff55e81e5d6f2da1074ef227a0f98128d3f511e14aeb792095168a57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9495e5ff55e81e5d6f2da1074ef227a0f98128d3f511e14aeb792095168a57b", kill_on_drop: false }` [INFO] [stdout] c9495e5ff55e81e5d6f2da1074ef227a0f98128d3f511e14aeb792095168a57b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee37c4f2e912aae37246061caabf01f86eb3e08ec864d2497c9744147c06d64d [INFO] running `Command { std: "docker" "start" "-a" "ee37c4f2e912aae37246061caabf01f86eb3e08ec864d2497c9744147c06d64d", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/cli.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{arg, command, Subcommand}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/torrent.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_peers(&self, limit: u8) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 56 | async fn get_peers(&self, limit: u8) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/cli.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{arg, command, Subcommand}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/torrent.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_peers(&self, limit: u8) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 56 | async fn get_peers(&self, limit: u8) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "ee37c4f2e912aae37246061caabf01f86eb3e08ec864d2497c9744147c06d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee37c4f2e912aae37246061caabf01f86eb3e08ec864d2497c9744147c06d64d", kill_on_drop: false }` [INFO] [stdout] ee37c4f2e912aae37246061caabf01f86eb3e08ec864d2497c9744147c06d64d