[INFO] fetching crate memexec 0.1.2... [INFO] checking memexec-0.1.2 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate memexec 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate memexec 0.1.2 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate memexec 0.1.2 [INFO] finished tweaking crates.io crate memexec 0.1.2 [INFO] tweaked toml for crates.io crate memexec 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2994622e5fa953f1d661ac091b54a5fcd983de8bfee78313fab5f7c121855686 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2994622e5fa953f1d661ac091b54a5fcd983de8bfee78313fab5f7c121855686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2994622e5fa953f1d661ac091b54a5fcd983de8bfee78313fab5f7c121855686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2994622e5fa953f1d661ac091b54a5fcd983de8bfee78313fab5f7c121855686", kill_on_drop: false }` [INFO] [stdout] 2994622e5fa953f1d661ac091b54a5fcd983de8bfee78313fab5f7c121855686 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494c4ff8806f1a7fde029cb6af0d1decc77afc7039b5376ebd91427b4e56531b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "494c4ff8806f1a7fde029cb6af0d1decc77afc7039b5376ebd91427b4e56531b", kill_on_drop: false }` [INFO] [stderr] Checking memexec v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_BASED` in this scope [INFO] [stdout] --> src/peloader/mod.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (item >> 12) == IMAGE_REL_BASED { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_BASED` in this scope [INFO] [stdout] --> src/peloader/mod.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (item >> 12) == IMAGE_REL_BASED { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | as *const IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:101:79 [INFO] [stdout] | [INFO] [stdout] 101 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:102:81 [INFO] [stdout] | [INFO] [stdout] 102 | base_addr.offset(import_desc.FirstThunk as isize) as *const IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/peloader/mod.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | if thunk_data & IMAGE_ORDINAL_FLAG == IMAGE_ORDINAL_FLAG { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/peloader/mod.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | if thunk_data & IMAGE_ORDINAL_FLAG == IMAGE_ORDINAL_FLAG { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | *iat_ptr = proc_addr as IMAGE_THUNK_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY` in this scope [INFO] [stdout] --> src/peloader/mod.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/peparser/def.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `IMAGE_TLS_DIRECTORY32` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn load_pe_into_mem(pe: &PE) -> Result<*const c_void> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | as *const IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:101:79 [INFO] [stdout] | [INFO] [stdout] 101 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:102:81 [INFO] [stdout] | [INFO] [stdout] 102 | base_addr.offset(import_desc.FirstThunk as isize) as *const IMAGE_THUNK_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/peloader/mod.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | if thunk_data & IMAGE_ORDINAL_FLAG == IMAGE_ORDINAL_FLAG { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_ORDINAL_FLAG` in this scope [INFO] [stdout] --> src/peloader/mod.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | if thunk_data & IMAGE_ORDINAL_FLAG == IMAGE_ORDINAL_FLAG { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | *iat_ptr = proc_addr as IMAGE_THUNK_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY` in this scope [INFO] [stdout] --> src/peloader/mod.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/peparser/def.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `IMAGE_TLS_DIRECTORY32` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn load_pe_into_mem(pe: &PE) -> Result<*const c_void> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memexec` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "494c4ff8806f1a7fde029cb6af0d1decc77afc7039b5376ebd91427b4e56531b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494c4ff8806f1a7fde029cb6af0d1decc77afc7039b5376ebd91427b4e56531b", kill_on_drop: false }` [INFO] [stdout] 494c4ff8806f1a7fde029cb6af0d1decc77afc7039b5376ebd91427b4e56531b