[INFO] fetching crate HoLib 0.1.2... [INFO] checking HoLib-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate HoLib 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate HoLib 0.1.2 [INFO] finished tweaking crates.io crate HoLib 0.1.2 [INFO] tweaked toml for crates.io crate HoLib 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate HoLib 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3abb4eb071a298025eab3d250bbdfe29e574e40155c9bbc997b821a50059a9ee [INFO] running `Command { std: "docker" "start" "-a" "3abb4eb071a298025eab3d250bbdfe29e574e40155c9bbc997b821a50059a9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3abb4eb071a298025eab3d250bbdfe29e574e40155c9bbc997b821a50059a9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abb4eb071a298025eab3d250bbdfe29e574e40155c9bbc997b821a50059a9ee", kill_on_drop: false }` [INFO] [stdout] 3abb4eb071a298025eab3d250bbdfe29e574e40155c9bbc997b821a50059a9ee [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20b8ffd230d4357c5c5a91b4da3fe5eef8c49eb333aa1e3126eafee1ea86b7db [INFO] running `Command { std: "docker" "start" "-a" "20b8ffd230d4357c5c5a91b4da3fe5eef8c49eb333aa1e3126eafee1ea86b7db", kill_on_drop: false }` [INFO] [stderr] Checking HoLib v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ho_archive` should have an upper camel case name [INFO] [stdout] --> src/ho_archive.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ho_archive{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HoArchive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mast` should have an upper camel case name [INFO] [stdout] --> src/mast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct mast{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `section` should have an upper camel case name [INFO] [stdout] --> src/section.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct section{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Section` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `table` should have an upper camel case name [INFO] [stdout] --> src/table.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct table{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `asset` should have an upper camel case name [INFO] [stdout] --> src/asset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct asset{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ho_archive` should have an upper camel case name [INFO] [stdout] --> src/ho_archive.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ho_archive{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HoArchive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mast` should have an upper camel case name [INFO] [stdout] --> src/mast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct mast{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `section` should have an upper camel case name [INFO] [stdout] --> src/section.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct section{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Section` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `table` should have an upper camel case name [INFO] [stdout] --> src/table.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct table{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `asset` should have an upper camel case name [INFO] [stdout] --> src/asset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct asset{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut offset: u32 = read::read_u32(&path, 0x83C) * 0x800; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut length: u32 = read::read_u32(&path, 0x840); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut section_amount: u32 = read::read_u32(&path, (offset+0x04) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut mast = mast::mast{offset: offset, length: length, section_amount: section_amount, sections: mast::get_sections(&path, offset,... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/mast.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut names: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut names: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut section_offset: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x1C) as usize) * 0x800; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut section_length: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x20) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut section_table_offset: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x38) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ... let mut section = section::section{name: string_section_name, offset: section_offset, length: section_length, is_name_container: se... [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut table_amount: u32 = read::read_u32(&path, (offset+0x08) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut data_offset = datas[t as usize][1]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut data_length = datas[t as usize][0]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dir_offset = dirs[t as usize][1]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dir_length = dirs[t as usize][0]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut length_with_padding = read::read_u32(&path, pointer); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut offset = total_offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut length = read::read_u32(&path, pointer+0x08); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut data = read::read_array(&path, total_offset as usize, length as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut platform = String::from_utf8(platform_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut username = String::from_utf8(username_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut game = String::from_utf8(game_byte).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut program = String::from_utf8(program_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut offset: u32 = read::read_u32(&path, 0x83C) * 0x800; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut length: u32 = read::read_u32(&path, 0x840); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut section_amount: u32 = read::read_u32(&path, (offset+0x04) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ho_archive.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut mast = mast::mast{offset: offset, length: length, section_amount: section_amount, sections: mast::get_sections(&path, offset,... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/mast.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut names: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut names: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut section_offset: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x1C) as usize) * 0x800; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut section_length: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x20) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut section_table_offset: u32 = read::read_u32(&path, (0x20+offset+sect*0x40+0x38) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ... let mut section = section::section{name: string_section_name, offset: section_offset, length: section_length, is_name_container: se... [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut table_amount: u32 = read::read_u32(&path, (offset+0x08) as usize); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut data_offset = datas[t as usize][1]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut data_length = datas[t as usize][0]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dir_offset = dirs[t as usize][1]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/section.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dir_length = dirs[t as usize][0]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut length_with_padding = read::read_u32(&path, pointer); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut offset = total_offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut length = read::read_u32(&path, pointer+0x08); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut data = read::read_array(&path, total_offset as usize, length as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut platform = String::from_utf8(platform_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut username = String::from_utf8(username_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut game = String::from_utf8(game_byte).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut program = String::from_utf8(program_byte).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `HoLib` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ho_lib` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "20b8ffd230d4357c5c5a91b4da3fe5eef8c49eb333aa1e3126eafee1ea86b7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b8ffd230d4357c5c5a91b4da3fe5eef8c49eb333aa1e3126eafee1ea86b7db", kill_on_drop: false }` [INFO] [stdout] 20b8ffd230d4357c5c5a91b4da3fe5eef8c49eb333aa1e3126eafee1ea86b7db