[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#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filnaes%2Fntorrent" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ilnaes/ntorrent on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43ac250b13015e7d805799c992a98313efbe04e5e40cd56acaa6e6e8b5608b27 [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" "43ac250b13015e7d805799c992a98313efbe04e5e40cd56acaa6e6e8b5608b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43ac250b13015e7d805799c992a98313efbe04e5e40cd56acaa6e6e8b5608b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ac250b13015e7d805799c992a98313efbe04e5e40cd56acaa6e6e8b5608b27", kill_on_drop: false }` [INFO] [stdout] 43ac250b13015e7d805799c992a98313efbe04e5e40cd56acaa6e6e8b5608b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd432a16bcac075ce4b8958131ab84e8c5ed7fbc62ea9a6964d3be01e724970e [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" "cd432a16bcac075ce4b8958131ab84e8c5ed7fbc62ea9a6964d3be01e724970e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [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 serde_bytes v0.10.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_bytes v0.11.4 [INFO] [stderr] Compiling serde_bencode v0.2.1 [INFO] [stderr] Compiling hyper-tls v0.4.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 2m 00s [INFO] running `Command { std: "docker" "inspect" "cd432a16bcac075ce4b8958131ab84e8c5ed7fbc62ea9a6964d3be01e724970e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd432a16bcac075ce4b8958131ab84e8c5ed7fbc62ea9a6964d3be01e724970e", kill_on_drop: false }` [INFO] [stdout] cd432a16bcac075ce4b8958131ab84e8c5ed7fbc62ea9a6964d3be01e724970e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 953d04051b467661185094ea32b74438d3ad6025cbc034b6d1979e6d36fa64fb [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" "953d04051b467661185094ea32b74438d3ad6025cbc034b6d1979e6d36fa64fb", 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 7.78s [INFO] running `Command { std: "docker" "inspect" "953d04051b467661185094ea32b74438d3ad6025cbc034b6d1979e6d36fa64fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953d04051b467661185094ea32b74438d3ad6025cbc034b6d1979e6d36fa64fb", kill_on_drop: false }` [INFO] [stdout] 953d04051b467661185094ea32b74438d3ad6025cbc034b6d1979e6d36fa64fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] dbda22ac222a7a36ced211931d1fbc326f0bb23cfc0003e50dbff573d6f8eaec [INFO] running `Command { std: "docker" "start" "-a" "dbda22ac222a7a36ced211931d1fbc326f0bb23cfc0003e50dbff573d6f8eaec", 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.24s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ntorrent-e14ec2db58187c7b [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test utils::bitfield::tests::test_add ... ok [INFO] [stdout] test utils::queue::test::test_replace ... ok [INFO] [stdout] test messages::messages::tests::test_serialize ... ok [INFO] [stdout] test utils::bitfield::tests::test_bf_has ... ok [INFO] [stdout] test torrents::tests::test_split ... ok [INFO] [stdout] test utils::queue::test::test_block ... ok [INFO] [stdout] test torrents::tests::test_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/torrent_test-a03a8775a0088afe [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbda22ac222a7a36ced211931d1fbc326f0bb23cfc0003e50dbff573d6f8eaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbda22ac222a7a36ced211931d1fbc326f0bb23cfc0003e50dbff573d6f8eaec", kill_on_drop: false }` [INFO] [stdout] dbda22ac222a7a36ced211931d1fbc326f0bb23cfc0003e50dbff573d6f8eaec