[INFO] cloning repository https://github.com/Alexander-Prime/unsarc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alexander-Prime/unsarc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Funsarc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Funsarc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78413a24ba6babf5e00825b19a64e92d8a8c1fea [INFO] checking Alexander-Prime/unsarc/78413a24ba6babf5e00825b19a64e92d8a8c1fea against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Funsarc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alexander-Prime/unsarc on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alexander-Prime/unsarc [INFO] finished tweaking git repo https://github.com/Alexander-Prime/unsarc [INFO] tweaked toml for git repo https://github.com/Alexander-Prime/unsarc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Alexander-Prime/unsarc 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26460a6466149530d7f7d4d7e81656e22d26d14da999739285e668644c5184b [INFO] running `Command { std: "docker" "start" "-a" "c26460a6466149530d7f7d4d7e81656e22d26d14da999739285e668644c5184b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26460a6466149530d7f7d4d7e81656e22d26d14da999739285e668644c5184b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26460a6466149530d7f7d4d7e81656e22d26d14da999739285e668644c5184b", kill_on_drop: false }` [INFO] [stdout] c26460a6466149530d7f7d4d7e81656e22d26d14da999739285e668644c5184b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcacfb339f5fb90d33abf9b48819925e9fe543350a9b1b5fa3f62af4f43fd3ae [INFO] running `Command { std: "docker" "start" "-a" "fcacfb339f5fb90d33abf9b48819925e9fe543350a9b1b5fa3f62af4f43fd3ae", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking unsarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sarc/reader.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaz0/reader.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | input: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sarc/reader.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_reader(mut input: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_reader(mut input: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaz0/reader.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_reader(input: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_reader(input: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sarc/reader.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaz0/reader.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | input: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | input: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sarc/reader.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_reader(mut input: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_reader(mut input: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaz0/reader.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_reader(input: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_reader(input: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `header` are never read [INFO] [stdout] --> src/sarc/reader.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SarcReader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/sarc/reader.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SarcReader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 20 | pub fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_size` is never read [INFO] [stdout] --> src/sarc/header.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename_hash`, `flags`, `start_offset`, and `end_offset` are never read [INFO] [stdout] --> src/sarc/node.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub filename_hash: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub filename_offset: u16, [INFO] [stdout] 7 | pub start_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub end_offset: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_key` is never read [INFO] [stdout] --> src/sarc/sfat.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sfat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub hash_key: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_length` and `reserved` are never read [INFO] [stdout] --> src/sarc/sfnt.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sfnt { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub header_length: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub reserved: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/yaz0/reader.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Yaz0Reader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | pub fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | file.read(&mut buf[..]); [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] 38 | let _ = file.read(&mut buf[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | file.seek(SeekFrom::Start(0x00)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = file.seek(SeekFrom::Start(0x00)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | write!(f, "{} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "{:02x} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | write!(f, "{:02X} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | self.input.read(&mut chunk[..=0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = self.input.read(&mut chunk[..=0x00]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | self.input.read(&mut self.output[new_len - 1..new_len]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = self.input.read(&mut self.output[new_len - 1..new_len]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | self.input.read(&mut chunk[..=0x01]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = self.input.read(&mut chunk[..=0x01]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | self.input.read(&mut chunk[0x02..=0x02]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = self.input.read(&mut chunk[0x02..=0x02]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | slow_copy_within(&mut self.output[..], copy_start, size, old_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = slow_copy_within(&mut self.output[..], copy_start, size, old_len); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `header` are never read [INFO] [stdout] --> src/sarc/reader.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SarcReader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub input: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/sarc/reader.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SarcReader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 20 | pub fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_size` is never read [INFO] [stdout] --> src/sarc/header.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename_hash`, `flags`, `start_offset`, and `end_offset` are never read [INFO] [stdout] --> src/sarc/node.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub filename_hash: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub filename_offset: u16, [INFO] [stdout] 7 | pub start_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub end_offset: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_key` is never read [INFO] [stdout] --> src/sarc/sfat.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sfat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub hash_key: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_length` and `reserved` are never read [INFO] [stdout] --> src/sarc/sfnt.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sfnt { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub header_length: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub reserved: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/yaz0/reader.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Yaz0Reader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | pub fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | file.read(&mut buf[..]); [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] 38 | let _ = file.read(&mut buf[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | file.seek(SeekFrom::Start(0x00)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = file.seek(SeekFrom::Start(0x00)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | write!(f, "{} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "{:02x} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bufmt.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | write!(f, "{:02X} ", byte); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | self.input.read(&mut chunk[..=0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = self.input.read(&mut chunk[..=0x00]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | self.input.read(&mut self.output[new_len - 1..new_len]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = self.input.read(&mut self.output[new_len - 1..new_len]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | self.input.read(&mut chunk[..=0x01]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = self.input.read(&mut chunk[..=0x01]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | self.input.read(&mut chunk[0x02..=0x02]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = self.input.read(&mut chunk[0x02..=0x02]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/yaz0/reader.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | slow_copy_within(&mut self.output[..], copy_start, size, old_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = slow_copy_within(&mut self.output[..], copy_start, size, old_len); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "fcacfb339f5fb90d33abf9b48819925e9fe543350a9b1b5fa3f62af4f43fd3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcacfb339f5fb90d33abf9b48819925e9fe543350a9b1b5fa3f62af4f43fd3ae", kill_on_drop: false }` [INFO] [stdout] fcacfb339f5fb90d33abf9b48819925e9fe543350a9b1b5fa3f62af4f43fd3ae