[INFO] cloning repository https://github.com/re1n-e/BitTorrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/re1n-e/BitTorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre1n-e%2FBitTorrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre1n-e%2FBitTorrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 959e8986019dac920bc5f8a0802b45e4c5cfadc0
[INFO] checking re1n-e/BitTorrent/959e8986019dac920bc5f8a0802b45e4c5cfadc0 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre1n-e%2FBitTorrent" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files: 57% (1204/2083)
Updating files: 58% (1209/2083)
Updating files: 59% (1229/2083)
Updating files: 60% (1250/2083)
Updating files: 61% (1271/2083)
Updating files: 62% (1292/2083)
Updating files: 63% (1313/2083)
Updating files: 64% (1334/2083)
Updating files: 65% (1354/2083)
Updating files: 66% (1375/2083)
Updating files: 67% (1396/2083)
Updating files: 68% (1417/2083)
Updating files: 69% (1438/2083)
Updating files: 70% (1459/2083)
Updating files: 71% (1479/2083)
Updating files: 72% (1500/2083)
Updating files: 72% (1506/2083)
Updating files: 73% (1521/2083)
Updating files: 74% (1542/2083)
Updating files: 75% (1563/2083)
Updating files: 76% (1584/2083)
Updating files: 77% (1604/2083)
Updating files: 77% (1622/2083)
Updating files: 78% (1625/2083)
Updating files: 79% (1646/2083)
Updating files: 80% (1667/2083)
Updating files: 81% (1688/2083)
Updating files: 82% (1709/2083)
Updating files: 83% (1729/2083)
Updating files: 84% (1750/2083)
Updating files: 85% (1771/2083)
Updating files: 86% (1792/2083)
Updating files: 87% (1813/2083)
Updating files: 88% (1834/2083)
Updating files: 89% (1854/2083)
Updating files: 90% (1875/2083)
Updating files: 91% (1896/2083)
Updating files: 92% (1917/2083)
Updating files: 93% (1938/2083)
Updating files: 94% (1959/2083)
Updating files: 94% (1961/2083)
Updating files: 95% (1979/2083)
Updating files: 96% (2000/2083)
Updating files: 97% (2021/2083)
Updating files: 98% (2042/2083)
Updating files: 99% (2063/2083)
Updating files: 100% (2083/2083)
Updating files: 100% (2083/2083), done.
[INFO] started tweaking git repo https://github.com/re1n-e/BitTorrent
[INFO] finished tweaking git repo https://github.com/re1n-e/BitTorrent
[INFO] tweaked toml for git repo https://github.com/re1n-e/BitTorrent written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/re1n-e/BitTorrent on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/re1n-e/BitTorrent 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 157142f596aa3a7a435cc0496418e0b86e0a02a768fdd15d14a811f3ee4c82c0
[INFO] running `Command { std: "docker" "start" "-a" "157142f596aa3a7a435cc0496418e0b86e0a02a768fdd15d14a811f3ee4c82c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "157142f596aa3a7a435cc0496418e0b86e0a02a768fdd15d14a811f3ee4c82c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "157142f596aa3a7a435cc0496418e0b86e0a02a768fdd15d14a811f3ee4c82c0", kill_on_drop: false }`
[INFO] [stdout] 157142f596aa3a7a435cc0496418e0b86e0a02a768fdd15d14a811f3ee4c82c0
[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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 161670e7b5213a95851fcdaa41b7bc408f554749ea2c4536f19fb0144d0cf468
[INFO] running `Command { std: "docker" "start" "-a" "161670e7b5213a95851fcdaa41b7bc408f554749ea2c4536f19fb0144d0cf468", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.147
[INFO] [stderr] Checking once_cell v1.18.0
[INFO] [stderr] Compiling pkg-config v0.3.27
[INFO] [stderr] Checking pin-project-lite v0.2.12
[INFO] [stderr] Compiling vcpkg v0.2.15
[INFO] [stderr] Compiling quote v1.0.33
[INFO] [stderr] Checking bytes v1.3.0
[INFO] [stderr] Checking smallvec v1.11.0
[INFO] [stderr] Checking itoa v1.0.9
[INFO] [stderr] Compiling syn v2.0.29
[INFO] [stderr] Compiling futures-task v0.3.28
[INFO] [stderr] Compiling typenum v1.16.0
[INFO] [stderr] Compiling serde v1.0.183
[INFO] [stderr] Compiling rustix v0.38.8
[INFO] [stderr] Checking tracing-core v0.1.31
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Checking linux-raw-sys v0.4.5
[INFO] [stderr] Compiling openssl v0.10.56
[INFO] [stderr] Checking foreign-types-shared v0.1.1
[INFO] [stderr] Compiling futures-util v0.3.28
[INFO] [stderr] Checking bitflags v2.4.0
[INFO] [stderr] Compiling serde_derive v1.0.183
[INFO] [stderr] Compiling cc v1.0.82
[INFO] [stderr] Checking tracing v0.1.37
[INFO] [stderr] Checking foreign-types v0.3.2
[INFO] [stderr] Checking http v0.2.9
[INFO] [stderr] Checking parking_lot_core v0.9.8
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking signal-hook-registry v1.4.1
[INFO] [stderr] Checking socket2 v0.5.3
[INFO] [stderr] Checking mio v0.8.8
[INFO] [stderr] Checking parking_lot v0.12.1
[INFO] [stderr] Compiling futures-channel v0.3.28
[INFO] [stderr] Checking tinyvec_macros v0.1.1
[INFO] [stderr] Checking futures-io v0.3.28
[INFO] [stderr] Checking pin-utils v0.1.0
[INFO] [stderr] Checking futures-sink v0.3.28
[INFO] [stderr] Checking hashbrown v0.12.3
[INFO] [stderr] Compiling httparse v1.8.0
[INFO] [stderr] Compiling native-tls v0.2.11
[INFO] [stderr] Checking tinyvec v1.6.0
[INFO] [stderr] Compiling openssl-sys v0.9.91
[INFO] [stderr] Checking indexmap v1.9.3
[INFO] [stderr] Checking openssl-probe v0.1.5
[INFO] [stderr] Checking try-lock v0.2.4
[INFO] [stderr] Checking percent-encoding v2.3.0
[INFO] [stderr] Compiling syn v1.0.48
[INFO] [stderr] Checking utf8parse v0.2.1
[INFO] [stderr] Checking log v0.4.20
[INFO] [stderr] Checking anstyle-parse v0.2.1
[INFO] [stderr] Checking unicode-normalization v0.1.22
[INFO] [stderr] Checking form_urlencoded v1.2.0
[INFO] [stderr] Checking want v0.3.1
[INFO] [stderr] Checking http-body v0.4.5
[INFO] [stderr] Checking socket2 v0.4.9
[INFO] [stderr] Checking colorchoice v1.0.0
[INFO] [stderr] Checking unicode-bidi v0.3.13
[INFO] [stderr] Compiling serde_json v1.0.105
[INFO] [stderr] Checking ryu v1.0.15
[INFO] [stderr] Checking httpdate v1.0.3
[INFO] [stderr] Checking tower-service v0.3.2
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Checking anstyle-query v1.0.0
[INFO] [stderr] Checking is-terminal v0.4.9
[INFO] [stderr] Checking anstyle v1.0.1
[INFO] [stderr] Checking idna v0.4.0
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking anstream v0.3.2
[INFO] [stderr] Checking aho-corasick v1.0.4
[INFO] [stderr] Checking regex-syntax v0.7.4
[INFO] [stderr] Checking strsim v0.10.0
[INFO] [stderr] Compiling heck v0.4.1
[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 url v2.4.0
[INFO] [stderr] Checking clap_builder v4.3.22
[INFO] [stderr] Checking serde_bytes v0.11.12
[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 serde_urlencoded v0.7.1
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking tokio v1.32.0
[INFO] [stderr] Checking encoding_rs v0.8.32
[INFO] [stderr] Checking mime v0.3.17
[INFO] [stderr] Checking fastrand v2.0.0
[INFO] [stderr] Checking regex-automata v0.3.6
[INFO] [stderr] Checking ipnet v2.8.0
[INFO] [stderr] Checking base64 v0.21.2
[INFO] [stderr] Checking cpufeatures v0.2.9
[INFO] [stderr] Checking sha1 v0.10.5
[INFO] [stderr] Checking tempfile v3.7.1
[INFO] [stderr] Compiling thiserror-impl v1.0.38
[INFO] [stderr] Checking serde_bencode v0.2.3
[INFO] [stderr] Checking clap v4.3.22
[INFO] [stderr] Checking regex v1.9.3
[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: function `wait_for_bitfield` is never used
[INFO] [stdout] --> src/message.rs:133:10
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn wait_for_bitfield(stream: &mut TcpStream, bitfield: &mut Bitfield) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `send_interested` is never used
[INFO] [stdout] --> src/message.rs:143:10
[INFO] [stdout] |
[INFO] [stdout] 143 | async fn send_interested(stream: &mut TcpStream) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `wait_for_unchoke` is never used
[INFO] [stdout] --> src/message.rs:150:10
[INFO] [stdout] |
[INFO] [stdout] 150 | async fn wait_for_unchoke(stream: &mut TcpStream) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `request_piece_block` is never used
[INFO] [stdout] --> src/message.rs:160:10
[INFO] [stdout] |
[INFO] [stdout] 160 | async fn request_piece_block(stream: &mut TcpStream, index: u32, begin: u32, length: u32) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `receive_piece_block` is never used
[INFO] [stdout] --> src/message.rs:172:10
[INFO] [stdout] |
[INFO] [stdout] 172 | async fn receive_piece_block(stream: &mut TcpStream) -> Result