[INFO] updating cached repository https://github.com/muumlover/mc_auto_fish [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fb6a0d17a627e8a9a817adc5f1a374eca98e3162 [INFO] checking muumlover/mc_auto_fish against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuumlover%2Fmc_auto_fish" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/muumlover/mc_auto_fish on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/muumlover/mc_auto_fish [INFO] finished tweaking git repo https://github.com/muumlover/mc_auto_fish [INFO] tweaked toml for git repo https://github.com/muumlover/mc_auto_fish written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/muumlover/mc_auto_fish already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a39f775ae7e958991117366ebf08801b97406bd7ef938a0f47d1c6fe90f7aefa [INFO] running `"docker" "start" "-a" "a39f775ae7e958991117366ebf08801b97406bd7ef938a0f47d1c6fe90f7aefa"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking mc_auto_fish v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | shared::{minwindef::LPARAM, windef::HWND}, [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | um::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | use winapi::um::winuser::{MB_OK, MessageBoxW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | shared::{minwindef::LPARAM, windef::HWND}, [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | um::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | use winapi::um::winuser::{MB_OK, MessageBoxW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | extern "system" fn enum_windows_proc(hwnd: HWND, l_param: LPARAM) -> i32 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | extern "system" fn enum_windows_proc(hwnd: HWND, l_param: LPARAM) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 22 | let len = GetWindowTextW(hwnd, lp_string.as_mut_ptr(), 128); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | h_wnd: HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | h_wnd: 0 as HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | EnumWindows(Some(enum_windows_proc), self as *mut McClient as LPARAM) [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:45:75 [INFO] [stderr] | [INFO] [stderr] 45 | EnumWindows(Some(enum_windows_proc), self as *mut McClient as LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | MessageBoxW(null_mut(), wide.as_ptr(), wide.as_ptr(), MB_OK) [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stderr] --> src/main.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | MessageBoxW(null_mut(), wide.as_ptr(), wide.as_ptr(), MB_OK) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | extern "system" fn enum_windows_proc(hwnd: HWND, l_param: LPARAM) -> i32 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | extern "system" fn enum_windows_proc(hwnd: HWND, l_param: LPARAM) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 22 | let len = GetWindowTextW(hwnd, lp_string.as_mut_ptr(), 128); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | h_wnd: HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | h_wnd: 0 as HWND [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | EnumWindows(Some(enum_windows_proc), self as *mut McClient as LPARAM) [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:45:75 [INFO] [stderr] | [INFO] [stderr] 45 | EnumWindows(Some(enum_windows_proc), self as *mut McClient as LPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | MessageBoxW(null_mut(), wide.as_ptr(), wide.as_ptr(), MB_OK) [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stderr] --> src/main.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | MessageBoxW(null_mut(), wide.as_ptr(), wide.as_ptr(), MB_OK) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/main.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let title = OsString::from_wide(&lp_string[..len as usize]); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:54:42 [INFO] [stderr] | [INFO] [stderr] 54 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `mc_auto_fish`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/main.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let title = OsString::from_wide(&lp_string[..len as usize]); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:54:42 [INFO] [stderr] | [INFO] [stderr] 54 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `mc_auto_fish`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a39f775ae7e958991117366ebf08801b97406bd7ef938a0f47d1c6fe90f7aefa"` [INFO] running `"docker" "rm" "-f" "a39f775ae7e958991117366ebf08801b97406bd7ef938a0f47d1c6fe90f7aefa"` [INFO] [stdout] a39f775ae7e958991117366ebf08801b97406bd7ef938a0f47d1c6fe90f7aefa