[INFO] cloning repository https://github.com/Loki-s13/Ghost-of-tsushima [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Loki-s13/Ghost-of-tsushima" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoki-s13%2FGhost-of-tsushima", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoki-s13%2FGhost-of-tsushima'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0bf217459afbb49352a76c949287d9158f3085e [INFO] checking Loki-s13/Ghost-of-tsushima against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoki-s13%2FGhost-of-tsushima" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Loki-s13/Ghost-of-tsushima on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Loki-s13/Ghost-of-tsushima [INFO] finished tweaking git repo https://github.com/Loki-s13/Ghost-of-tsushima [INFO] tweaked toml for git repo https://github.com/Loki-s13/Ghost-of-tsushima written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Loki-s13/Ghost-of-tsushima 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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 193ef5efd02cc8d5726cd0830234775c504c2322d0a4e5535033352094e82e7a [INFO] running `Command { std: "docker" "start" "-a" "193ef5efd02cc8d5726cd0830234775c504c2322d0a4e5535033352094e82e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "193ef5efd02cc8d5726cd0830234775c504c2322d0a4e5535033352094e82e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193ef5efd02cc8d5726cd0830234775c504c2322d0a4e5535033352094e82e7a", kill_on_drop: false }` [INFO] [stdout] 193ef5efd02cc8d5726cd0830234775c504c2322d0a4e5535033352094e82e7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a24d04d70277ecb6087ea6a292ecd9da6b21c8bf23223f14be524d3799e81a97 [INFO] running `Command { std: "docker" "start" "-a" "a24d04d70277ecb6087ea6a292ecd9da6b21c8bf23223f14be524d3799e81a97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking GoT-Unlimitted-Arrows v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/cheat.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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Threading::{OpenProcess, PROCESS_VM_OPERATION, PROCESS_VM_READ, PROCESS_VM_WRITE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::{CloseHandle, HANDLE, HMODULE, MAX_PATH}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Diagnostics::Debug::WriteProcessMemory; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::Diagnostics::ToolHelp::{CreateToolhelp32Snapshot, Process32FirstW, Process32NextW, PROCESSENTRY32W, TH32CS_SN... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::ProcessStatus::{EnumProcessModules, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/cheat.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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0fe3684930279e4d3be3aca66b30f82946ce9ac2/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Threading::{OpenProcess, PROCESS_VM_OPERATION, PROCESS_VM_READ, PROCESS_VM_WRITE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::{CloseHandle, HANDLE, HMODULE, MAX_PATH}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Diagnostics::Debug::WriteProcessMemory; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::Diagnostics::ToolHelp::{CreateToolhelp32Snapshot, Process32FirstW, Process32NextW, PROCESSENTRY32W, TH32CS_SN... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/cheat.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::ProcessStatus::{EnumProcessModules, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [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/cheat.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | let string = OsString::from_wide(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/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] 24 - let string = OsString::from_wide(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).unwrap()]); [INFO] [stdout] 24 + let string = OsString::from_iter(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).unwrap()]); [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/cheat.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | let retrieved_module_name = OsString::from_wide(&module_name_buffer[..name_length as usize]); [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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/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] 63 - let retrieved_module_name = OsString::from_wide(&module_name_buffer[..name_length as usize]); [INFO] [stdout] 63 + let retrieved_module_name = OsString::from_iter(&module_name_buffer[..name_length as usize]); [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 `GoT-Unlimitted-Arrows` (bin "GoT-Unlimitted-Arrows" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/cheat.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | let string = OsString::from_wide(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/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] 24 - let string = OsString::from_wide(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).unwrap()]); [INFO] [stdout] 24 + let string = OsString::from_iter(&pe32.szExeFile[..pe32.szExeFile.iter().position(|c| *c==0u16).unwrap()]); [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/cheat.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | let retrieved_module_name = OsString::from_wide(&module_name_buffer[..name_length as usize]); [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/0fe3684930279e4d3be3aca66b30f82946ce9ac2/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] 63 - let retrieved_module_name = OsString::from_wide(&module_name_buffer[..name_length as usize]); [INFO] [stdout] 63 + let retrieved_module_name = OsString::from_iter(&module_name_buffer[..name_length as usize]); [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 `GoT-Unlimitted-Arrows` (bin "GoT-Unlimitted-Arrows") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a24d04d70277ecb6087ea6a292ecd9da6b21c8bf23223f14be524d3799e81a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a24d04d70277ecb6087ea6a292ecd9da6b21c8bf23223f14be524d3799e81a97", kill_on_drop: false }` [INFO] [stdout] a24d04d70277ecb6087ea6a292ecd9da6b21c8bf23223f14be524d3799e81a97