[INFO] cloning repository https://github.com/denuvosanctuary/coldloader-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denuvosanctuary/coldloader-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenuvosanctuary%2Fcoldloader-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenuvosanctuary%2Fcoldloader-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f32b1f5ee5e3d900685186431898ee8a6c5808fe [INFO] checking denuvosanctuary/coldloader-proxy against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenuvosanctuary%2Fcoldloader-proxy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/denuvosanctuary/coldloader-proxy [INFO] finished tweaking git repo https://github.com/denuvosanctuary/coldloader-proxy [INFO] tweaked toml for git repo https://github.com/denuvosanctuary/coldloader-proxy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/denuvosanctuary/coldloader-proxy on toolchain 54cf65b8d066c082e536455049b95943cf30378f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/denuvosanctuary/coldloader-proxy 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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking denuvosanctuary/coldloader-proxy against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenuvosanctuary%2Fcoldloader-proxy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/denuvosanctuary/coldloader-proxy [INFO] finished tweaking git repo https://github.com/denuvosanctuary/coldloader-proxy [INFO] tweaked toml for git repo https://github.com/denuvosanctuary/coldloader-proxy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/denuvosanctuary/coldloader-proxy on toolchain 54cf65b8d066c082e536455049b95943cf30378f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/denuvosanctuary/coldloader-proxy 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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84154c082d4b424b87cfaa722e9bc89c38ca76d0ac4f2d3fa46fcbf239b49271 [INFO] running `Command { std: "docker" "start" "-a" "84154c082d4b424b87cfaa722e9bc89c38ca76d0ac4f2d3fa46fcbf239b49271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84154c082d4b424b87cfaa722e9bc89c38ca76d0ac4f2d3fa46fcbf239b49271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84154c082d4b424b87cfaa722e9bc89c38ca76d0ac4f2d3fa46fcbf239b49271", kill_on_drop: false }` [INFO] [stdout] 84154c082d4b424b87cfaa722e9bc89c38ca76d0ac4f2d3fa46fcbf239b49271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 521660885cb76d23aacbe22ec9e78b4add224abb21f74156bbfc8a11d1386904 [INFO] running `Command { std: "docker" "start" "-a" "521660885cb76d23aacbe22ec9e78b4add224abb21f74156bbfc8a11d1386904", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking coldloader-proxy v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::{OsStrExt as _, OsStringExt as _}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, DWORD, HMODULE, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi::{GetModuleFileNameW, LoadLibraryW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proxy.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/proxy.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::{FreeLibrary, GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/proxy.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::sysinfoapi::GetSystemDirectoryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/exports.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::{basetsd::{DWORD_PTR, UINT_PTR}, minwindef::{BOOL, DWORD, FALSE, LPARAM, LPDWORD, LPVOID, LRESULT, PUINT, UINT}, ... [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::{OsStrExt as _, OsStringExt as _}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, DWORD, HMODULE, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi::{GetModuleFileNameW, LoadLibraryW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/proxy.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/proxy.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::libloaderapi::{FreeLibrary, GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/proxy.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::sysinfoapi::GetSystemDirectoryA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/exports.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::{basetsd::{DWORD_PTR, UINT_PTR}, minwindef::{BOOL, DWORD, FALSE, LPARAM, LPDWORD, LPVOID, LRESULT, PUINT, UINT}, ... [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proxy.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | return Some(unsafe { *dll.load(Ordering::Relaxed) }); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proxy.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | return Some(unsafe { *dll.load(Ordering::Relaxed) }); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proxy.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { FreeLibrary(*dll.load(Ordering::Relaxed)) }; [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proxy.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { FreeLibrary(*dll.load(Ordering::Relaxed)) }; [INFO] [stdout] | ^^^ cannot infer type [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/lib.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [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/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] 32 + let path = OsString::from_iter(&buffer[..len as usize]).into_string().unwrap(); [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/lib.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 63 | let path_wide: Vec = dll_path [INFO] [stdout] | _______________________________- [INFO] [stdout] 64 | | .as_os_str() [INFO] [stdout] 65 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [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/lib.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [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/54cf65b8d066c082e536455049b95943cf30378f/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let path = OsString::from_wide(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] 32 + let path = OsString::from_iter(&buffer[..len as usize]).into_string().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 63 | let path_wide: Vec = dll_path [INFO] [stdout] | _______________________________- [INFO] [stdout] 64 | | .as_os_str() [INFO] [stdout] 65 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coldloader-proxy` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coldloader-proxy` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "521660885cb76d23aacbe22ec9e78b4add224abb21f74156bbfc8a11d1386904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521660885cb76d23aacbe22ec9e78b4add224abb21f74156bbfc8a11d1386904", kill_on_drop: false }` [INFO] [stdout] 521660885cb76d23aacbe22ec9e78b4add224abb21f74156bbfc8a11d1386904