[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 against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre1n-e%2FBitTorrent" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files: 69% (1452/2083)
Updating files: 70% (1459/2083)
Updating files: 71% (1479/2083)
Updating files: 72% (1500/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: 78% (1625/2083)
Updating files: 79% (1646/2083)
Updating files: 79% (1652/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: 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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/re1n-e/BitTorrent on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7406f5fe7fd5644d4038c65471069c6b19f4bb79826cbf1c2a7defd0e77fdddc
[INFO] running `Command { std: "docker" "start" "-a" "7406f5fe7fd5644d4038c65471069c6b19f4bb79826cbf1c2a7defd0e77fdddc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7406f5fe7fd5644d4038c65471069c6b19f4bb79826cbf1c2a7defd0e77fdddc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7406f5fe7fd5644d4038c65471069c6b19f4bb79826cbf1c2a7defd0e77fdddc", kill_on_drop: false }`
[INFO] [stdout] 7406f5fe7fd5644d4038c65471069c6b19f4bb79826cbf1c2a7defd0e77fdddc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 891a5e7338466d2f4cb2606bf96312021df28175692591baf998b92cf397f27a
[INFO] running `Command { std: "docker" "start" "-a" "891a5e7338466d2f4cb2606bf96312021df28175692591baf998b92cf397f27a", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.147
[INFO] [stderr] Compiling proc-macro2 v1.0.66
[INFO] [stderr] Compiling unicode-ident v1.0.11
[INFO] [stderr] Compiling autocfg v1.1.0
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking once_cell v1.18.0
[INFO] [stderr] Compiling memchr v2.5.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 parking_lot_core v0.9.8
[INFO] [stderr] Compiling futures-core v0.3.28
[INFO] [stderr] Checking scopeguard v1.2.0
[INFO] [stderr] Checking smallvec v1.11.0
[INFO] [stderr] Checking bytes v1.3.0
[INFO] [stderr] Checking itoa v1.0.9
[INFO] [stderr] Compiling rustix v0.38.8
[INFO] [stderr] Compiling serde v1.0.183
[INFO] [stderr] Compiling futures-task v0.3.28
[INFO] [stderr] Compiling typenum v1.16.0
[INFO] [stderr] Compiling version_check v0.9.4
[INFO] [stderr] Checking tracing-core v0.1.31
[INFO] [stderr] Checking linux-raw-sys v0.4.5
[INFO] [stderr] Checking bitflags v2.4.0
[INFO] [stderr] Compiling futures-util v0.3.28
[INFO] [stderr] Checking fnv v1.0.7
[INFO] [stderr] Compiling openssl v0.10.56
[INFO] [stderr] Compiling serde_derive v1.0.183
[INFO] [stderr] Checking futures-io v0.3.28
[INFO] [stderr] Checking http v0.2.9
[INFO] [stderr] Compiling futures-channel v0.3.28
[INFO] [stderr] Checking tinyvec_macros v0.1.1
[INFO] [stderr] Compiling lock_api v0.4.10
[INFO] [stderr] Compiling slab v0.4.8
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Checking tracing v0.1.37
[INFO] [stderr] Compiling native-tls v0.2.11
[INFO] [stderr] Checking bitflags v1.3.2
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Checking hashbrown v0.12.3
[INFO] [stderr] Checking pin-utils v0.1.0
[INFO] [stderr] Compiling httparse v1.8.0
[INFO] [stderr] Checking futures-sink v0.3.28
[INFO] [stderr] Checking tinyvec v1.6.0
[INFO] [stderr] Compiling syn v1.0.48
[INFO] [stderr] Checking openssl-probe v0.1.5
[INFO] [stderr] Checking log v0.4.20
[INFO] [stderr] Checking utf8parse v0.2.1
[INFO] [stderr] Checking try-lock v0.2.4
[INFO] [stderr] Checking percent-encoding v2.3.0
[INFO] [stderr] Checking want v0.3.1
[INFO] [stderr] Checking anstyle-parse v0.2.1
[INFO] [stderr] Compiling quote v1.0.33
[INFO] [stderr] Checking anstyle-query v1.0.0
[INFO] [stderr] Checking form_urlencoded v1.2.0
[INFO] [stderr] Checking anstyle v1.0.1
[INFO] [stderr] Checking ryu v1.0.15
[INFO] [stderr] Checking tower-service v0.3.2
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling cc v1.0.82
[INFO] [stderr] Checking http-body v0.4.5
[INFO] [stderr] Compiling syn v2.0.29
[INFO] [stderr] Compiling serde_json v1.0.105
[INFO] [stderr] Checking unicode-bidi v0.3.13
[INFO] [stderr] Checking colorchoice v1.0.0
[INFO] [stderr] Checking httpdate v1.0.3
[INFO] [stderr] Checking aho-corasick v1.0.4
[INFO] [stderr] Compiling heck v0.4.1
[INFO] [stderr] Compiling anyhow v1.0.68
[INFO] [stderr] Compiling thiserror v1.0.38
[INFO] [stderr] Checking signal-hook-registry v1.4.1
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking socket2 v0.5.3
[INFO] [stderr] Checking mio v0.8.8
[INFO] [stderr] Checking socket2 v0.4.9
[INFO] [stderr] Checking strsim v0.10.0
[INFO] [stderr] Checking parking_lot v0.12.1
[INFO] [stderr] Checking clap_lex v0.5.0
[INFO] [stderr] Checking regex-syntax v0.7.4
[INFO] [stderr] Checking encoding_rs v0.8.32
[INFO] [stderr] Checking base64 v0.21.2
[INFO] [stderr] Checking fastrand v2.0.0
[INFO] [stderr] Checking unicode-normalization v0.1.22
[INFO] [stderr] Checking ipnet v2.8.0
[INFO] [stderr] Checking mime v0.3.17
[INFO] [stderr] Checking cpufeatures v0.2.9
[INFO] [stderr] Checking hex v0.4.3
[INFO] [stderr] Compiling openssl-sys v0.9.91
[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 serde_urlencoded v0.7.1
[INFO] [stderr] Checking serde_bytes v0.11.12
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking serde_bencode v0.2.3
[INFO] [stderr] Checking sha1 v0.10.5
[INFO] [stderr] Checking url v2.4.0
[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-automata v0.3.6
[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 regex v1.9.3
[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: 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