[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] checking uranusjr/shimmer/aa20cbd456db840f58ec443f5fe9a6d8c20aeea2 against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uranusjr/shimmer on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uranusjr/shimmer 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/shimmer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/shim/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] [stderr] Downloaded clap v2.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f78a6a218bc2ece0e45d4c226fb160b5b9a55a6734fc03432df4a56ce07aa07d [INFO] running `Command { std: "docker" "start" "-a" "f78a6a218bc2ece0e45d4c226fb160b5b9a55a6734fc03432df4a56ce07aa07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f78a6a218bc2ece0e45d4c226fb160b5b9a55a6734fc03432df4a56ce07aa07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78a6a218bc2ece0e45d4c226fb160b5b9a55a6734fc03432df4a56ce07aa07d", kill_on_drop: false }` [INFO] [stdout] f78a6a218bc2ece0e45d4c226fb160b5b9a55a6734fc03432df4a56ce07aa07d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b404a529d09b15f638be86e306748bb9b68d0f2838559eaeb96bd889bd8cd4 [INFO] running `Command { std: "docker" "start" "-a" "96b404a529d09b15f638be86e306748bb9b68d0f2838559eaeb96bd889bd8cd4", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/shimmer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/shim/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:120:1 [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] 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] [stderr] Checking atty v0.2.6 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/std/src/os/mod.rs:120:1 [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] 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] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `shim` (bin "shim" test) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shim` (bin "shim") due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96b404a529d09b15f638be86e306748bb9b68d0f2838559eaeb96bd889bd8cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b404a529d09b15f638be86e306748bb9b68d0f2838559eaeb96bd889bd8cd4", kill_on_drop: false }` [INFO] [stdout] 96b404a529d09b15f638be86e306748bb9b68d0f2838559eaeb96bd889bd8cd4