[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] checking LachlanArthur/TimeTrackerRust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LachlanArthur/TimeTrackerRust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e796630bd8261718c9fa2606679393b2fdd6d64d7b45797725945f79d3a5c0c9 [INFO] running `Command { std: "docker" "start" "-a" "e796630bd8261718c9fa2606679393b2fdd6d64d7b45797725945f79d3a5c0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e796630bd8261718c9fa2606679393b2fdd6d64d7b45797725945f79d3a5c0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e796630bd8261718c9fa2606679393b2fdd6d64d7b45797725945f79d3a5c0c9", kill_on_drop: false }` [INFO] [stdout] e796630bd8261718c9fa2606679393b2fdd6d64d7b45797725945f79d3a5c0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 537fe9415401cd3f7b61a9051cfe41cb2ade2cdcda8c3ff600b5f271cf877741 [INFO] running `Command { std: "docker" "start" "-a" "537fe9415401cd3f7b61a9051cfe41cb2ade2cdcda8c3ff600b5f271cf877741", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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: 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/os/mod.rs:100:9 [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[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] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | return OsString::from_iter( &title ).to_string_lossy().into_owned(); [INFO] [stdout] | ~~~~~~~~~ [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] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | return OsString::from_iter( &title ).to_string_lossy().into_owned(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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` (bin "time_tracker") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 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` (bin "time_tracker" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "537fe9415401cd3f7b61a9051cfe41cb2ade2cdcda8c3ff600b5f271cf877741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537fe9415401cd3f7b61a9051cfe41cb2ade2cdcda8c3ff600b5f271cf877741", kill_on_drop: false }` [INFO] [stdout] 537fe9415401cd3f7b61a9051cfe41cb2ade2cdcda8c3ff600b5f271cf877741 [INFO] checking LachlanArthur/TimeTrackerRust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLachlanArthur%2FTimeTrackerRust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LachlanArthur/TimeTrackerRust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d45fe5e21b82e390a1775c1e4f59533b9ede51dee7770b1e6ea28cd55acc716 [INFO] running `Command { std: "docker" "start" "-a" "9d45fe5e21b82e390a1775c1e4f59533b9ede51dee7770b1e6ea28cd55acc716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d45fe5e21b82e390a1775c1e4f59533b9ede51dee7770b1e6ea28cd55acc716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d45fe5e21b82e390a1775c1e4f59533b9ede51dee7770b1e6ea28cd55acc716", kill_on_drop: false }` [INFO] [stdout] 9d45fe5e21b82e390a1775c1e4f59533b9ede51dee7770b1e6ea28cd55acc716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5241686122f230359d2513446c1bc1d44c768550b398b428276a5a25374ad6d7 [INFO] running `Command { std: "docker" "start" "-a" "5241686122f230359d2513446c1bc1d44c768550b398b428276a5a25374ad6d7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "5241686122f230359d2513446c1bc1d44c768550b398b428276a5a25374ad6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5241686122f230359d2513446c1bc1d44c768550b398b428276a5a25374ad6d7", kill_on_drop: false }` [INFO] [stdout] 5241686122f230359d2513446c1bc1d44c768550b398b428276a5a25374ad6d7