[INFO] cloning repository https://github.com/morr0ne/leech [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morr0ne/leech" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorr0ne%2Fleech", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorr0ne%2Fleech'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 737bfb9c4a0df87addde3631ab4651bcfd28e1c8 [INFO] checking morr0ne/leech against master#0a8629bff642c3c3b84bb644c0099194f063b627 for pr-86231 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorr0ne%2Fleech" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/morr0ne/leech on toolchain 0a8629bff642c3c3b84bb644c0099194f063b627 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/morr0ne/leech [INFO] finished tweaking git repo https://github.com/morr0ne/leech [INFO] tweaked toml for git repo https://github.com/morr0ne/leech written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/morr0ne/leech already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be1d9ef6e01caacf161ea86583c9d9ce107fab3104eab7b8c582e7242d70bf0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be1d9ef6e01caacf161ea86583c9d9ce107fab3104eab7b8c582e7242d70bf0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be1d9ef6e01caacf161ea86583c9d9ce107fab3104eab7b8c582e7242d70bf0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1d9ef6e01caacf161ea86583c9d9ce107fab3104eab7b8c582e7242d70bf0e", kill_on_drop: false }` [INFO] [stdout] be1d9ef6e01caacf161ea86583c9d9ce107fab3104eab7b8c582e7242d70bf0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 76081a798cea24edb0ddc9e56cc50641f2950db042ee46b6e6482abae56e97a8 [INFO] running `Command { std: "docker" "start" "-a" "76081a798cea24edb0ddc9e56cc50641f2950db042ee46b6e6482abae56e97a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking bendy v0.4.0-beta.1 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking leech_core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: constant is never used: `KEEP_ALIVE` [INFO] [stdout] --> core/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | const KEEP_ALIVE: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHOKE` [INFO] [stdout] --> core/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | const CHOKE: [u8; 5] = [0, 0, 0, 0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNCHOKE` [INFO] [stdout] --> core/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | const UNCHOKE: [u8; 5] = [0, 0, 0, 1, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERESTED` [INFO] [stdout] --> core/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | const INTERESTED: [u8; 5] = [0, 0, 0, 1, 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_INTERESTED` [INFO] [stdout] --> core/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | const NOT_INTERESTED: [u8; 5] = [0, 0, 0, 1, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_have_message` [INFO] [stdout] --> core/lib.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn build_have_message(piece_index: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_request_message` [INFO] [stdout] --> core/lib.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn build_request_message(index: u32, begin: u32, length: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_cancel_message` [INFO] [stdout] --> core/lib.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_cancel_message(index: u32, begin: u32, length: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_port_message` [INFO] [stdout] --> core/lib.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn build_port_message(listen_port: u16) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KEEP_ALIVE` [INFO] [stdout] --> core/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | const KEEP_ALIVE: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHOKE` [INFO] [stdout] --> core/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | const CHOKE: [u8; 5] = [0, 0, 0, 0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNCHOKE` [INFO] [stdout] --> core/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | const UNCHOKE: [u8; 5] = [0, 0, 0, 1, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERESTED` [INFO] [stdout] --> core/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | const INTERESTED: [u8; 5] = [0, 0, 0, 1, 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_INTERESTED` [INFO] [stdout] --> core/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | const NOT_INTERESTED: [u8; 5] = [0, 0, 0, 1, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_have_message` [INFO] [stdout] --> core/lib.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn build_have_message(piece_index: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_request_message` [INFO] [stdout] --> core/lib.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn build_request_message(index: u32, begin: u32, length: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_cancel_message` [INFO] [stdout] --> core/lib.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_cancel_message(index: u32, begin: u32, length: u32) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_port_message` [INFO] [stdout] --> core/lib.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn build_port_message(listen_port: u16) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking leech v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "76081a798cea24edb0ddc9e56cc50641f2950db042ee46b6e6482abae56e97a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76081a798cea24edb0ddc9e56cc50641f2950db042ee46b6e6482abae56e97a8", kill_on_drop: false }` [INFO] [stdout] 76081a798cea24edb0ddc9e56cc50641f2950db042ee46b6e6482abae56e97a8