[INFO] fetching crate sveppa-torrent 0.1.0... [INFO] checking sveppa-torrent-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate sveppa-torrent 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate sveppa-torrent 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sveppa-torrent 0.1.0 [INFO] finished tweaking crates.io crate sveppa-torrent 0.1.0 [INFO] tweaked toml for crates.io crate sveppa-torrent 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] [stderr] Adding sveppa-bencode v0.1.6 (latest: v0.2.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sveppa-bencode v0.1.6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03b1fdf93c043557c52daf0f42833cec91e540f93af3928a69fa71ef08a6131f [INFO] running `Command { std: "docker" "start" "-a" "03b1fdf93c043557c52daf0f42833cec91e540f93af3928a69fa71ef08a6131f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b1fdf93c043557c52daf0f42833cec91e540f93af3928a69fa71ef08a6131f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b1fdf93c043557c52daf0f42833cec91e540f93af3928a69fa71ef08a6131f", kill_on_drop: false }` [INFO] [stdout] 03b1fdf93c043557c52daf0f42833cec91e540f93af3928a69fa71ef08a6131f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b102b25b5af5016ccda671cbd9d17e12c588b39097148ef5387a1d670fd28b1b [INFO] running `Command { std: "docker" "start" "-a" "b102b25b5af5016ccda671cbd9d17e12c588b39097148ef5387a1d670fd28b1b", kill_on_drop: false }` [INFO] [stderr] Checking sveppa-bencode v0.1.6 [INFO] [stderr] Checking sveppa-torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BencodeByteStr` [INFO] [stdout] --> src/types.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use sveppa_bencode::{Bencode, BencodeByteStr, BencodeDict}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BencodeByteStr` [INFO] [stdout] --> src/types.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use sveppa_bencode::{Bencode, BencodeByteStr, BencodeDict}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorrentFiles` [INFO] [stdout] --> src/lib.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Torrent, TorrentInfo, TorrentFiles}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Torrent` is never constructed [INFO] [stdout] --> src/types.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Torrent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Torrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentInfo` is never constructed [INFO] [stdout] --> src/types.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TorrentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentFiles` is never constructed [INFO] [stdout] --> src/types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TorrentFiles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentFiles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `parse` are never used [INFO] [stdout] --> src/types.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Torrent { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 50 | pub fn from_bytes(bytes: &[u8]) -> Torrent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn parse(bencode_tree: &Bencode) -> Torrent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TorrentInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | pub fn parse(dict: &BencodeDict) -> TorrentInfo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl TorrentFiles { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 80 | pub fn parse(bencode_tree: &BencodeDict) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_or_none` is never used [INFO] [stdout] --> src/parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_or_none( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_list_typed` is never used [INFO] [stdout] --> src/parser.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn unpackage_list_typed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_usize` is never used [INFO] [stdout] --> src/parser.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_optional_usize(dict: &BencodeDict, key: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_usize` is never used [INFO] [stdout] --> src/parser.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn unpackage_usize(dict: &BencodeDict, key: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_string` is never used [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn unpackage_string(dict: &BencodeDict, key: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_dict` is never used [INFO] [stdout] --> src/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unpackage_dict(bencode: &Bencode) -> &BencodeDict { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_subdict` is never used [INFO] [stdout] --> src/parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn unpackage_subdict<'a>(dict: &'a BencodeDict, key: &Vec) -> &'a BencodeDict { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_bytearray` is never used [INFO] [stdout] --> src/parser.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn unpackage_bytearray(dict: &BencodeDict, key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pieces` is never read [INFO] [stdout] --> src/types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TorrentInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub pieces: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `path` are never read [INFO] [stdout] --> src/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TorrentFiles { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 42 | /// size of the file in bytes [INFO] [stdout] 43 | pub length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentFiles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "b102b25b5af5016ccda671cbd9d17e12c588b39097148ef5387a1d670fd28b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b102b25b5af5016ccda671cbd9d17e12c588b39097148ef5387a1d670fd28b1b", kill_on_drop: false }` [INFO] [stdout] b102b25b5af5016ccda671cbd9d17e12c588b39097148ef5387a1d670fd28b1b [INFO] checking sveppa-torrent-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate sveppa-torrent 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sveppa-torrent 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sveppa-torrent 0.1.0 [INFO] finished tweaking crates.io crate sveppa-torrent 0.1.0 [INFO] tweaked toml for crates.io crate sveppa-torrent 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86916d1303b08a29349f939f452026476b56c8e7b55ecf77b4d80a98c52a1b12 [INFO] running `Command { std: "docker" "start" "-a" "86916d1303b08a29349f939f452026476b56c8e7b55ecf77b4d80a98c52a1b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86916d1303b08a29349f939f452026476b56c8e7b55ecf77b4d80a98c52a1b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86916d1303b08a29349f939f452026476b56c8e7b55ecf77b4d80a98c52a1b12", kill_on_drop: false }` [INFO] [stdout] 86916d1303b08a29349f939f452026476b56c8e7b55ecf77b4d80a98c52a1b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0ae3a930a26c41ba58e47afb117fa376ac7c09272b25f706037d093a91cfe7 [INFO] running `Command { std: "docker" "start" "-a" "ea0ae3a930a26c41ba58e47afb117fa376ac7c09272b25f706037d093a91cfe7", kill_on_drop: false }` [INFO] [stderr] Checking sveppa-bencode v0.1.6 [INFO] [stderr] Checking sveppa-torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BencodeByteStr` [INFO] [stdout] --> src/types.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use sveppa_bencode::{Bencode, BencodeByteStr, BencodeDict}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BencodeByteStr` [INFO] [stdout] --> src/types.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use sveppa_bencode::{Bencode, BencodeByteStr, BencodeDict}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TorrentFiles` [INFO] [stdout] --> src/lib.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Torrent, TorrentInfo, TorrentFiles}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Torrent` is never constructed [INFO] [stdout] --> src/types.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Torrent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Torrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentInfo` is never constructed [INFO] [stdout] --> src/types.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TorrentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentFiles` is never constructed [INFO] [stdout] --> src/types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TorrentFiles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentFiles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `parse` are never used [INFO] [stdout] --> src/types.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Torrent { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 50 | pub fn from_bytes(bytes: &[u8]) -> Torrent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn parse(bencode_tree: &Bencode) -> Torrent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TorrentInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | pub fn parse(dict: &BencodeDict) -> TorrentInfo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl TorrentFiles { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 80 | pub fn parse(bencode_tree: &BencodeDict) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_or_none` is never used [INFO] [stdout] --> src/parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_or_none( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_list_typed` is never used [INFO] [stdout] --> src/parser.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn unpackage_list_typed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_usize` is never used [INFO] [stdout] --> src/parser.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_optional_usize(dict: &BencodeDict, key: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_usize` is never used [INFO] [stdout] --> src/parser.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn unpackage_usize(dict: &BencodeDict, key: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_string` is never used [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn unpackage_string(dict: &BencodeDict, key: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_dict` is never used [INFO] [stdout] --> src/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unpackage_dict(bencode: &Bencode) -> &BencodeDict { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_subdict` is never used [INFO] [stdout] --> src/parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn unpackage_subdict<'a>(dict: &'a BencodeDict, key: &Vec) -> &'a BencodeDict { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpackage_bytearray` is never used [INFO] [stdout] --> src/parser.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn unpackage_bytearray(dict: &BencodeDict, key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pieces` is never read [INFO] [stdout] --> src/types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TorrentInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub pieces: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `path` are never read [INFO] [stdout] --> src/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TorrentFiles { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 42 | /// size of the file in bytes [INFO] [stdout] 43 | pub length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentFiles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "ea0ae3a930a26c41ba58e47afb117fa376ac7c09272b25f706037d093a91cfe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0ae3a930a26c41ba58e47afb117fa376ac7c09272b25f706037d093a91cfe7", kill_on_drop: false }` [INFO] [stdout] ea0ae3a930a26c41ba58e47afb117fa376ac7c09272b25f706037d093a91cfe7