[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#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamurashingo/fat-image-reader on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "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-6-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" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "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#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamurashingo%2Ffat-image-reader" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamurashingo/fat-image-reader on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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-6-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b3686c293996f7a058cda096e91386164773a9d9d10cd1c786feeff6b356868 [INFO] running `Command { std: "docker" "start" "-a" "4b3686c293996f7a058cda096e91386164773a9d9d10cd1c786feeff6b356868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3686c293996f7a058cda096e91386164773a9d9d10cd1c786feeff6b356868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3686c293996f7a058cda096e91386164773a9d9d10cd1c786feeff6b356868", kill_on_drop: false }` [INFO] [stdout] 4b3686c293996f7a058cda096e91386164773a9d9d10cd1c786feeff6b356868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92052548ca6a7eb6608f6493f125ae6f5259e6d03034565de0cd4e3fb6b1a2f4 [INFO] running `Command { std: "docker" "start" "-a" "92052548ca6a7eb6608f6493f125ae6f5259e6d03034565de0cd4e3fb6b1a2f4", kill_on_drop: false }` [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: 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: `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: `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: `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: 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 `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 `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 `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 `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: 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: 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: 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: field `file_attribute` is never read [INFO] [stdout] --> src/dir.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DirectoryEntry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 132 | pub bytes: Vec, //&'a [u8; 32], [INFO] [stdout] 133 | file_attribute: FileAttribute, [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: 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: 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: 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: 16 warnings emitted [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: 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: field `file_attribute` is never read [INFO] [stdout] --> src/dir.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DirectoryEntry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 132 | pub bytes: Vec, //&'a [u8; 32], [INFO] [stdout] 133 | file_attribute: FileAttribute, [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "92052548ca6a7eb6608f6493f125ae6f5259e6d03034565de0cd4e3fb6b1a2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92052548ca6a7eb6608f6493f125ae6f5259e6d03034565de0cd4e3fb6b1a2f4", kill_on_drop: false }` [INFO] [stdout] 92052548ca6a7eb6608f6493f125ae6f5259e6d03034565de0cd4e3fb6b1a2f4