[INFO] cloning repository https://github.com/R030t1/winrecord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/R030t1/winrecord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a100e83f549aaf08a50efdf2f85c0f24b74a2468 [INFO] testing R030t1/winrecord against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR030t1%2Fwinrecord" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/R030t1/winrecord 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/R030t1/winrecord [INFO] finished tweaking git repo https://github.com/R030t1/winrecord [INFO] tweaked toml for git repo https://github.com/R030t1/winrecord written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/R030t1/winrecord 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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] 9d571f29debfab08bac529623568fbc5482dd9c8fee17e2aa2ecfe27215bfa86 [INFO] running `Command { std: "docker" "start" "-a" "9d571f29debfab08bac529623568fbc5482dd9c8fee17e2aa2ecfe27215bfa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d571f29debfab08bac529623568fbc5482dd9c8fee17e2aa2ecfe27215bfa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d571f29debfab08bac529623568fbc5482dd9c8fee17e2aa2ecfe27215bfa86", kill_on_drop: false }` [INFO] [stdout] 9d571f29debfab08bac529623568fbc5482dd9c8fee17e2aa2ecfe27215bfa86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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] e2964e4585c481f56a230ba6d33a43fe5be40815f18babd7a831bd89ef3f62aa [INFO] running `Command { std: "docker" "start" "-a" "e2964e4585c481f56a230ba6d33a43fe5be40815f18babd7a831bd89ef3f62aa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling widestring v0.4.3 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling winrecord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/payload/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStrExt; [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] --> src/payload/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payload/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/payload/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::ctypes::*; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payload/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::minwinbase::*; [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] --> src/payload/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winnt::*; [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] --> src/payload/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payload/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::{TRUE, DWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/payload/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winnt` [INFO] [stdout] --> src/payload/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | winnt::DLL_PROCESS_ATTACH => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winnt` [INFO] [stdout] --> src/payload/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | winnt::DLL_PROCESS_DETACH => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/payload/lib.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | hinst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/payload/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | reason: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/payload/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/payload/lib.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let t = unsafe { GetCurrentProcessId() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/payload/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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] --> src/payload/lib.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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] --> src/payload/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | _ => TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/payload/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::*` [INFO] [stdout] --> src/payload/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::*` [INFO] [stdout] --> src/payload/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::*` [INFO] [stdout] --> src/payload/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::*` [INFO] [stdout] --> src/payload/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::*` [INFO] [stdout] --> src/payload/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use lazy_static::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widestring::*` [INFO] [stdout] --> src/payload/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use widestring::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/payload/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/payload/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winrecord` due to 19 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2964e4585c481f56a230ba6d33a43fe5be40815f18babd7a831bd89ef3f62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2964e4585c481f56a230ba6d33a43fe5be40815f18babd7a831bd89ef3f62aa", kill_on_drop: false }` [INFO] [stdout] e2964e4585c481f56a230ba6d33a43fe5be40815f18babd7a831bd89ef3f62aa