[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#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wismer/rs_torrent 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/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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c35e36928015028c81de32f9acb9d56316205da6313046b712c58a4f4509d8e8 [INFO] running `Command { std: "docker" "start" "-a" "c35e36928015028c81de32f9acb9d56316205da6313046b712c58a4f4509d8e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c35e36928015028c81de32f9acb9d56316205da6313046b712c58a4f4509d8e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35e36928015028c81de32f9acb9d56316205da6313046b712c58a4f4509d8e8", kill_on_drop: false }` [INFO] [stdout] c35e36928015028c81de32f9acb9d56316205da6313046b712c58a4f4509d8e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 8afac27f8d6173f6a190d747c1822a85533afc0429028163886b18a816bec43c [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" "8afac27f8d6173f6a190d747c1822a85533afc0429028163886b18a816bec43c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [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 slab v0.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling indexmap v1.0.1 [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 bytes v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling http v0.1.10 [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 backtrace v0.3.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling bip_bencode v0.4.4 [INFO] [stderr] Compiling tokio-reactor v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-udp v0.1.1 [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 `std::result::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 52.02s [INFO] running `Command { std: "docker" "inspect" "8afac27f8d6173f6a190d747c1822a85533afc0429028163886b18a816bec43c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afac27f8d6173f6a190d747c1822a85533afc0429028163886b18a816bec43c", kill_on_drop: false }` [INFO] [stdout] 8afac27f8d6173f6a190d747c1822a85533afc0429028163886b18a816bec43c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e23e1af18addeaa322a88a74e7c397b8d8981da5d9fb4faee51b7cd18c46695 [INFO] running `Command { std: "docker" "start" "-a" "4e23e1af18addeaa322a88a74e7c397b8d8981da5d9fb4faee51b7cd18c46695", 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 `std::result::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.82s [INFO] running `Command { std: "docker" "inspect" "4e23e1af18addeaa322a88a74e7c397b8d8981da5d9fb4faee51b7cd18c46695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e23e1af18addeaa322a88a74e7c397b8d8981da5d9fb4faee51b7cd18c46695", kill_on_drop: false }` [INFO] [stdout] 4e23e1af18addeaa322a88a74e7c397b8d8981da5d9fb4faee51b7cd18c46695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 39e0288dbe35e275c25ba9e94cc32c194cb1376c7604a75b0cf2876a0d18e9a5 [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" "39e0288dbe35e275c25ba9e94cc32c194cb1376c7604a75b0cf2876a0d18e9a5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `torrent` [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let torrent = Torrent::new(&torrent_content); [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 `std::result::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.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_bittorrent-df4cd96998cb6cdb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "39e0288dbe35e275c25ba9e94cc32c194cb1376c7604a75b0cf2876a0d18e9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e0288dbe35e275c25ba9e94cc32c194cb1376c7604a75b0cf2876a0d18e9a5", kill_on_drop: false }` [INFO] [stdout] 39e0288dbe35e275c25ba9e94cc32c194cb1376c7604a75b0cf2876a0d18e9a5