[INFO] cloning repository https://github.com/uranusjr/shimmer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uranusjr/shimmer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa20cbd456db840f58ec443f5fe9a6d8c20aeea2 [INFO] testing uranusjr/shimmer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uranusjr/shimmer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uranusjr/shimmer [INFO] finished tweaking git repo https://github.com/uranusjr/shimmer [INFO] tweaked toml for git repo https://github.com/uranusjr/shimmer written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/uranusjr/shimmer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded clap v2.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f5d422532255bd1c7951a08a0c96b123c61f773016665b16f56212c3146a5aa [INFO] running `Command { std: "docker" "start" "-a" "1f5d422532255bd1c7951a08a0c96b123c61f773016665b16f56212c3146a5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f5d422532255bd1c7951a08a0c96b123c61f773016665b16f56212c3146a5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5d422532255bd1c7951a08a0c96b123c61f773016665b16f56212c3146a5aa", kill_on_drop: false }` [INFO] [stdout] 1f5d422532255bd1c7951a08a0c96b123c61f773016665b16f56212c3146a5aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef3e9c991e3efc63bf6708fffda4c624ce8036754b71c884c4019318c9c60b9e [INFO] running `Command { std: "docker" "start" "-a" "ef3e9c991e3efc63bf6708fffda4c624ce8036754b71c884c4019318c9c60b9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling shim v0.1.0 (/opt/rustwide/workdir/shim) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> shim/src/procs.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> shim/src/procs.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use self::winapi::shared::minwindef::{BOOL, DWORD, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim/src/procs.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use self::winapi::um::consoleapi::SetConsoleCtrlHandler; [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] --> shim/src/procs.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use self::winapi::um::jobapi2::{ [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] --> shim/src/procs.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use self::winapi::um::wincon::{CTRL_C_EVENT, GenerateConsoleCtrlEvent}; [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] --> shim/src/procs.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use self::winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes` [INFO] [stdout] --> shim/src/procs.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use self::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> shim/src/procs.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern "system" fn handle_ctrl(etype: DWORD) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> shim/src/procs.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern "system" fn handle_ctrl(etype: DWORD) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope [INFO] [stdout] --> shim/src/procs.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | if etype == CTRL_C_EVENT && PID != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GenerateConsoleCtrlEvent` in this scope [INFO] [stdout] --> shim/src/procs.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | GenerateConsoleCtrlEvent(PID, CTRL_C_EVENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope [INFO] [stdout] --> shim/src/procs.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | GenerateConsoleCtrlEvent(PID, CTRL_C_EVENT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> shim/src/procs.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope [INFO] [stdout] --> shim/src/procs.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let job = CreateJobObjectW(0 as *mut _, 0 as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope [INFO] [stdout] --> shim/src/procs.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let mut info: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope [INFO] [stdout] --> shim/src/procs.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | ok = QueryInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> shim/src/procs.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | job, JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> shim/src/procs.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | &mut info as *mut _ as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> shim/src/procs.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | mem::size_of_val(&info) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> shim/src/procs.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | if ok != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope [INFO] [stdout] --> shim/src/procs.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK` in this scope [INFO] [stdout] --> shim/src/procs.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in this scope [INFO] [stdout] --> shim/src/procs.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | ok = SetInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> shim/src/procs.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | job, JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> shim/src/procs.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | &mut info as *mut _ as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> shim/src/procs.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | mem::size_of_val(&info) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> shim/src/procs.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | if ok != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope [INFO] [stdout] --> shim/src/procs.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | AssignProcessToJobObject(job, child.as_raw_handle() as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope [INFO] [stdout] --> shim/src/procs.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let ok = unsafe { SetConsoleCtrlHandler(Some(handle_ctrl), TRUE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> shim/src/procs.rs:115:64 [INFO] [stdout] | [INFO] [stdout] 115 | let ok = unsafe { SetConsoleCtrlHandler(Some(handle_ctrl), TRUE) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> shim/src/procs.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | if ok == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> shim/src/procs.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let mut child = try!(cmd.spawn().map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> shim/src/procs.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { try!(setup_child(&mut child)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> shim/src/procs.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let result = try!(child.wait().map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for mutable reference `&mut Child` in the current scope [INFO] [stdout] --> shim/src/procs.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | AssignProcessToJobObject(job, child.as_raw_handle() as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shim` due to 33 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ef3e9c991e3efc63bf6708fffda4c624ce8036754b71c884c4019318c9c60b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3e9c991e3efc63bf6708fffda4c624ce8036754b71c884c4019318c9c60b9e", kill_on_drop: false }` [INFO] [stdout] ef3e9c991e3efc63bf6708fffda4c624ce8036754b71c884c4019318c9c60b9e