[INFO] fetching crate memexec 0.1.1... [INFO] checking memexec-0.1.1 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate memexec 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate memexec 0.1.1 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate memexec 0.1.1 [INFO] finished tweaking crates.io crate memexec 0.1.1 [INFO] tweaked toml for crates.io crate memexec 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a1395811233579992fcb1c7ea4081cdadfef534b329415b289f7eefaeb1fd7d [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" "7a1395811233579992fcb1c7ea4081cdadfef534b329415b289f7eefaeb1fd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a1395811233579992fcb1c7ea4081cdadfef534b329415b289f7eefaeb1fd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1395811233579992fcb1c7ea4081cdadfef534b329415b289f7eefaeb1fd7d", kill_on_drop: false }` [INFO] [stdout] 7a1395811233579992fcb1c7ea4081cdadfef534b329415b289f7eefaeb1fd7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cafb6d70970974eb0f218c0733367d75e237b107d0d12945cbb81a722d8353a8 [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" "cafb6d70970974eb0f218c0733367d75e237b107d0d12945cbb81a722d8353a8", kill_on_drop: false }` [INFO] [stderr] Checking memexec v0.1.1 (/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[E0412]: cannot find type `IMAGE_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:94:79 [INFO] [stdout] | [INFO] [stdout] 94 | 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:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | 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:100:79 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:81 [INFO] [stdout] | [INFO] [stdout] 101 | 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:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | 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:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | 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:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | *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:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/peparser/def.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 153 | 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[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:94:79 [INFO] [stdout] | [INFO] [stdout] 94 | 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:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | 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:100:79 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:81 [INFO] [stdout] | [INFO] [stdout] 101 | 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:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | 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:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | 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:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | *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:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | let tls = &*mem::transmute::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/peparser/def.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 153 | 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] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cafb6d70970974eb0f218c0733367d75e237b107d0d12945cbb81a722d8353a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafb6d70970974eb0f218c0733367d75e237b107d0d12945cbb81a722d8353a8", kill_on_drop: false }` [INFO] [stdout] cafb6d70970974eb0f218c0733367d75e237b107d0d12945cbb81a722d8353a8