[INFO] cloning repository https://github.com/th0rex/unload_pe
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/th0rex/unload_pe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0rex%2Funload_pe", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0rex%2Funload_pe'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f27a46bc1481476d6d3dfed15550df122e3fbf2d
[INFO] checking th0rex/unload_pe against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0rex%2Funload_pe" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/th0rex/unload_pe
[INFO] finished tweaking git repo https://github.com/th0rex/unload_pe
[INFO] tweaked toml for git repo https://github.com/th0rex/unload_pe written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/th0rex/unload_pe on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/th0rex/unload_pe 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6d68898139b2845c74f2aa6dffbcae2e3be18d9b6ecdc23c5dcb9f56ca06cd2
[INFO] running `Command { std: "docker" "start" "-a" "d6d68898139b2845c74f2aa6dffbcae2e3be18d9b6ecdc23c5dcb9f56ca06cd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6d68898139b2845c74f2aa6dffbcae2e3be18d9b6ecdc23c5dcb9f56ca06cd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6d68898139b2845c74f2aa6dffbcae2e3be18d9b6ecdc23c5dcb9f56ca06cd2", kill_on_drop: false }`
[INFO] [stdout] d6d68898139b2845c74f2aa6dffbcae2e3be18d9b6ecdc23c5dcb9f56ca06cd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9d79e3f1cf911dd1967b699a20ea57ec4b4c48157f76c7a14887a8c30ac395b
[INFO] running `Command { std: "docker" "start" "-a" "c9d79e3f1cf911dd1967b699a20ea57ec4b4c48157f76c7a14887a8c30ac395b", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking unload_pe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:25:56
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let orig_dos = unsafe { &*(orig.as_ptr() as *const IMAGE_DOS_HEADER )};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:26:87
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let orig_nt = unsafe { &*(orig.as_ptr().add(orig_dos.e_lfanew as usize) as *const IMAGE_NT_HEADERS64 )};
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:27:98
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let dumped_nt = unsafe { &mut *( dumped.as_mut_ptr().add(orig_dos.e_lfanew as usize) as *mut IMAGE_NT_HEADERS64 )};
[INFO] [stdout]    |                                                                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     println!("{:#018X}", mem::size_of::<IMAGE_NT_HEADERS64>());
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:82:70
[INFO] [stdout]    |
[INFO] [stdout] 82 |     println!("{:#018X}", orig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>());
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unload_pe` (bin "unload_pe" test) due to 10 previous errors
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:83:113
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...rig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>() ) as *const IMAGE_SECTION_HEADER, orig_file.NumberOfSections as ...
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:83:147
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...ze_of::<IMAGE_NT_HEADERS64>() ) as *const IMAGE_SECTION_HEADER, orig_file.NumberOfSections as usize)};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:84:125
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...rig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>() ) as *mut IMAGE_SECTION_HEADER, orig_file.NumberOfSections as us...
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:84:157
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...size_of::<IMAGE_NT_HEADERS64>() ) as *mut IMAGE_SECTION_HEADER, orig_file.NumberOfSections as usize)};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:25:56
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let orig_dos = unsafe { &*(orig.as_ptr() as *const IMAGE_DOS_HEADER )};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:26:87
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let orig_nt = unsafe { &*(orig.as_ptr().add(orig_dos.e_lfanew as usize) as *const IMAGE_NT_HEADERS64 )};
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:27:98
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let dumped_nt = unsafe { &mut *( dumped.as_mut_ptr().add(orig_dos.e_lfanew as usize) as *mut IMAGE_NT_HEADERS64 )};
[INFO] [stdout]    |                                                                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     println!("{:#018X}", mem::size_of::<IMAGE_NT_HEADERS64>());
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:82:70
[INFO] [stdout]    |
[INFO] [stdout] 82 |     println!("{:#018X}", orig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>());
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:83:113
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...rig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>() ) as *const IMAGE_SECTION_HEADER, orig_file.NumberOfSections as ...
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:83:147
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...ze_of::<IMAGE_NT_HEADERS64>() ) as *const IMAGE_SECTION_HEADER, orig_file.NumberOfSections as usize)};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope
[INFO] [stdout]   --> src/main.rs:84:125
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...rig_dos.e_lfanew as usize + mem::size_of::<IMAGE_NT_HEADERS64>() ) as *mut IMAGE_SECTION_HEADER, orig_file.NumberOfSections as us...
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope
[INFO] [stdout]   --> src/main.rs:84:157
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...size_of::<IMAGE_NT_HEADERS64>() ) as *mut IMAGE_SECTION_HEADER, orig_file.NumberOfSections as usize)};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unload_pe` (bin "unload_pe") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "c9d79e3f1cf911dd1967b699a20ea57ec4b4c48157f76c7a14887a8c30ac395b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9d79e3f1cf911dd1967b699a20ea57ec4b4c48157f76c7a14887a8c30ac395b", kill_on_drop: false }`
[INFO] [stdout] c9d79e3f1cf911dd1967b699a20ea57ec4b4c48157f76c7a14887a8c30ac395b
