[INFO] cloning repository https://github.com/ch4rc0al1080/rust-coffloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ch4rc0al1080/rust-coffloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch4rc0al1080%2Frust-coffloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch4rc0al1080%2Frust-coffloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2ae328ad8682240f053e9e36d498460b279e936 [INFO] building ch4rc0al1080/rust-coffloader against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch4rc0al1080%2Frust-coffloader" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ch4rc0al1080/rust-coffloader on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ch4rc0al1080/rust-coffloader [INFO] finished tweaking git repo https://github.com/ch4rc0al1080/rust-coffloader [INFO] tweaked toml for git repo https://github.com/ch4rc0al1080/rust-coffloader written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ch4rc0al1080/rust-coffloader 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7d400cb368cb5fc76039068c8ef69ebb2443fa9cc19ea6dc8f0259e0ec7f090 [INFO] running `Command { std: "docker" "start" "-a" "f7d400cb368cb5fc76039068c8ef69ebb2443fa9cc19ea6dc8f0259e0ec7f090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7d400cb368cb5fc76039068c8ef69ebb2443fa9cc19ea6dc8f0259e0ec7f090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d400cb368cb5fc76039068c8ef69ebb2443fa9cc19ea6dc8f0259e0ec7f090", kill_on_drop: false }` [INFO] [stdout] f7d400cb368cb5fc76039068c8ef69ebb2443fa9cc19ea6dc8f0259e0ec7f090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a154e7f155151968ae463e5ac7ec1b5ddd51c22125a313d848aef852d81f593e [INFO] running `Command { std: "docker" "start" "-a" "a154e7f155151968ae463e5ac7ec1b5ddd51c22125a313d848aef852d81f593e", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.3 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling windows-targets v0.52.3 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling region v3.0.0 [INFO] [stderr] Compiling windows v0.54.0 [INFO] [stderr] Compiling rust-coffloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `windows::Win32::System::LibraryLoader::GetProcAddress` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::LibraryLoader::GetProcAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::System::LibraryLoader::LoadLibraryA` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::LibraryLoader::LoadLibraryA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let v = (unsafe { S.offset_from(P) as u32 - 4 }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 237 - let v = (unsafe { S.offset_from(P) as u32 - 4 }); [INFO] [stdout] 237 + let v = unsafe { S.offset_from(P) as u32 - 4 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let v = (unsafe { S.offset_from(P) as u32 }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 248 - let v = (unsafe { S.offset_from(P) as u32 }); [INFO] [stdout] 248 + let v = unsafe { S.offset_from(P) as u32 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text_entry` is never read [INFO] [stdout] --> src/main.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut text_entry = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_external_symbol` is never used [INFO] [stdout] --> src/main.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn process_external_symbol() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Machine`, `TimeDateStamp`, `SizeOfOptionalHeader`, and `Characteristics` are never read [INFO] [stdout] --> src/coff_structs.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CoffFileHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub Machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub NumberOfSections: u16, [INFO] [stdout] 7 | pub TimeDateStamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub SizeOfOptionalHeader: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub Characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoffFileHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CoffFileHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn empty() -> CoffFileHeader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualSize`, `PointerToLinenumbers`, `NumberOfLinenumbers`, and `Characteristics` are never read [INFO] [stdout] --> src/coff_structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub NumberOfRelocations: u16, [INFO] [stdout] 56 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub Characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Type` and `NumberOfAuxSymbols` are never read [INFO] [stdout] --> src/coff_structs.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SymbolTable { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | pub StorageClass: u8, [INFO] [stdout] 115 | pub NumberOfAuxSymbols: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl SymbolTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn empty() -> SymbolTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl RelocationTable { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn empty() -> RelocationTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_END_OF_FUNCTION` is never used [INFO] [stdout] --> src/coff_structs.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | pub const IMAGE_SYM_CLASS_END_OF_FUNCTION: i8 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_NULL` is never used [INFO] [stdout] --> src/coff_structs.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub const IMAGE_SYM_CLASS_NULL: i8 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_AUTOMATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | pub const IMAGE_SYM_CLASS_AUTOMATIC: i8 = 0x0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_STATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub const IMAGE_SYM_CLASS_STATIC: i8 = 0x0003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_REGISTER` is never used [INFO] [stdout] --> src/coff_structs.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | pub const IMAGE_SYM_CLASS_REGISTER: i8 = 0x0004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_EXTERNAL_DEF` is never used [INFO] [stdout] --> src/coff_structs.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub const IMAGE_SYM_CLASS_EXTERNAL_DEF: i8 = 0x0005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_LABEL` is never used [INFO] [stdout] --> src/coff_structs.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub const IMAGE_SYM_CLASS_LABEL: i8 = 0x0006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNDEFINED_LABEL` is never used [INFO] [stdout] --> src/coff_structs.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | pub const IMAGE_SYM_CLASS_UNDEFINED_LABEL: i8 = 0x0007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_STRUCT` is never used [INFO] [stdout] --> src/coff_structs.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | pub const IMAGE_SYM_CLASS_MEMBER_OF_STRUCT: i8 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_ARGUMENT` is never used [INFO] [stdout] --> src/coff_structs.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | pub const IMAGE_SYM_CLASS_ARGUMENT: i8 = 0x0009; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_STRUCT_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | pub const IMAGE_SYM_CLASS_STRUCT_TAG: i8 = 0x000A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_UNION` is never used [INFO] [stdout] --> src/coff_structs.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub const IMAGE_SYM_CLASS_MEMBER_OF_UNION: i8 = 0x000B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNION_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const IMAGE_SYM_CLASS_UNION_TAG: i8 = 0x000C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_TYPE_DEFINITION` is never used [INFO] [stdout] --> src/coff_structs.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | pub const IMAGE_SYM_CLASS_TYPE_DEFINITION: i8 = 0x000D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNDEFINED_STATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | pub const IMAGE_SYM_CLASS_UNDEFINED_STATIC: i8 = 0x000E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_ENUM_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub const IMAGE_SYM_CLASS_ENUM_TAG: i8 = 0x000F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_ENUM` is never used [INFO] [stdout] --> src/coff_structs.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | pub const IMAGE_SYM_CLASS_MEMBER_OF_ENUM: i8 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_REGISTER_PARAM` is never used [INFO] [stdout] --> src/coff_structs.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub const IMAGE_SYM_CLASS_REGISTER_PARAM: i8 = 0x0011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_BIT_FIELD` is never used [INFO] [stdout] --> src/coff_structs.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | pub const IMAGE_SYM_CLASS_BIT_FIELD: i8 = 0x0012; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FAR_EXTERNAL` is never used [INFO] [stdout] --> src/coff_structs.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | pub const IMAGE_SYM_CLASS_FAR_EXTERNAL: i8 = 0x0044; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_BLOCK` is never used [INFO] [stdout] --> src/coff_structs.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | pub const IMAGE_SYM_CLASS_BLOCK: i8 = 0x0064; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FUNCTION` is never used [INFO] [stdout] --> src/coff_structs.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | pub const IMAGE_SYM_CLASS_FUNCTION: i8 = 0x0065; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_END_OF_STRUCT` is never used [INFO] [stdout] --> src/coff_structs.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub const IMAGE_SYM_CLASS_END_OF_STRUCT: i8 = 0x0066; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FILE` is never used [INFO] [stdout] --> src/coff_structs.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | pub const IMAGE_SYM_CLASS_FILE: i8 = 0x0067; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_SECTION` is never used [INFO] [stdout] --> src/coff_structs.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | pub const IMAGE_SYM_CLASS_SECTION: i8 = 0x0068; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_WEAK_EXTERNAL` is never used [INFO] [stdout] --> src/coff_structs.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub const IMAGE_SYM_CLASS_WEAK_EXTERNAL: i8 = 0x0069; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_CLR_TOKEN` is never used [INFO] [stdout] --> src/coff_structs.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 215 | pub const IMAGE_SYM_CLASS_CLR_TOKEN: i8 = 0x006B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_ABSOLUTE` is never used [INFO] [stdout] --> src/coff_structs.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub const IMAGE_REL_AMD64_ABSOLUTE: u16 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_ADDR32` is never used [INFO] [stdout] --> src/coff_structs.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub const IMAGE_REL_AMD64_ADDR32: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_1` is never used [INFO] [stdout] --> src/coff_structs.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | pub const IMAGE_REL_AMD64_REL32_1: u16 = 0x0005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_2` is never used [INFO] [stdout] --> src/coff_structs.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub const IMAGE_REL_AMD64_REL32_2: u16 = 0x0006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_3` is never used [INFO] [stdout] --> src/coff_structs.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | pub const IMAGE_REL_AMD64_REL32_3: u16 = 0x0007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_4` is never used [INFO] [stdout] --> src/coff_structs.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | pub const IMAGE_REL_AMD64_REL32_4: u16 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_5` is never used [INFO] [stdout] --> src/coff_structs.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | pub const IMAGE_REL_AMD64_REL32_5: u16 = 0x0009; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECTION` is never used [INFO] [stdout] --> src/coff_structs.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | pub const IMAGE_REL_AMD64_SECTION: u16 = 0x000A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECREL` is never used [INFO] [stdout] --> src/coff_structs.rs:228:11 [INFO] [stdout] | [INFO] [stdout] 228 | pub const IMAGE_REL_AMD64_SECREL: u16 = 0x000B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECREL7` is never used [INFO] [stdout] --> src/coff_structs.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | pub const IMAGE_REL_AMD64_SECREL7: u16 = 0x000C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_TOKEN` is never used [INFO] [stdout] --> src/coff_structs.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub const IMAGE_REL_AMD64_TOKEN: u16 = 0x000D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SREL32` is never used [INFO] [stdout] --> src/coff_structs.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | pub const IMAGE_REL_AMD64_SREL32: u16 = 0x000E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_PAIR` is never used [INFO] [stdout] --> src/coff_structs.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | pub const IMAGE_REL_AMD64_PAIR: u16 = 0x000F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SSPAN32` is never used [INFO] [stdout] --> src/coff_structs.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 233 | pub const IMAGE_REL_AMD64_SSPAN32: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/main.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let mut S: *const u8 = coff_file.as_ptr().add( [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let P = coff_text [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | P: *const u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | S: *const u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Type: &u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 215 | r#type: &u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Value: &u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let P = unsafe { P.offset_from(coff_text.as_ptr()) as usize }; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/utils.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add32(v: &mut Vec, P: usize, V: u32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/utils.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add32(v: &mut Vec, P: usize, V: u32) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Machine` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub Machine: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfSections` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub NumberOfSections: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TimeDateStamp` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TimeDateStamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_date_stamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToSymbolTable` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub PointerToSymbolTable: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub NumberOfSymbols: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeOfOptionalHeader` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub SizeOfOptionalHeader: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_optional_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Machine` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let Machine = vec2u16(&contents[..2]); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfSections` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let NumberOfSections = vec2u16(&contents[2..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeDateStamp` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let TimeDateStamp = vec2u32(&contents[4..8]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_date_stamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToSymbolTable` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let PointerToSymbolTable = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let NumberOfSymbols = vec2u32(&contents[12..16]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SizeOfOptionalHeader` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let SizeOfOptionalHeader = vec2u16(&contents[16..18]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_optional_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let Characteristics = vec2u16(&contents[18..20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub Name: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualSize` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeOfRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub SizeOfRawData: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub PointerToRawData: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub PointerToRelocations: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub NumberOfRelocations: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub Characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let Name = Vec::from(&contents[..8]); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualSize` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let VirtualSize = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let VirtualAddress = vec2u32(&contents[12..16]); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SizeOfRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let SizeOfRawData = vec2u32(&contents[16..20]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let PointerToRawData = vec2u32(&contents[20..24]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let PointerToRelocations = vec2u32(&contents[24..28]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let PointerToLinenumbers = vec2u32(&contents[28..32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let NumberOfRelocations = vec2u16(&contents[32..34]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let NumberOfLinenumbers = vec2u16(&contents[34..36]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let Characteristics = vec2u32(&contents[36..40]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub Name: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub Value: u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SectionNumber` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub SectionNumber: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 113 | pub r#type: u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `StorageClass` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub StorageClass: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfAuxSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub NumberOfAuxSymbols: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_aux_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let Name = Vec::from(&contents[..8]); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let Value = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SectionNumber` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let SectionNumber = vec2u16(&contents[12..14]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let Type = vec2u16(&contents[14..16]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 130 | let r#type = vec2u16(&contents[14..16]); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StorageClass` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let StorageClass = contents[16]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAuxSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let NumberOfAuxSymbols = contents[17]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_aux_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SymbolTableIndex` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub SymbolTableIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 158 | pub r#type: u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let VirtualAddress = vec2u32(&contents[..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SymbolTableIndex` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let SymbolTableIndex = vec2u32(&contents[4..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let Type = vec2u16(&contents[8..10]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 172 | let r#type = vec2u16(&contents[8..10]); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "a154e7f155151968ae463e5ac7ec1b5ddd51c22125a313d848aef852d81f593e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a154e7f155151968ae463e5ac7ec1b5ddd51c22125a313d848aef852d81f593e", kill_on_drop: false }` [INFO] [stdout] a154e7f155151968ae463e5ac7ec1b5ddd51c22125a313d848aef852d81f593e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cf3151d57f008fb05be6762cc415286e809d4d587ea6418b681c9cc03fd9c62 [INFO] running `Command { std: "docker" "start" "-a" "2cf3151d57f008fb05be6762cc415286e809d4d587ea6418b681c9cc03fd9c62", kill_on_drop: false }` [INFO] [stderr] Compiling rust-coffloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `windows::Win32::System::LibraryLoader::GetProcAddress` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::LibraryLoader::GetProcAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::System::LibraryLoader::LoadLibraryA` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::LibraryLoader::LoadLibraryA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let v = (unsafe { S.offset_from(P) as u32 - 4 }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 237 - let v = (unsafe { S.offset_from(P) as u32 - 4 }); [INFO] [stdout] 237 + let v = unsafe { S.offset_from(P) as u32 - 4 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let v = (unsafe { S.offset_from(P) as u32 }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 248 - let v = (unsafe { S.offset_from(P) as u32 }); [INFO] [stdout] 248 + let v = unsafe { S.offset_from(P) as u32 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text_entry` is never read [INFO] [stdout] --> src/main.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut text_entry = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_external_symbol` is never used [INFO] [stdout] --> src/main.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn process_external_symbol() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Machine`, `TimeDateStamp`, `SizeOfOptionalHeader`, and `Characteristics` are never read [INFO] [stdout] --> src/coff_structs.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CoffFileHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub Machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub NumberOfSections: u16, [INFO] [stdout] 7 | pub TimeDateStamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub SizeOfOptionalHeader: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub Characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoffFileHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CoffFileHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn empty() -> CoffFileHeader { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualSize`, `PointerToLinenumbers`, `NumberOfLinenumbers`, and `Characteristics` are never read [INFO] [stdout] --> src/coff_structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub NumberOfRelocations: u16, [INFO] [stdout] 56 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub Characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Type` and `NumberOfAuxSymbols` are never read [INFO] [stdout] --> src/coff_structs.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SymbolTable { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | pub StorageClass: u8, [INFO] [stdout] 115 | pub NumberOfAuxSymbols: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl SymbolTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn empty() -> SymbolTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/coff_structs.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl RelocationTable { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn empty() -> RelocationTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_END_OF_FUNCTION` is never used [INFO] [stdout] --> src/coff_structs.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | pub const IMAGE_SYM_CLASS_END_OF_FUNCTION: i8 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_NULL` is never used [INFO] [stdout] --> src/coff_structs.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub const IMAGE_SYM_CLASS_NULL: i8 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_AUTOMATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | pub const IMAGE_SYM_CLASS_AUTOMATIC: i8 = 0x0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_STATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub const IMAGE_SYM_CLASS_STATIC: i8 = 0x0003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_REGISTER` is never used [INFO] [stdout] --> src/coff_structs.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | pub const IMAGE_SYM_CLASS_REGISTER: i8 = 0x0004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_EXTERNAL_DEF` is never used [INFO] [stdout] --> src/coff_structs.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub const IMAGE_SYM_CLASS_EXTERNAL_DEF: i8 = 0x0005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_LABEL` is never used [INFO] [stdout] --> src/coff_structs.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub const IMAGE_SYM_CLASS_LABEL: i8 = 0x0006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNDEFINED_LABEL` is never used [INFO] [stdout] --> src/coff_structs.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | pub const IMAGE_SYM_CLASS_UNDEFINED_LABEL: i8 = 0x0007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_STRUCT` is never used [INFO] [stdout] --> src/coff_structs.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | pub const IMAGE_SYM_CLASS_MEMBER_OF_STRUCT: i8 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_ARGUMENT` is never used [INFO] [stdout] --> src/coff_structs.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | pub const IMAGE_SYM_CLASS_ARGUMENT: i8 = 0x0009; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_STRUCT_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | pub const IMAGE_SYM_CLASS_STRUCT_TAG: i8 = 0x000A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_UNION` is never used [INFO] [stdout] --> src/coff_structs.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub const IMAGE_SYM_CLASS_MEMBER_OF_UNION: i8 = 0x000B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNION_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const IMAGE_SYM_CLASS_UNION_TAG: i8 = 0x000C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_TYPE_DEFINITION` is never used [INFO] [stdout] --> src/coff_structs.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | pub const IMAGE_SYM_CLASS_TYPE_DEFINITION: i8 = 0x000D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_UNDEFINED_STATIC` is never used [INFO] [stdout] --> src/coff_structs.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | pub const IMAGE_SYM_CLASS_UNDEFINED_STATIC: i8 = 0x000E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_ENUM_TAG` is never used [INFO] [stdout] --> src/coff_structs.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub const IMAGE_SYM_CLASS_ENUM_TAG: i8 = 0x000F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_MEMBER_OF_ENUM` is never used [INFO] [stdout] --> src/coff_structs.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | pub const IMAGE_SYM_CLASS_MEMBER_OF_ENUM: i8 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_REGISTER_PARAM` is never used [INFO] [stdout] --> src/coff_structs.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub const IMAGE_SYM_CLASS_REGISTER_PARAM: i8 = 0x0011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_BIT_FIELD` is never used [INFO] [stdout] --> src/coff_structs.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | pub const IMAGE_SYM_CLASS_BIT_FIELD: i8 = 0x0012; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FAR_EXTERNAL` is never used [INFO] [stdout] --> src/coff_structs.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | pub const IMAGE_SYM_CLASS_FAR_EXTERNAL: i8 = 0x0044; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_BLOCK` is never used [INFO] [stdout] --> src/coff_structs.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | pub const IMAGE_SYM_CLASS_BLOCK: i8 = 0x0064; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FUNCTION` is never used [INFO] [stdout] --> src/coff_structs.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | pub const IMAGE_SYM_CLASS_FUNCTION: i8 = 0x0065; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_END_OF_STRUCT` is never used [INFO] [stdout] --> src/coff_structs.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub const IMAGE_SYM_CLASS_END_OF_STRUCT: i8 = 0x0066; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_FILE` is never used [INFO] [stdout] --> src/coff_structs.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | pub const IMAGE_SYM_CLASS_FILE: i8 = 0x0067; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_SECTION` is never used [INFO] [stdout] --> src/coff_structs.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | pub const IMAGE_SYM_CLASS_SECTION: i8 = 0x0068; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_WEAK_EXTERNAL` is never used [INFO] [stdout] --> src/coff_structs.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub const IMAGE_SYM_CLASS_WEAK_EXTERNAL: i8 = 0x0069; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_SYM_CLASS_CLR_TOKEN` is never used [INFO] [stdout] --> src/coff_structs.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 215 | pub const IMAGE_SYM_CLASS_CLR_TOKEN: i8 = 0x006B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_ABSOLUTE` is never used [INFO] [stdout] --> src/coff_structs.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub const IMAGE_REL_AMD64_ABSOLUTE: u16 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_ADDR32` is never used [INFO] [stdout] --> src/coff_structs.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub const IMAGE_REL_AMD64_ADDR32: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_1` is never used [INFO] [stdout] --> src/coff_structs.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | pub const IMAGE_REL_AMD64_REL32_1: u16 = 0x0005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_2` is never used [INFO] [stdout] --> src/coff_structs.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub const IMAGE_REL_AMD64_REL32_2: u16 = 0x0006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_3` is never used [INFO] [stdout] --> src/coff_structs.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | pub const IMAGE_REL_AMD64_REL32_3: u16 = 0x0007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_4` is never used [INFO] [stdout] --> src/coff_structs.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | pub const IMAGE_REL_AMD64_REL32_4: u16 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_REL32_5` is never used [INFO] [stdout] --> src/coff_structs.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | pub const IMAGE_REL_AMD64_REL32_5: u16 = 0x0009; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECTION` is never used [INFO] [stdout] --> src/coff_structs.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | pub const IMAGE_REL_AMD64_SECTION: u16 = 0x000A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECREL` is never used [INFO] [stdout] --> src/coff_structs.rs:228:11 [INFO] [stdout] | [INFO] [stdout] 228 | pub const IMAGE_REL_AMD64_SECREL: u16 = 0x000B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SECREL7` is never used [INFO] [stdout] --> src/coff_structs.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | pub const IMAGE_REL_AMD64_SECREL7: u16 = 0x000C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_TOKEN` is never used [INFO] [stdout] --> src/coff_structs.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub const IMAGE_REL_AMD64_TOKEN: u16 = 0x000D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SREL32` is never used [INFO] [stdout] --> src/coff_structs.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | pub const IMAGE_REL_AMD64_SREL32: u16 = 0x000E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_PAIR` is never used [INFO] [stdout] --> src/coff_structs.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | pub const IMAGE_REL_AMD64_PAIR: u16 = 0x000F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_REL_AMD64_SSPAN32` is never used [INFO] [stdout] --> src/coff_structs.rs:233:11 [INFO] [stdout] | [INFO] [stdout] 233 | pub const IMAGE_REL_AMD64_SSPAN32: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/main.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let mut S: *const u8 = coff_file.as_ptr().add( [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let P = coff_text [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | P: *const u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | S: *const u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Type: &u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 215 | r#type: &u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Value: &u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let P = unsafe { P.offset_from(coff_text.as_ptr()) as usize }; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/utils.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add32(v: &mut Vec, P: usize, V: u32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/utils.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add32(v: &mut Vec, P: usize, V: u32) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Machine` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub Machine: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfSections` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub NumberOfSections: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TimeDateStamp` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub TimeDateStamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_date_stamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToSymbolTable` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub PointerToSymbolTable: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub NumberOfSymbols: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeOfOptionalHeader` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub SizeOfOptionalHeader: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_optional_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Machine` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let Machine = vec2u16(&contents[..2]); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfSections` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let NumberOfSections = vec2u16(&contents[2..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeDateStamp` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let TimeDateStamp = vec2u32(&contents[4..8]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_date_stamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToSymbolTable` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let PointerToSymbolTable = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let NumberOfSymbols = vec2u32(&contents[12..16]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SizeOfOptionalHeader` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let SizeOfOptionalHeader = vec2u16(&contents[16..18]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_optional_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let Characteristics = vec2u16(&contents[18..20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub Name: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualSize` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeOfRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub SizeOfRawData: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub PointerToRawData: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub PointerToRelocations: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PointerToLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub NumberOfRelocations: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub Characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let Name = Vec::from(&contents[..8]); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualSize` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let VirtualSize = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let VirtualAddress = vec2u32(&contents[12..16]); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SizeOfRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let SizeOfRawData = vec2u32(&contents[16..20]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `size_of_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToRawData` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let PointerToRawData = vec2u32(&contents[20..24]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_raw_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let PointerToRelocations = vec2u32(&contents[24..28]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PointerToLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let PointerToLinenumbers = vec2u32(&contents[28..32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointer_to_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfRelocations` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let NumberOfRelocations = vec2u16(&contents[32..34]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_relocations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfLinenumbers` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let NumberOfLinenumbers = vec2u16(&contents[34..36]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_linenumbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Characteristics` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let Characteristics = vec2u32(&contents[36..40]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `characteristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub Name: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub Value: u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SectionNumber` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub SectionNumber: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 113 | pub r#type: u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `StorageClass` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub StorageClass: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NumberOfAuxSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub NumberOfAuxSymbols: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_aux_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Name` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let Name = Vec::from(&contents[..8]); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let Value = vec2u32(&contents[8..12]); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SectionNumber` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let SectionNumber = vec2u16(&contents[12..14]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let Type = vec2u16(&contents[14..16]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 130 | let r#type = vec2u16(&contents[14..16]); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StorageClass` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let StorageClass = contents[16]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAuxSymbols` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let NumberOfAuxSymbols = contents[17]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_aux_symbols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SymbolTableIndex` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub SymbolTableIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 158 | pub r#type: u16, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VirtualAddress` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let VirtualAddress = vec2u32(&contents[..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SymbolTableIndex` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let SymbolTableIndex = vec2u32(&contents[4..8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Type` should have a snake case name [INFO] [stdout] --> src/coff_structs.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let Type = vec2u16(&contents[8..10]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 172 | let r#type = vec2u16(&contents[8..10]); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "2cf3151d57f008fb05be6762cc415286e809d4d587ea6418b681c9cc03fd9c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf3151d57f008fb05be6762cc415286e809d4d587ea6418b681c9cc03fd9c62", kill_on_drop: false }` [INFO] [stdout] 2cf3151d57f008fb05be6762cc415286e809d4d587ea6418b681c9cc03fd9c62