[INFO] cloning repository https://github.com/LachlanArthur/TimeTrackerRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LachlanArthur/TimeTrackerRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6986d452be4fb7e34cfe0d424fca7e1d59c6e743 [INFO] testing LachlanArthur/TimeTrackerRust against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LachlanArthur/TimeTrackerRust on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LachlanArthur/TimeTrackerRust [INFO] finished tweaking git repo https://github.com/LachlanArthur/TimeTrackerRust [INFO] tweaked toml for git repo https://github.com/LachlanArthur/TimeTrackerRust written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/LachlanArthur/TimeTrackerRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7b5c19f9ff7407d3d415026026df5cf1c1a01acf8bcd01f37f454bd368bf822 [INFO] running `Command { std: "docker" "start" "-a" "a7b5c19f9ff7407d3d415026026df5cf1c1a01acf8bcd01f37f454bd368bf822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7b5c19f9ff7407d3d415026026df5cf1c1a01acf8bcd01f37f454bd368bf822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b5c19f9ff7407d3d415026026df5cf1c1a01acf8bcd01f37f454bd368bf822", kill_on_drop: false }` [INFO] [stdout] a7b5c19f9ff7407d3d415026026df5cf1c1a01acf8bcd01f37f454bd368bf822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c52408f11e4a3196da6019d5b652312bc4761ee81aad87279d107a6922224c19 [INFO] running `Command { std: "docker" "start" "-a" "c52408f11e4a3196da6019d5b652312bc4761ee81aad87279d107a6922224c19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling time_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/active_window.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/idle_time.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/active_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/idle_time.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | let mut last_input = winuser::LASTINPUTINFO { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/idle_time.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | cbSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/idle_time.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | assert!( unsafe { winuser::GetLastInputInfo( &mut last_input ) } != 0 ); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sysinfoapi` [INFO] [stdout] --> src/idle_time.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | let tick_count: u32 = unsafe { sysinfoapi::GetTickCount() }; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sysinfoapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/active_window.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub id: minwindef::DWORD, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windef` [INFO] [stdout] --> src/active_window.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_foreground_window() -> windef::HWND { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/active_window.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | return unsafe { winuser::GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windef` [INFO] [stdout] --> src/active_window.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_window_title( window: windef::HWND ) -> String { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/active_window.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let length: i32 = unsafe { winuser::GetWindowTextLengthW( window ) }; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/active_window.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | winuser::GetWindowTextW( window, title.as_mut_ptr(), length + 1 ); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/active_window.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | let mut path = Vec::with_capacity( minwindef::MAX_PATH ); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/active_window.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut process_id: minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/active_window.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | winuser::GetWindowThreadProcessId( active_window, &mut process_id ); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `processthreadsapi` [INFO] [stdout] --> src/active_window.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let handle = processthreadsapi::OpenProcess( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `processthreadsapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winnt` [INFO] [stdout] --> src/active_window.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | winnt::PROCESS_QUERY_INFORMATION | winnt::PROCESS_VM_READ, [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/active_window.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | winnt::PROCESS_QUERY_INFORMATION | winnt::PROCESS_VM_READ, [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 `psapi` [INFO] [stdout] --> src/active_window.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let length = psapi::GetModuleFileNameExW( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `psapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/active_window.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | minwindef::MAX_PATH as u32 [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `handleapi` [INFO] [stdout] --> src/active_window.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | handleapi::CloseHandle( handle ); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `handleapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/active_window.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | return OsString::from_wide( &title ).to_string_lossy().into_owned(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time_tracker` due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "c52408f11e4a3196da6019d5b652312bc4761ee81aad87279d107a6922224c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52408f11e4a3196da6019d5b652312bc4761ee81aad87279d107a6922224c19", kill_on_drop: false }` [INFO] [stdout] c52408f11e4a3196da6019d5b652312bc4761ee81aad87279d107a6922224c19