[INFO] cloning repository https://github.com/wismer/rs_torrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/rs_torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5209285c8f76a2d44e128239d0b79fb81d93081 [INFO] testing wismer/rs_torrent against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wismer/rs_torrent on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wismer/rs_torrent [INFO] finished tweaking git repo https://github.com/wismer/rs_torrent [INFO] tweaked toml for git repo https://github.com/wismer/rs_torrent written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/wismer/rs_torrent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9ec63fc9e70b14e40d8c052985c31a33b438e3c3642cdb7771b5ff638f7f9d1 [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" "a9ec63fc9e70b14e40d8c052985c31a33b438e3c3642cdb7771b5ff638f7f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ec63fc9e70b14e40d8c052985c31a33b438e3c3642cdb7771b5ff638f7f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ec63fc9e70b14e40d8c052985c31a33b438e3c3642cdb7771b5ff638f7f9d1", kill_on_drop: false }` [INFO] [stdout] a9ec63fc9e70b14e40d8c052985c31a33b438e3c3642cdb7771b5ff638f7f9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a986ac48fec20bd8c3b82b6ac4185424ccd1d0597d6acf421a3029ae8903be8 [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" "5a986ac48fec20bd8c3b82b6ac4185424ccd1d0597d6acf421a3029ae8903be8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling futures v0.1.23 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling tokio-executor v0.1.3 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling tokio-timer v0.2.5 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling tokio-reactor v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling bip_bencode v0.4.4 [INFO] [stderr] Compiling tokio v0.1.7 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling hyper v0.12.8 [INFO] [stderr] Compiling rs_bittorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `torrent` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let torrent = Torrent::new(&torrent_content); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_torrent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce_list` [INFO] [stdout] --> src/torrent/torrent.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let announce_list = dict.lookup(b"announce-list").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tracker_query_params` [INFO] [stdout] --> src/torrent/torrent.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn tracker_query_params(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | torrent_file.read_to_end(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.29s [INFO] running `Command { std: "docker" "inspect" "5a986ac48fec20bd8c3b82b6ac4185424ccd1d0597d6acf421a3029ae8903be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a986ac48fec20bd8c3b82b6ac4185424ccd1d0597d6acf421a3029ae8903be8", kill_on_drop: false }` [INFO] [stdout] 5a986ac48fec20bd8c3b82b6ac4185424ccd1d0597d6acf421a3029ae8903be8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18003320ed0af29e26c67e2627da5727559fd016c33319007346e43f294b26a6 [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" "18003320ed0af29e26c67e2627da5727559fd016c33319007346e43f294b26a6", kill_on_drop: false }` [INFO] [stderr] Compiling rs_bittorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `torrent` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let torrent = Torrent::new(&torrent_content); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_torrent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce_list` [INFO] [stdout] --> src/torrent/torrent.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let announce_list = dict.lookup(b"announce-list").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tracker_query_params` [INFO] [stdout] --> src/torrent/torrent.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn tracker_query_params(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | torrent_file.read_to_end(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "18003320ed0af29e26c67e2627da5727559fd016c33319007346e43f294b26a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18003320ed0af29e26c67e2627da5727559fd016c33319007346e43f294b26a6", kill_on_drop: false }` [INFO] [stdout] 18003320ed0af29e26c67e2627da5727559fd016c33319007346e43f294b26a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77dba58802dc9b37787cec1766eae59e2469fe6059bc60cd5fec2acf8b45e8fe [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" "77dba58802dc9b37787cec1766eae59e2469fe6059bc60cd5fec2acf8b45e8fe", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused variable: `torrent` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 36 | let torrent = Torrent::new(&torrent_content); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_torrent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `announce_list` [INFO] [stderr] --> src/torrent/torrent.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let announce_list = dict.lookup(b"announce-list").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce_list` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tracker_query_params` [INFO] [stderr] --> src/torrent/torrent.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | fn tracker_query_params(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | torrent_file.read_to_end(&mut contents); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rs_bittorrent-1b072172d15620e0) [INFO] running `Command { std: "docker" "inspect" "77dba58802dc9b37787cec1766eae59e2469fe6059bc60cd5fec2acf8b45e8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dba58802dc9b37787cec1766eae59e2469fe6059bc60cd5fec2acf8b45e8fe", kill_on_drop: false }` [INFO] [stdout] 77dba58802dc9b37787cec1766eae59e2469fe6059bc60cd5fec2acf8b45e8fe