[INFO] cloning repository https://github.com/giacomo270197/PE-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giacomo270197/PE-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b823ac9b839dad386cf4689d6fda8754c1035cd6 [INFO] checking giacomo270197/PE-parser against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giacomo270197/PE-parser on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giacomo270197/PE-parser [INFO] finished tweaking git repo https://github.com/giacomo270197/PE-parser [INFO] tweaked toml for git repo https://github.com/giacomo270197/PE-parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/giacomo270197/PE-parser 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking giacomo270197/PE-parser against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giacomo270197/PE-parser on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giacomo270197/PE-parser [INFO] finished tweaking git repo https://github.com/giacomo270197/PE-parser [INFO] tweaked toml for git repo https://github.com/giacomo270197/PE-parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/giacomo270197/PE-parser 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b849ca7af7e956aab3aaa9025ebeaaeb90fed0cb87b445cfc30995d141e3a26 [INFO] running `Command { std: "docker" "start" "-a" "9b849ca7af7e956aab3aaa9025ebeaaeb90fed0cb87b445cfc30995d141e3a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b849ca7af7e956aab3aaa9025ebeaaeb90fed0cb87b445cfc30995d141e3a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b849ca7af7e956aab3aaa9025ebeaaeb90fed0cb87b445cfc30995d141e3a26", kill_on_drop: false }` [INFO] [stdout] 9b849ca7af7e956aab3aaa9025ebeaaeb90fed0cb87b445cfc30995d141e3a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 787b85080d12cdf81fe076ad6fef395ea0d06ebb7b2c2df4da419616fb161736 [INFO] running `Command { std: "docker" "start" "-a" "787b85080d12cdf81fe076ad6fef395ea0d06ebb7b2c2df4da419616fb161736", kill_on_drop: false }` [INFO] [stderr] Checking pehp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `IMAGE_FILE_RELOCS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | IMAGE_FILE_RELOCS_STRIPPED = 0x0001, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileRelocsStripped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_EXECUTABLE_IMAGE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | IMAGE_FILE_EXECUTABLE_IMAGE = 0x0002, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileExecutableImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LINE_NUMS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | IMAGE_FILE_LINE_NUMS_STRIPPED = 0x0004, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLineNumsStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_RELOCS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | IMAGE_FILE_RELOCS_STRIPPED = 0x0001, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileRelocsStripped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LOCAL_SYMS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | IMAGE_FILE_LOCAL_SYMS_STRIPPED = 0x0008, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLocalSymsStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_EXECUTABLE_IMAGE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | IMAGE_FILE_EXECUTABLE_IMAGE = 0x0002, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileExecutableImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_AGGRESSIVE_WS_TRIM` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | IMAGE_FILE_AGGRESSIVE_WS_TRIM = 0x0010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileAggressiveWsTrim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LARGE_ADDRESS_AWARE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | IMAGE_FILE_LARGE_ADDRESS_AWARE = 0x0020, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLargeAddressAware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LINE_NUMS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | IMAGE_FILE_LINE_NUMS_STRIPPED = 0x0004, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLineNumsStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_BYTES_REVERSED_LO` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | IMAGE_FILE_BYTES_REVERSED_LO = 0x0080, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileBytesReversedLo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_32BIT_MACHINE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | IMAGE_FILE_32BIT_MACHINE = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFile32bitMachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LOCAL_SYMS_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | IMAGE_FILE_LOCAL_SYMS_STRIPPED = 0x0008, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLocalSymsStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_DEBUG_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | IMAGE_FILE_DEBUG_STRIPPED = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileDebugStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_AGGRESSIVE_WS_TRIM` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | IMAGE_FILE_AGGRESSIVE_WS_TRIM = 0x0010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileAggressiveWsTrim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_LARGE_ADDRESS_AWARE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | IMAGE_FILE_LARGE_ADDRESS_AWARE = 0x0020, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileLargeAddressAware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = 0x0400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileRemovableRunFromSwap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_BYTES_REVERSED_LO` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | IMAGE_FILE_BYTES_REVERSED_LO = 0x0080, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileBytesReversedLo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_NET_RUN_FROM_SWAP` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | IMAGE_FILE_NET_RUN_FROM_SWAP = 0x0800, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileNetRunFromSwap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_32BIT_MACHINE` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | IMAGE_FILE_32BIT_MACHINE = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFile32bitMachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_SYSTEM` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | IMAGE_FILE_SYSTEM = 0x1000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileSystem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_DEBUG_STRIPPED` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | IMAGE_FILE_DEBUG_STRIPPED = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileDebugStripped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_DLL` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | IMAGE_FILE_DLL = 0x2000, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileDll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_UP_SYSTEM_ONLY` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | IMAGE_FILE_UP_SYSTEM_ONLY = 0x4000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileUpSystemOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = 0x0400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileRemovableRunFromSwap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_BYTES_REVERSED_HI` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | IMAGE_FILE_BYTES_REVERSED_HI = 0x8000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileBytesReversedHi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_NET_RUN_FROM_SWAP` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | IMAGE_FILE_NET_RUN_FROM_SWAP = 0x0800, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileNetRunFromSwap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_SYSTEM` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | IMAGE_FILE_SYSTEM = 0x1000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileSystem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_DLL` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | IMAGE_FILE_DLL = 0x2000, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileDll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_UP_SYSTEM_ONLY` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | IMAGE_FILE_UP_SYSTEM_ONLY = 0x4000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileUpSystemOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | headers.directories[(x as usize)].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - headers.directories[(x as usize)].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] 134 + headers.directories[x as usize].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMAGE_FILE_BYTES_REVERSED_HI` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | IMAGE_FILE_BYTES_REVERSED_HI = 0x8000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFileBytesReversedHi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | headers.directories[(x as usize)].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - headers.directories[(x as usize)].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] 135 + headers.directories[x as usize].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | headers.directories[(x as usize)].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - headers.directories[(x as usize)].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] 134 + headers.directories[x as usize].virtual_address = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | headers.directories[(x as usize)].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - headers.directories[(x as usize)].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] 135 + headers.directories[x as usize].size = consume_u32_from_buffer(&data_directories, &mut index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structs.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | / write!(f, "Data Directories [INFO] [stdout] 404 | | [INFO] [stdout] 405 | | ---------------------------"); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structs.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | write!(f, "{}", d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structs.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | / write!(f, "Data Directories [INFO] [stdout] 404 | | [INFO] [stdout] 405 | | ---------------------------"); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structs.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | write!(f, "{}", d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "787b85080d12cdf81fe076ad6fef395ea0d06ebb7b2c2df4da419616fb161736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787b85080d12cdf81fe076ad6fef395ea0d06ebb7b2c2df4da419616fb161736", kill_on_drop: false }` [INFO] [stdout] 787b85080d12cdf81fe076ad6fef395ea0d06ebb7b2c2df4da419616fb161736