[INFO] cloning repository https://github.com/tamurashingo/fat-image-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tamurashingo/fat-image-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abcc8a2611d20c908d964be00a9891de00327599 [INFO] checking tamurashingo/fat-image-reader against master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamurashingo/fat-image-reader on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tamurashingo/fat-image-reader [INFO] finished tweaking git repo https://github.com/tamurashingo/fat-image-reader [INFO] tweaked toml for git repo https://github.com/tamurashingo/fat-image-reader written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tamurashingo/fat-image-reader 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" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tamurashingo/fat-image-reader against try#2466b92ed5feb282a98bb984f45d1e6d39f8c1aa for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamurashingo/fat-image-reader on toolchain 2466b92ed5feb282a98bb984f45d1e6d39f8c1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tamurashingo/fat-image-reader [INFO] finished tweaking git repo https://github.com/tamurashingo/fat-image-reader [INFO] tweaked toml for git repo https://github.com/tamurashingo/fat-image-reader written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tamurashingo/fat-image-reader 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" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 237d9f65072df7087d6887ba5311a0050da9ccd5913295ad4f712f5819ce3939 [INFO] running `Command { std: "docker" "start" "-a" "237d9f65072df7087d6887ba5311a0050da9ccd5913295ad4f712f5819ce3939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "237d9f65072df7087d6887ba5311a0050da9ccd5913295ad4f712f5819ce3939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237d9f65072df7087d6887ba5311a0050da9ccd5913295ad4f712f5819ce3939", kill_on_drop: false }` [INFO] [stdout] 237d9f65072df7087d6887ba5311a0050da9ccd5913295ad4f712f5819ce3939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6a148ddf352244d53367df835da58abf52d01122fa36e670f30f840d4d8837 [INFO] running `Command { std: "docker" "start" "-a" "5d6a148ddf352244d53367df835da58abf52d01122fa36e670f30f840d4d8837", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking fat_image_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fat.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | _ => "unknown" [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isReadOnly` should have a snake case name [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isHidden` should have a snake case name [INFO] [stdout] --> src/dir.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSystem` should have a snake case name [INFO] [stdout] --> src/dir.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isVolume` should have a snake case name [INFO] [stdout] --> src/dir.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDirectory` should have a snake case name [INFO] [stdout] --> src/dir.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isArchive` should have a snake case name [INFO] [stdout] --> src/dir.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fat.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | _ => "unknown" [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isReadOnly` should have a snake case name [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isHidden` should have a snake case name [INFO] [stdout] --> src/dir.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSystem` should have a snake case name [INFO] [stdout] --> src/dir.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isVolume` should have a snake case name [INFO] [stdout] --> src/dir.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDirectory` should have a snake case name [INFO] [stdout] --> src/dir.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isArchive` should have a snake case name [INFO] [stdout] --> src/dir.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fat.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | _ => "unknown" [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fat.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | _ => "unknown" [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `media_descriptor`, `slice_reserved_sectors`, and `reserved_sector_size` are never used [INFO] [stdout] --> src/bootsector.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl FirstSector { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn media_descriptor(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn slice_reserved_sectors(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn reserved_sector_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fat_start_sector`, `fat_sector_size`, `data_start_sector`, `data_sector_size`, and `fat_type` are never read [INFO] [stdout] --> src/fat.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Region { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub fat_start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub fat_sector_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub data_start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub data_sector_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | pub fat_type: FatType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attribute` is never read [INFO] [stdout] --> src/dir.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FileAttribute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | attribute: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `isReadOnly`, `isHidden`, `isSystem`, `isVolume`, `isDirectory`, and `isArchive` are never used [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl FileAttribute { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_attribute` and `deleted` are never read [INFO] [stdout] --> src/dir.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DirectoryEntry { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 132 | pub bytes: Vec, //&'a [u8; 32], [INFO] [stdout] 133 | file_attribute: FileAttribute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_attribute` is never used [INFO] [stdout] --> src/dir.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 142 | impl DirectoryEntry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn file_attribute(&self) -> &FileAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isReadOnly` should have a snake case name [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isHidden` should have a snake case name [INFO] [stdout] --> src/dir.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSystem` should have a snake case name [INFO] [stdout] --> src/dir.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isVolume` should have a snake case name [INFO] [stdout] --> src/dir.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDirectory` should have a snake case name [INFO] [stdout] --> src/dir.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isArchive` should have a snake case name [INFO] [stdout] --> src/dir.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/dir.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/dir.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | let (cow, encoding_used, had_errors) = SHIFT_JIS.decode(&mem); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `media_descriptor`, `slice_reserved_sectors`, and `reserved_sector_size` are never used [INFO] [stdout] --> src/bootsector.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl FirstSector { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn media_descriptor(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn slice_reserved_sectors(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn reserved_sector_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fat_start_sector`, `fat_sector_size`, `data_start_sector`, `data_sector_size`, and `fat_type` are never read [INFO] [stdout] --> src/fat.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Region { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub fat_start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub fat_sector_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub data_start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub data_sector_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | pub fat_type: FatType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attribute` is never read [INFO] [stdout] --> src/dir.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FileAttribute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | attribute: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `isReadOnly`, `isHidden`, `isSystem`, `isVolume`, `isDirectory`, and `isArchive` are never used [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl FileAttribute { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_attribute` and `deleted` are never read [INFO] [stdout] --> src/dir.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DirectoryEntry { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 132 | pub bytes: Vec, //&'a [u8; 32], [INFO] [stdout] 133 | file_attribute: FileAttribute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_attribute` is never used [INFO] [stdout] --> src/dir.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 142 | impl DirectoryEntry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn file_attribute(&self) -> &FileAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isReadOnly` should have a snake case name [INFO] [stdout] --> src/dir.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn isReadOnly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_read_only` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isHidden` should have a snake case name [INFO] [stdout] --> src/dir.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn isHidden(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSystem` should have a snake case name [INFO] [stdout] --> src/dir.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn isSystem(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isVolume` should have a snake case name [INFO] [stdout] --> src/dir.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn isVolume(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDirectory` should have a snake case name [INFO] [stdout] --> src/dir.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn isDirectory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isArchive` should have a snake case name [INFO] [stdout] --> src/dir.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn isArchive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "5d6a148ddf352244d53367df835da58abf52d01122fa36e670f30f840d4d8837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6a148ddf352244d53367df835da58abf52d01122fa36e670f30f840d4d8837", kill_on_drop: false }` [INFO] [stdout] 5d6a148ddf352244d53367df835da58abf52d01122fa36e670f30f840d4d8837