[INFO] cloning repository https://github.com/nickjhughes/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/nickjhughes/codecrafters-bittorrent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickjhughes%2Fcodecrafters-bittorrent-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickjhughes%2Fcodecrafters-bittorrent-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88d2ab3b368e0ef8c7c806239a68e483b0dfbc24 [INFO] checking nickjhughes/codecrafters-bittorrent-rust against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickjhughes%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nickjhughes/codecrafters-bittorrent-rust [INFO] finished tweaking git repo https://github.com/nickjhughes/codecrafters-bittorrent-rust [INFO] tweaked toml for git repo https://github.com/nickjhughes/codecrafters-bittorrent-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nickjhughes/codecrafters-bittorrent-rust on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nickjhughes/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.4 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded serde_bencode v0.2.3 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded clap v4.3.22 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded clap_builder v4.3.22 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.4 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_msvc 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fed52058c2053bd2283979770f91d9e68052dcd0e5afcf437f75cf665ed57b9 [INFO] running `Command { std: "docker" "start" "-a" "7fed52058c2053bd2283979770f91d9e68052dcd0e5afcf437f75cf665ed57b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fed52058c2053bd2283979770f91d9e68052dcd0e5afcf437f75cf665ed57b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fed52058c2053bd2283979770f91d9e68052dcd0e5afcf437f75cf665ed57b9", kill_on_drop: false }` [INFO] [stdout] 7fed52058c2053bd2283979770f91d9e68052dcd0e5afcf437f75cf665ed57b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c55baf7431f781577dffcbf22fbad5cf87556bb62d932b0f95657e75d8b38e4c [INFO] running `Command { std: "docker" "start" "-a" "c55baf7431f781577dffcbf22fbad5cf87556bb62d932b0f95657e75d8b38e4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.22 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bencode v0.2.3 [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] Checking tokio v1.32.0 [INFO] [stderr] Checking clap v4.3.22 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_str(input: &'input str) -> Result<(&str, Self)> { [INFO] [stdout] | ------ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_str(input: &'input str) -> Result<(&'input str, Self)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_bytes(input: &'input [u8]) -> Result<(&[u8], Self)> { [INFO] [stdout] | ------ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_bytes(input: &'input [u8]) -> Result<(&'input [u8], Self)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn as_byte_string(&self) -> Option<&BencodeByteString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 181 | pub fn as_byte_string(&self) -> Option<&BencodeByteString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn as_dictionary(&self) -> Option<&BTreeMap> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 188 | pub fn as_dictionary(&self) -> Option<&BTreeMap, BencodeValue<'_>>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_list(&self) -> Option<&[BencodeValue]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 203 | pub fn as_list(&self) -> Option<&[BencodeValue<'_>]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_str(input: &'input str) -> Result<(&str, Self)> { [INFO] [stdout] | ------ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_str(input: &'input str) -> Result<(&'input str, Self)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_bytes(input: &'input [u8]) -> Result<(&[u8], Self)> { [INFO] [stdout] | ------ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'input` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_bytes(input: &'input [u8]) -> Result<(&'input [u8], Self)> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn as_byte_string(&self) -> Option<&BencodeByteString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 181 | pub fn as_byte_string(&self) -> Option<&BencodeByteString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn as_dictionary(&self) -> Option<&BTreeMap> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 188 | pub fn as_dictionary(&self) -> Option<&BTreeMap, BencodeValue<'_>>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bencode.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn as_list(&self) -> Option<&[BencodeValue]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 203 | pub fn as_list(&self) -> Option<&[BencodeValue<'_>]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.75s [INFO] running `Command { std: "docker" "inspect" "c55baf7431f781577dffcbf22fbad5cf87556bb62d932b0f95657e75d8b38e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55baf7431f781577dffcbf22fbad5cf87556bb62d932b0f95657e75d8b38e4c", kill_on_drop: false }` [INFO] [stdout] c55baf7431f781577dffcbf22fbad5cf87556bb62d932b0f95657e75d8b38e4c