[INFO] cloning repository https://github.com/RainbowCookie32/rusty-torrents [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RainbowCookie32/rusty-torrents" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainbowCookie32%2Frusty-torrents", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainbowCookie32%2Frusty-torrents'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7638465c110a0982d8e61b917baa873a96691c6e [INFO] testing RainbowCookie32/rusty-torrents against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainbowCookie32%2Frusty-torrents" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RainbowCookie32/rusty-torrents on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RainbowCookie32/rusty-torrents [INFO] finished tweaking git repo https://github.com/RainbowCookie32/rusty-torrents [INFO] tweaked toml for git repo https://github.com/RainbowCookie32/rusty-torrents written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/RainbowCookie32/rusty-torrents already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-net v1.6.1 [INFO] [stderr] Downloaded urlencoding v1.3.3 [INFO] [stderr] Downloaded hyper v0.14.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b762dcb98da6acd77a46d0a65ef78ed172d2bdc855f0469ab0ca0979ddc15350 [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" "b762dcb98da6acd77a46d0a65ef78ed172d2bdc855f0469ab0ca0979ddc15350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b762dcb98da6acd77a46d0a65ef78ed172d2bdc855f0469ab0ca0979ddc15350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b762dcb98da6acd77a46d0a65ef78ed172d2bdc855f0469ab0ca0979ddc15350", kill_on_drop: false }` [INFO] [stdout] b762dcb98da6acd77a46d0a65ef78ed172d2bdc855f0469ab0ca0979ddc15350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--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] b039aa72561469cd4f0e4095a2d2c9222867c9c03260421adecb955d0b3eb134 [INFO] running `Command { std: "docker" "start" "-a" "b039aa72561469cd4f0e4095a2d2c9222867c9c03260421adecb955d0b3eb134", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rusty-parser v0.1.0 (/opt/rustwide/workdir/rusty-parser) [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling rusty-torrents v0.1.0 (/opt/rustwide/workdir/rusty-torrents) [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Udp` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Udp [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stopped` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Completed` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PeriodicRequest` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | PeriodicRequest [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_piece` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `torrent_info` [INFO] [stdout] --> rusty-torrents/src/engine/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | torrent_info: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "b039aa72561469cd4f0e4095a2d2c9222867c9c03260421adecb955d0b3eb134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b039aa72561469cd4f0e4095a2d2c9222867c9c03260421adecb955d0b3eb134", kill_on_drop: false }` [INFO] [stdout] b039aa72561469cd4f0e4095a2d2c9222867c9c03260421adecb955d0b3eb134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 27f552d94b739c61239627e4763a84394220ac5f69331f1d95b154e4fbff8fbe [INFO] running `Command { std: "docker" "start" "-a" "27f552d94b739c61239627e4763a84394220ac5f69331f1d95b154e4fbff8fbe", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-parser v0.1.0 (/opt/rustwide/workdir/rusty-parser) [INFO] [stderr] Compiling rusty-torrents v0.1.0 (/opt/rustwide/workdir/rusty-torrents) [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Udp` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Udp [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stopped` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Completed` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PeriodicRequest` [INFO] [stdout] --> rusty-torrents/src/engine/tracker/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | PeriodicRequest [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_piece` [INFO] [stdout] --> rusty-torrents/src/engine/file.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `torrent_info` [INFO] [stdout] --> rusty-torrents/src/engine/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | torrent_info: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "27f552d94b739c61239627e4763a84394220ac5f69331f1d95b154e4fbff8fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f552d94b739c61239627e4763a84394220ac5f69331f1d95b154e4fbff8fbe", kill_on_drop: false }` [INFO] [stdout] 27f552d94b739c61239627e4763a84394220ac5f69331f1d95b154e4fbff8fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32cf8e23345afeb8737e866f141309a8f1ba05c1dc7471618280d9211e123bda [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" "32cf8e23345afeb8737e866f141309a8f1ba05c1dc7471618280d9211e123bda", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> rusty-torrents/src/engine/file.rs:55:35 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> rusty-torrents/src/engine/file.rs:55:48 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Udp` [INFO] [stderr] --> rusty-torrents/src/engine/tracker/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Udp [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Stopped` [INFO] [stderr] --> rusty-torrents/src/engine/tracker/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Stopped, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Completed` [INFO] [stderr] --> rusty-torrents/src/engine/tracker/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Completed, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PeriodicRequest` [INFO] [stderr] --> rusty-torrents/src/engine/tracker/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | PeriodicRequest [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_piece` [INFO] [stderr] --> rusty-torrents/src/engine/file.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn write_piece(&mut self, offset: u64, data: Vec) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `torrent_info` [INFO] [stderr] --> rusty-torrents/src/engine/mod.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | torrent_info: Arc [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty-torrents` (bin "rusty-torrents" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rusty_parser-2e4915a49b023fda) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::torrent_parsing ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::torrent_parsing stdout ---- [INFO] [stdout] thread 'tests::torrent_parsing' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', rusty-parser/src/lib.rs:363:111 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55771c2c4a30 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55771c2c4a30 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55771c2c4a30 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55771c2c4a30 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55771c2e727c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55771c2c1995 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55771c2c6bab - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55771c2c6bab - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55771c2c6bab - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55771c2c66bc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55771c2c7274 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55771c2c6d57 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55771c2c4f0c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55771c2c6cb9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55771c2593b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55771c2594a3 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x55771c2666b4 - core::result::Result::unwrap::h6426fad5794206f9 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/result.rs:1281:23 [INFO] [stdout] 17: 0x55771c26bcb3 - rusty_parser::tests::torrent_parsing::h8111b9572449b9b8 [INFO] [stdout] at /opt/rustwide/workdir/rusty-parser/src/lib.rs:363:25 [INFO] [stdout] 18: 0x55771c26bc6a - rusty_parser::tests::torrent_parsing::{{closure}}::hb62b612ac0d9f5b6 [INFO] [stdout] at /opt/rustwide/workdir/rusty-parser/src/lib.rs:362:5 [INFO] [stdout] 19: 0x55771c26b35e - core::ops::function::FnOnce::call_once::h8ffeaf05c0ce93c3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55771c2a8f43 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55771c2a8f43 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x55771c2a79b8 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55771c2a79b8 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55771c2a79b8 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55771c2a79b8 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55771c2a79b8 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55771c2a79b8 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x55771c2a79b8 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x55771c27613d - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x55771c27613d - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55771c27a868 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55771c27a868 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55771c27a868 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55771c27a868 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55771c27a868 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55771c27a868 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55771c27a868 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55771c2cbde7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55771c2cbde7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55771c2cbde7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 41: 0x7f12b5b3c609 - start_thread [INFO] [stdout] 42: 0x7f12b590e293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::torrent_parsing [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '-p rusty-parser --lib' [INFO] running `Command { std: "docker" "inspect" "32cf8e23345afeb8737e866f141309a8f1ba05c1dc7471618280d9211e123bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cf8e23345afeb8737e866f141309a8f1ba05c1dc7471618280d9211e123bda", kill_on_drop: false }` [INFO] [stdout] 32cf8e23345afeb8737e866f141309a8f1ba05c1dc7471618280d9211e123bda