[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wismer/rs_torrent on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-12/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bip_bencode v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c0a4c73f724032321dc805e516912210111c933a18fb84daef54f5ad0150878 [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" "6c0a4c73f724032321dc805e516912210111c933a18fb84daef54f5ad0150878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c0a4c73f724032321dc805e516912210111c933a18fb84daef54f5ad0150878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0a4c73f724032321dc805e516912210111c933a18fb84daef54f5ad0150878", kill_on_drop: false }` [INFO] [stdout] 6c0a4c73f724032321dc805e516912210111c933a18fb84daef54f5ad0150878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3629f7285e1ea3ec54f6544a0e90042800f824d0317cfcbf9179fe8240ef75ea [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" "3629f7285e1ea3ec54f6544a0e90042800f824d0317cfcbf9179fe8240ef75ea", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.23 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling bip_bencode v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.1.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.5 [INFO] [stderr] Compiling tokio-reactor v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.3 [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 39.09s [INFO] running `Command { std: "docker" "inspect" "3629f7285e1ea3ec54f6544a0e90042800f824d0317cfcbf9179fe8240ef75ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3629f7285e1ea3ec54f6544a0e90042800f824d0317cfcbf9179fe8240ef75ea", kill_on_drop: false }` [INFO] [stdout] 3629f7285e1ea3ec54f6544a0e90042800f824d0317cfcbf9179fe8240ef75ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f290e86b5fc82a1b04fc143016167fc33e5b9712289d1d74882ddb00c61c243f [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" "f290e86b5fc82a1b04fc143016167fc33e5b9712289d1d74882ddb00c61c243f", 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.98s [INFO] running `Command { std: "docker" "inspect" "f290e86b5fc82a1b04fc143016167fc33e5b9712289d1d74882ddb00c61c243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f290e86b5fc82a1b04fc143016167fc33e5b9712289d1d74882ddb00c61c243f", kill_on_drop: false }` [INFO] [stdout] f290e86b5fc82a1b04fc143016167fc33e5b9712289d1d74882ddb00c61c243f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 092a86aa739bb17b46eff28bce6bf938b9aae6326ac886a18c9f3e61e2920f16 [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" "092a86aa739bb17b46eff28bce6bf938b9aae6326ac886a18c9f3e61e2920f16", 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: `rs_bittorrent` (bin "rs_bittorrent" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rs_bittorrent-9dd00c0a2dcc3dbe) [INFO] running `Command { std: "docker" "inspect" "092a86aa739bb17b46eff28bce6bf938b9aae6326ac886a18c9f3e61e2920f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092a86aa739bb17b46eff28bce6bf938b9aae6326ac886a18c9f3e61e2920f16", kill_on_drop: false }` [INFO] [stdout] 092a86aa739bb17b46eff28bce6bf938b9aae6326ac886a18c9f3e61e2920f16