[INFO] cloning repository https://github.com/kenesu-h/crowdplay-bot-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenesu-h/crowdplay-bot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenesu-h%2Fcrowdplay-bot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenesu-h%2Fcrowdplay-bot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae483f0fdec556a438fdb830151c74a190b39e1e [INFO] checking kenesu-h/crowdplay-bot-rs/ae483f0fdec556a438fdb830151c74a190b39e1e against master#db0e836148accac8a22532e3596ac612b63c2d8e for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenesu-h%2Fcrowdplay-bot-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kenesu-h/crowdplay-bot-rs on toolchain db0e836148accac8a22532e3596ac612b63c2d8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kenesu-h/crowdplay-bot-rs [INFO] finished tweaking git repo https://github.com/kenesu-h/crowdplay-bot-rs [INFO] tweaked toml for git repo https://github.com/kenesu-h/crowdplay-bot-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kenesu-h/crowdplay-bot-rs 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" "+db0e836148accac8a22532e3596ac612b63c2d8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded sha-1 v0.9.6 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded input v0.5.0 [INFO] [stderr] Downloaded async-tungstenite v0.11.0 [INFO] [stderr] Downloaded inputbot v0.5.0 [INFO] [stderr] Downloaded udev v0.4.0 [INFO] [stderr] Downloaded command_attr v0.3.6 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] [stderr] Downloaded hyper v0.14.8 [INFO] [stderr] Downloaded input-sys v1.15.0 [INFO] [stderr] Downloaded syn v1.0.72 [INFO] [stderr] Downloaded serenity v0.10.7 [INFO] [stderr] Downloaded libc v0.2.95 [INFO] [stderr] Downloaded tokio v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd2e6200b843c1fd1b14b360d3c5bb2046c5c516564db6e43588bc37c0f5f536 [INFO] running `Command { std: "docker" "start" "-a" "dd2e6200b843c1fd1b14b360d3c5bb2046c5c516564db6e43588bc37c0f5f536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd2e6200b843c1fd1b14b360d3c5bb2046c5c516564db6e43588bc37c0f5f536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2e6200b843c1fd1b14b360d3c5bb2046c5c516564db6e43588bc37c0f5f536", kill_on_drop: false }` [INFO] [stdout] dd2e6200b843c1fd1b14b360d3c5bb2046c5c516564db6e43588bc37c0f5f536 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb0681b70f4599824ee4c47faf81672c027110c8b1362d228d7952a020da1f03 [INFO] running `Command { std: "docker" "start" "-a" "eb0681b70f4599824ee4c47faf81672c027110c8b1362d228d7952a020da1f03", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling input-sys v1.15.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Compiling serenity v0.10.7 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking udev v0.4.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking input v0.5.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling command_attr v0.3.6 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking inputbot v0.5.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking confy v0.4.0 [INFO] [stderr] Checking hyper v0.14.8 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking crowdplay-bot-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/model/win_utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/model/win_utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{GetForegroundWindow, GetWindowTextW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/model/win_utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/model/win_utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{GetForegroundWindow, GetWindowTextW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model/app_model.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | async fn build_bot(&self) -> Result, &str>; [INFO] [stdout] | ---------------- lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model/app_model.rs:94:67 [INFO] [stdout] | [INFO] [stdout] 94 | async fn build_bot(&self) -> Result, &str> { [INFO] [stdout] | ---------------- lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model/app_model.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | async fn build_bot(&self) -> Result, &str>; [INFO] [stdout] | ---------------- lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model/app_model.rs:94:67 [INFO] [stdout] | [INFO] [stdout] 94 | async fn build_bot(&self) -> Result, &str> { [INFO] [stdout] | ---------------- lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [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/model/win_utils.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | return OsString::from_wide(slice); [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/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - return OsString::from_wide(slice); [INFO] [stdout] 15 + return OsString::from_iter(slice); [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/model/win_utils.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | return OsString::from_wide(slice); [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/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - return OsString::from_wide(slice); [INFO] [stdout] 15 + return OsString::from_iter(slice); [INFO] [stdout] | [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 `crowdplay-bot-rs` (bin "crowdplay-bot-rs") due to 3 previous errors; 2 warnings emitted [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 `crowdplay-bot-rs` (bin "crowdplay-bot-rs" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb0681b70f4599824ee4c47faf81672c027110c8b1362d228d7952a020da1f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0681b70f4599824ee4c47faf81672c027110c8b1362d228d7952a020da1f03", kill_on_drop: false }` [INFO] [stdout] eb0681b70f4599824ee4c47faf81672c027110c8b1362d228d7952a020da1f03