[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#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Frs_torrent" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wismer/rs_torrent on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d26bfa61a92eff413ab834afd25203d8202ade0d9973f24e56eee3de59a81d45 [INFO] running `Command { std: "docker" "start" "-a" "d26bfa61a92eff413ab834afd25203d8202ade0d9973f24e56eee3de59a81d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26bfa61a92eff413ab834afd25203d8202ade0d9973f24e56eee3de59a81d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26bfa61a92eff413ab834afd25203d8202ade0d9973f24e56eee3de59a81d45", kill_on_drop: false }` [INFO] [stdout] d26bfa61a92eff413ab834afd25203d8202ade0d9973f24e56eee3de59a81d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df6237cc6522f53ecf9d8439b2686e2d874254691928fccd9c515a97fcc6d82f [INFO] running `Command { std: "docker" "start" "-a" "df6237cc6522f53ecf9d8439b2686e2d874254691928fccd9c515a97fcc6d82f", 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 lazycell v0.6.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling sha1 v0.6.0 [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 crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling tokio-executor v0.1.3 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [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 tokio-reactor v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling bip_bencode v0.4.4 [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: `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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: method `tracker_query_params` is never used [INFO] [stdout] --> src/torrent/torrent.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Torrent { [INFO] [stdout] | ------------ method in this implementation [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = torrent_file.read_to_end(&mut contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/torrent/torrent.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | .list().unwrap() [INFO] [stdout] | _____________________________^ [INFO] [stdout] 38 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/torrent/torrent.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | let file_path = bencode_ref.dict().unwrap().lookup(b"path").unwrap().list().unwrap() [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 72 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.64s [INFO] running `Command { std: "docker" "inspect" "df6237cc6522f53ecf9d8439b2686e2d874254691928fccd9c515a97fcc6d82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6237cc6522f53ecf9d8439b2686e2d874254691928fccd9c515a97fcc6d82f", kill_on_drop: false }` [INFO] [stdout] df6237cc6522f53ecf9d8439b2686e2d874254691928fccd9c515a97fcc6d82f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b06f79fd5bf36c2c671b36a60b9c8c7f9daabb441c5648bfdbc8522a3dda73f [INFO] running `Command { std: "docker" "start" "-a" "4b06f79fd5bf36c2c671b36a60b9c8c7f9daabb441c5648bfdbc8522a3dda73f", kill_on_drop: false }` [INFO] [stderr] Compiling rs_bittorrent v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: method `tracker_query_params` is never used [INFO] [stdout] --> src/torrent/torrent.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Torrent { [INFO] [stdout] | ------------ method in this implementation [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = torrent_file.read_to_end(&mut contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/torrent/torrent.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | .list().unwrap() [INFO] [stdout] | _____________________________^ [INFO] [stdout] 38 | | .clone() [INFO] [stdout] | |____________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/torrent/torrent.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | let file_path = bencode_ref.dict().unwrap().lookup(b"path").unwrap().list().unwrap() [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 72 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "4b06f79fd5bf36c2c671b36a60b9c8c7f9daabb441c5648bfdbc8522a3dda73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b06f79fd5bf36c2c671b36a60b9c8c7f9daabb441c5648bfdbc8522a3dda73f", kill_on_drop: false }` [INFO] [stdout] 4b06f79fd5bf36c2c671b36a60b9c8c7f9daabb441c5648bfdbc8522a3dda73f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00a71980d8216cf0f243ae8c9a9eecb42c4c6914650ed1176da3366a2e22465b [INFO] running `Command { std: "docker" "start" "-a" "00a71980d8216cf0f243ae8c9a9eecb42c4c6914650ed1176da3366a2e22465b", kill_on_drop: false }` [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [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] warning: method `tracker_query_params` is never used [INFO] [stderr] --> src/torrent/torrent.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl Torrent { [INFO] [stderr] | ------------ method in this implementation [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 33 | let _ = torrent_file.read_to_end(&mut contents); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/torrent/torrent.rs:37:29 [INFO] [stderr] | [INFO] [stderr] 37 | .list().unwrap() [INFO] [stderr] | _____________________________^ [INFO] [stderr] 38 | | .clone() [INFO] [stderr] | |____________________^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/torrent/torrent.rs:71:89 [INFO] [stderr] | [INFO] [stderr] 71 | let file_path = bencode_ref.dict().unwrap().lookup(b"path").unwrap().list().unwrap() [INFO] [stderr] | _________________________________________________________________________________________^ [INFO] [stderr] 72 | | .clone() [INFO] [stderr] | |________________^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `dyn BListAccess>` does not implement `Clone`, so calling `clone` on `&dyn BListAccess>` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `rs_bittorrent` (bin "rs_bittorrent" test) generated 6 warnings (run `cargo fix --bin "rs_bittorrent" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rs_bittorrent-184ad017a308c98e) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00a71980d8216cf0f243ae8c9a9eecb42c4c6914650ed1176da3366a2e22465b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a71980d8216cf0f243ae8c9a9eecb42c4c6914650ed1176da3366a2e22465b", kill_on_drop: false }` [INFO] [stdout] 00a71980d8216cf0f243ae8c9a9eecb42c4c6914650ed1176da3366a2e22465b