[INFO] cloning repository https://github.com/ilnaes/ntorrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilnaes/ntorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filnaes%2Fntorrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filnaes%2Fntorrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 479af86da22e32f8a4c64c15a669aa772d3d04a5 [INFO] testing ilnaes/ntorrent against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filnaes%2Fntorrent" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ilnaes/ntorrent on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ilnaes/ntorrent [INFO] finished tweaking git repo https://github.com/ilnaes/ntorrent [INFO] tweaked toml for git repo https://github.com/ilnaes/ntorrent written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ilnaes/ntorrent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fccb803075a3871799c9506d339dd90cf925ec1e722af09c008592f7468dfbab [INFO] running `Command { std: "docker" "start" "-a" "fccb803075a3871799c9506d339dd90cf925ec1e722af09c008592f7468dfbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fccb803075a3871799c9506d339dd90cf925ec1e722af09c008592f7468dfbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccb803075a3871799c9506d339dd90cf925ec1e722af09c008592f7468dfbab", kill_on_drop: false }` [INFO] [stdout] fccb803075a3871799c9506d339dd90cf925ec1e722af09c008592f7468dfbab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3124231625aa96ff23f563e1383cebb94fd8b35ad8a4ba8e62865e339c1eb8a2 [INFO] running `Command { std: "docker" "start" "-a" "3124231625aa96ff23f563e1383cebb94fd8b35ad8a4ba8e62865e339c1eb8a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling ctrlc v3.1.4 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.10 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.10 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling serde_bytes v0.11.4 [INFO] [stderr] Compiling serde_bencode v0.2.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling ntorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "3124231625aa96ff23f563e1383cebb94fd8b35ad8a4ba8e62865e339c1eb8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3124231625aa96ff23f563e1383cebb94fd8b35ad8a4ba8e62865e339c1eb8a2", kill_on_drop: false }` [INFO] [stdout] 3124231625aa96ff23f563e1383cebb94fd8b35ad8a4ba8e62865e339c1eb8a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b91e6cfce4b2f5e88412f5adeaf69928ce346190000587e3c5bfa773c5fcec0 [INFO] running `Command { std: "docker" "start" "-a" "0b91e6cfce4b2f5e88412f5adeaf69928ce346190000587e3c5bfa773c5fcec0", kill_on_drop: false }` [INFO] [stderr] Compiling ntorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/queue.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut q = Queue::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/queue.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut q = Queue::::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/queue.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut q1 = q.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/queue.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut q2 = q.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "0b91e6cfce4b2f5e88412f5adeaf69928ce346190000587e3c5bfa773c5fcec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b91e6cfce4b2f5e88412f5adeaf69928ce346190000587e3c5bfa773c5fcec0", kill_on_drop: false }` [INFO] [stdout] 0b91e6cfce4b2f5e88412f5adeaf69928ce346190000587e3c5bfa773c5fcec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20e7e167906352d388c8cabf653262f4dd2b5a326e70b6aef01d816726eb2fad [INFO] running `Command { std: "docker" "start" "-a" "20e7e167906352d388c8cabf653262f4dd2b5a326e70b6aef01d816726eb2fad", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/queue.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | let mut q = Queue::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/queue.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | let mut q = Queue::::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/queue.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let mut q1 = q.clone(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/queue.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | let mut q2 = q.clone(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ntorrent-ba316769b3cd7c1c) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test messages::messages::tests::test_serialize ... ok [INFO] [stdout] test utils::queue::test::test_replace ... ok [INFO] [stdout] test torrents::tests::test_split ... ok [INFO] [stdout] test utils::bitfield::tests::test_add ... ok [INFO] [stdout] test utils::bitfield::tests::test_bf_has ... ok [INFO] [stdout] test torrents::tests::test_panic - should panic ... ok [INFO] [stdout] test utils::queue::test::test_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Running tests/torrent_test.rs (/opt/rustwide/target/debug/deps/torrent_test-009a6833b7a47c04) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ababa ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20e7e167906352d388c8cabf653262f4dd2b5a326e70b6aef01d816726eb2fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e7e167906352d388c8cabf653262f4dd2b5a326e70b6aef01d816726eb2fad", kill_on_drop: false }` [INFO] [stdout] 20e7e167906352d388c8cabf653262f4dd2b5a326e70b6aef01d816726eb2fad