[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 master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giacomo270197/PE-parser on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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-3-tc1/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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking giacomo270197/PE-parser against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiacomo270197%2FPE-parser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giacomo270197/PE-parser on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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-3-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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3a099e55ff4cdb3c4ba6a3ccf4edbcebb70dc7cf11aaf9bf81b60efc09dda1d [INFO] running `Command { std: "docker" "start" "-a" "b3a099e55ff4cdb3c4ba6a3ccf4edbcebb70dc7cf11aaf9bf81b60efc09dda1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3a099e55ff4cdb3c4ba6a3ccf4edbcebb70dc7cf11aaf9bf81b60efc09dda1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a099e55ff4cdb3c4ba6a3ccf4edbcebb70dc7cf11aaf9bf81b60efc09dda1d", kill_on_drop: false }` [INFO] [stdout] b3a099e55ff4cdb3c4ba6a3ccf4edbcebb70dc7cf11aaf9bf81b60efc09dda1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c6c0d135b66d161ed9dea04c71cc0355c6f32ef385df60426d72749cadf0b1 [INFO] running `Command { std: "docker" "start" "-a" "97c6c0d135b66d161ed9dea04c71cc0355c6f32ef385df60426d72749cadf0b1", 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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: 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_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: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: 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: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: 19 warnings emitted [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "97c6c0d135b66d161ed9dea04c71cc0355c6f32ef385df60426d72749cadf0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c6c0d135b66d161ed9dea04c71cc0355c6f32ef385df60426d72749cadf0b1", kill_on_drop: false }` [INFO] [stdout] 97c6c0d135b66d161ed9dea04c71cc0355c6f32ef385df60426d72749cadf0b1