[INFO] cloning repository https://github.com/phorks/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/phorks/codecrafters-bittorrent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphorks%2Fcodecrafters-bittorrent-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphorks%2Fcodecrafters-bittorrent-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 747a6fbdc746da5e2bd81007778304312b555207 [INFO] checking phorks/codecrafters-bittorrent-rust against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphorks%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phorks/codecrafters-bittorrent-rust [INFO] finished tweaking git repo https://github.com/phorks/codecrafters-bittorrent-rust [INFO] tweaked toml for git repo https://github.com/phorks/codecrafters-bittorrent-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phorks/codecrafters-bittorrent-rust on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phorks/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" "+4b596bbd847672da87763b76171687d3544863c2" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8baa1409efbc8611cefd3a40b80616be599d0f34673a30b503e804f2c2aea66b [INFO] running `Command { std: "docker" "start" "-a" "8baa1409efbc8611cefd3a40b80616be599d0f34673a30b503e804f2c2aea66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8baa1409efbc8611cefd3a40b80616be599d0f34673a30b503e804f2c2aea66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8baa1409efbc8611cefd3a40b80616be599d0f34673a30b503e804f2c2aea66b", kill_on_drop: false }` [INFO] [stdout] 8baa1409efbc8611cefd3a40b80616be599d0f34673a30b503e804f2c2aea66b [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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed9ec31255f3386b1d6508298501b5c72adffac167e6ddf98c8eaa8ec87c8b61 [INFO] running `Command { std: "docker" "start" "-a" "ed9ec31255f3386b1d6508298501b5c72adffac167e6ddf98c8eaa8ec87c8b61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/peer.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn handshake(&self) -> 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] 23 | pub fn handshake(&self) -> Result, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tfile.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_peer(&self, addr: SocketAddrV4) -> Peer { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_peer(&self, addr: SocketAddrV4) -> Peer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tfile.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn find_peers(&self) -> impl Iterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn find_peers(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/peer.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn handshake(&self) -> 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] 23 | pub fn handshake(&self) -> Result, std::io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust" test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4b596bbd847672da87763b76171687d3544863c2/bin/rustc --crate-name bittorrent_starter_rust --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4a1a75d312b2c9e1 -C extra-filename=-2c65e6c200cf52f9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-d950c23e59e24400.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-dd3b2a5125d8bebe.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-4d952a44332a2d7c.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-4852862d92867e36.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-28213a98a713f0c2.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-4a2ca8edb85df454.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-22f65c965312dea7.rmeta --extern serde_bencode=/opt/rustwide/target/debug/deps/libserde_bencode-742e2bf81a04c2e1.rmeta --extern serde_bytes=/opt/rustwide/target/debug/deps/libserde_bytes-6c854c2593a5a4a8.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-9eaf324b239a1f6f.rmeta --extern serde_urlencoded=/opt/rustwide/target/debug/deps/libserde_urlencoded-e54a938f0ad61852.rmeta --extern sha1=/opt/rustwide/target/debug/deps/libsha1-bfc2792745d0f7cf.rmeta --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-fcb2e842327ee313.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-1f62cdb415dc2364.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-a8d1c0895468bb89.rmeta --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "ed9ec31255f3386b1d6508298501b5c72adffac167e6ddf98c8eaa8ec87c8b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9ec31255f3386b1d6508298501b5c72adffac167e6ddf98c8eaa8ec87c8b61", kill_on_drop: false }` [INFO] [stdout] ed9ec31255f3386b1d6508298501b5c72adffac167e6ddf98c8eaa8ec87c8b61