[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] testing vaporif/codecrafters-bittorrent-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaporif%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vaporif/codecrafters-bittorrent-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.4.7 [INFO] [stderr] Downloaded serde_bencode v0.2.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.18 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded console-subscriber v0.2.0 [INFO] [stderr] Downloaded console-api v0.6.0 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a277589dd016c70a1e28d684183219bb413c28d0f8e3da3f7b578cc896dc319f [INFO] running `Command { std: "docker" "start" "-a" "a277589dd016c70a1e28d684183219bb413c28d0f8e3da3f7b578cc896dc319f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a277589dd016c70a1e28d684183219bb413c28d0f8e3da3f7b578cc896dc319f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a277589dd016c70a1e28d684183219bb413c28d0f8e3da3f7b578cc896dc319f", kill_on_drop: false }` [INFO] [stdout] a277589dd016c70a1e28d684183219bb413c28d0f8e3da3f7b578cc896dc319f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5240e369db4d728820e26294abe7a180f67e319c8f067515e70f9dc6ac60e60b [INFO] running `Command { std: "docker" "start" "-a" "5240e369db4d728820e26294abe7a180f67e319c8f067515e70f9dc6ac60e60b", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling lock_api v0.4.11 [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 serde v1.0.192 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [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 thread_local v1.1.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-channel v2.1.1 [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 openssl v0.10.59 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.1.5 [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 futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [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 serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bencode v0.2.4 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [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: 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 43.90s [INFO] running `Command { std: "docker" "inspect" "5240e369db4d728820e26294abe7a180f67e319c8f067515e70f9dc6ac60e60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5240e369db4d728820e26294abe7a180f67e319c8f067515e70f9dc6ac60e60b", kill_on_drop: false }` [INFO] [stdout] 5240e369db4d728820e26294abe7a180f67e319c8f067515e70f9dc6ac60e60b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83f38b0a50ed0a3a33a9511b53dd632dc68882bfd48e990524a0056c86377f65 [INFO] running `Command { std: "docker" "start" "-a" "83f38b0a50ed0a3a33a9511b53dd632dc68882bfd48e990524a0056c86377f65", kill_on_drop: false }` [INFO] [stderr] Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [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] [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.42s [INFO] running `Command { std: "docker" "inspect" "83f38b0a50ed0a3a33a9511b53dd632dc68882bfd48e990524a0056c86377f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83f38b0a50ed0a3a33a9511b53dd632dc68882bfd48e990524a0056c86377f65", kill_on_drop: false }` [INFO] [stdout] 83f38b0a50ed0a3a33a9511b53dd632dc68882bfd48e990524a0056c86377f65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcbb3f9e49c5ed9d38e098667bc0bfc5af9df830b1a33f0022fda0247899ab08 [INFO] running `Command { std: "docker" "start" "-a" "fcbb3f9e49c5ed9d38e098667bc0bfc5af9df830b1a33f0022fda0247899ab08", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/torrent.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | async fn get_peers(&self, limit: u8) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | async fn get_peers(&self, limit: u8) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bittorrent-starter-rust` (lib) generated 1 warning (run `cargo fix --lib -p bittorrent-starter-rust` to apply 1 suggestion) [INFO] [stderr] warning: `bittorrent-starter-rust` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bittorrent_starter_rust-fa05367107f509c2) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bittorrent_starter_rust-19806097ecb617c9) [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] [stderr] Doc-tests bittorrent_starter_rust [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] [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" "fcbb3f9e49c5ed9d38e098667bc0bfc5af9df830b1a33f0022fda0247899ab08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbb3f9e49c5ed9d38e098667bc0bfc5af9df830b1a33f0022fda0247899ab08", kill_on_drop: false }` [INFO] [stdout] fcbb3f9e49c5ed9d38e098667bc0bfc5af9df830b1a33f0022fda0247899ab08