[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] testing fraustiz/steam-controller-battery against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraustiz%2Fsteam-controller-battery" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fraustiz/steam-controller-battery on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.4.2
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.10
[INFO] [stderr]   Downloaded hidapi v2.6.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f
[INFO] running `Command { std: "docker" "start" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f", 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" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.10
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-sys v0.59.0
[INFO] [stderr]    Compiling cc v1.4.2
[INFO] [stderr]    Compiling hidapi v2.6.6
[INFO] [stderr]    Compiling 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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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]     |  ______________________________-
[INFO] [stdout] 112 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[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] running `Command { std: "docker" "inspect" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f", kill_on_drop: false }`
[INFO] [stdout] dfd4cea8762caa39e17a7f7d1f6c88fe017053731f8d797d0be2f027f77aef8f
