[INFO] cloning repository https://github.com/fraustiz/steam-controller-battery
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fraustiz/steam-controller-battery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraustiz%2Fsteam-controller-battery", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraustiz%2Fsteam-controller-battery'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8f1a41767e8133928887fdc8a6b09760a491aae
[INFO] checking fraustiz/steam-controller-battery against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraustiz%2Fsteam-controller-battery" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fraustiz/steam-controller-battery
[INFO] finished tweaking git repo https://github.com/fraustiz/steam-controller-battery
[INFO] tweaked toml for git repo https://github.com/fraustiz/steam-controller-battery written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fraustiz/steam-controller-battery on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fraustiz/steam-controller-battery 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hidapi v2.6.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816
[INFO] running `Command { std: "docker" "start" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling hidapi v2.6.6
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-sys v0.59.0
[INFO] [stderr]     Checking sc-battery v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/autostart.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]    --> src/icon.rs:443:18
[INFO] [stdout]     |
[INFO] [stdout] 443 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/listen.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/settings.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/tray.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/autostart.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]    --> src/icon.rs:443:18
[INFO] [stdout]     |
[INFO] [stdout] 443 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/listen.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/settings.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/tray.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/os/mod.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/autostart.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/autostart.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/icon.rs:450:57
[INFO] [stdout]     |
[INFO] [stdout] 450 |         |s: &str| -> Vec<u16> { std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect() };
[INFO] [stdout]     |                                                         ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/listen.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let wide: Vec<u16> = std::ffi::OsStr::new(&*path.to_string_lossy())
[INFO] [stdout] 112 |             .encode_wide()
[INFO] [stdout]     |              ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/icon.rs:450:57
[INFO] [stdout]     |
[INFO] [stdout] 450 |         |s: &str| -> Vec<u16> { std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect() };
[INFO] [stdout]     |                                                         ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/settings.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/tray.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/listen.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let wide: Vec<u16> = std::ffi::OsStr::new(&*path.to_string_lossy())
[INFO] [stdout] 112 |             .encode_wide()
[INFO] [stdout]     |              ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/listen.rs:231:37
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let wide = path.as_os_str().encode_wide().chain(Some(0)).collect();
[INFO] [stdout]     |                                     ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/settings.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/tray.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 |     std::ffi::OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                             ^^^^^^^^^^^ method not found in `&OsStr`
[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 `sc-battery` (bin "sc-battery") due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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 `sc-battery` (bin "sc-battery" test) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816", kill_on_drop: false }`
[INFO] [stdout] 1f5f66749700b9eee1eb2ab3f10860b7b59961825e56237a49d27d3887dc6816
