[INFO] fetching crate memexec 0.2.0... [INFO] checking memexec-0.2.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate memexec 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate memexec 0.2.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate memexec 0.2.0 [INFO] finished tweaking crates.io crate memexec 0.2.0 [INFO] tweaked toml for crates.io crate memexec 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 14f048eefb96abc92e5a50f4a46b235249c00bea9358c8db804242e5d1a375fe [INFO] running `Command { std: "docker" "start" "-a" "14f048eefb96abc92e5a50f4a46b235249c00bea9358c8db804242e5d1a375fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f048eefb96abc92e5a50f4a46b235249c00bea9358c8db804242e5d1a375fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f048eefb96abc92e5a50f4a46b235249c00bea9358c8db804242e5d1a375fe", kill_on_drop: false }` [INFO] [stdout] 14f048eefb96abc92e5a50f4a46b235249c00bea9358c8db804242e5d1a375fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef1a0dc21b4d3cd15898e84463e81a0d155fa821c78ee920a63e7d2cb7f9694b [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" "ef1a0dc21b4d3cd15898e84463e81a0d155fa821c78ee920a63e7d2cb7f9694b", kill_on_drop: false }` [INFO] [stderr] Checking memexec v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `IMAGE_REL_BASED` in this scope [INFO] [stdout] --> src/peloader/mod.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | 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:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | 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:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | 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:86:79 [INFO] [stdout] | [INFO] [stdout] 86 | 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:87:81 [INFO] [stdout] | [INFO] [stdout] 87 | 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:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | if thunk_data & IMAGE_ORDINAL_FLAG != 0 { [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:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | *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_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | *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:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY>( [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] 169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY32>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn call_tls_callback(pe: &PE, base_addr: *const c_void) -> Result<()> { [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:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | 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:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | 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:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | 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:86:79 [INFO] [stdout] | [INFO] [stdout] 86 | 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:87:81 [INFO] [stdout] | [INFO] [stdout] 87 | 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:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | if thunk_data & IMAGE_ORDINAL_FLAG != 0 { [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:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | *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_THUNK_DATA` in this scope [INFO] [stdout] --> src/peloader/mod.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | *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:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY>( [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] 169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY32>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn call_tls_callback(pe: &PE, base_addr: *const c_void) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use std::io::Read; [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; 2 warnings emitted [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" "ef1a0dc21b4d3cd15898e84463e81a0d155fa821c78ee920a63e7d2cb7f9694b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef1a0dc21b4d3cd15898e84463e81a0d155fa821c78ee920a63e7d2cb7f9694b", kill_on_drop: false }` [INFO] [stdout] ef1a0dc21b4d3cd15898e84463e81a0d155fa821c78ee920a63e7d2cb7f9694b