[INFO] cloning repository https://github.com/mantvmass/file-lock-checker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mantvmass/file-lock-checker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmantvmass%2Ffile-lock-checker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmantvmass%2Ffile-lock-checker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b3cfcd55b8f806ba7c0b8b82f1ded87f79ee6b4b
[INFO] testing mantvmass/file-lock-checker against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmantvmass%2Ffile-lock-checker" "/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/mantvmass/file-lock-checker
[INFO] finished tweaking git repo https://github.com/mantvmass/file-lock-checker
[INFO] tweaked toml for git repo https://github.com/mantvmass/file-lock-checker written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mantvmass/file-lock-checker on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mantvmass/file-lock-checker 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5972b0a54a78d12e98699213511166aeb6ec4fc06d314b94cbd57cbb982fd69
[INFO] running `Command { std: "docker" "start" "-a" "a5972b0a54a78d12e98699213511166aeb6ec4fc06d314b94cbd57cbb982fd69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5972b0a54a78d12e98699213511166aeb6ec4fc06d314b94cbd57cbb982fd69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5972b0a54a78d12e98699213511166aeb6ec4fc06d314b94cbd57cbb982fd69", kill_on_drop: false }`
[INFO] [stdout] a5972b0a54a78d12e98699213511166aeb6ec4fc06d314b94cbd57cbb982fd69
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99f7764e81cdd66025655ae858e4a4d3f5a963cef9a12baa2d348489134e55dc
[INFO] running `Command { std: "docker" "start" "-a" "99f7764e81cdd66025655ae858e4a4d3f5a963cef9a12baa2d348489134e55dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling file-lock-checker v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/os/mod.rs:120:10
[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/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, FALSE, HKEY, TRUE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::winerror::ERROR_MORE_DATA;
[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/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[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/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcess, TerminateProcess};
[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/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::psapi::{EnumProcesses, GetModuleBaseNameW, GetProcessImageFileNameW};
[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/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::restartmanager::*;
[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/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::winnt::{KEY_WRITE, REG_SZ};
[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/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_TERMINATE, PROCESS_VM_READ};
[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/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winreg::{HKEY_CLASSES_ROOT, RegCloseKey, RegCreateKeyExW, RegSetValueExW};
[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/main.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |         use winapi::um::winreg::RegDeleteTreeW;
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CCH_RM_SESSION_KEY` in this scope
[INFO] [stdout]    --> src/main.rs:419:38
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let mut session_key = [0u16; CCH_RM_SESSION_KEY + 1];
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RM_PROCESS_INFO` in this scope
[INFO] [stdout]    --> src/main.rs:472:36
[INFO] [stdout]     |
[INFO] [stdout] 472 |             let mut proc_info: Vec<RM_PROCESS_INFO> =
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 416 | fn check_file_locks<RM_PROCESS_INFO>(file_path: &str) -> Result<FileLockInfo, String> {
[INFO] [stdout]     |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:170:14
[INFO] [stdout]     |
[INFO] [stdout] 169 |           let wide_menu_key: Vec<u16> = OsString::from(&menu_key_path)
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 170 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:204:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |           let wide_command_key: Vec<u16> = OsString::from(&command_key_path)
[INFO] [stdout]     |  __________________________________________-
[INFO] [stdout] 204 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 240 | /             OsString::from(name)
[INFO] [stdout] 241 | |                 .encode_wide()
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let wide_value: Vec<u16> = OsString::from(value)
[INFO] [stdout]     |  ____________________________________-
[INFO] [stdout] 247 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:290:14
[INFO] [stdout]     |
[INFO] [stdout] 289 |           let wide_key: Vec<u16> = OsString::from(key_path)
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 290 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmStartSession` in this scope
[INFO] [stdout]    --> src/main.rs:422:22
[INFO] [stdout]     |
[INFO] [stdout] 422 |         let result = RmStartSession(&mut session_handle, 0, session_key.as_mut_ptr());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:432:14
[INFO] [stdout]     |
[INFO] [stdout] 431 |           let wide_path: Vec<u16> = OsString::from(file_path)
[INFO] [stdout]     |  ___________________________________-
[INFO] [stdout] 432 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmRegisterResources` in this scope
[INFO] [stdout]    --> src/main.rs:438:22
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let result = RmRegisterResources(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmEndSession` in this scope
[INFO] [stdout]    --> src/main.rs:449:13
[INFO] [stdout]     |
[INFO] [stdout] 449 |             RmEndSession(session_handle);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmGetList` in this scope
[INFO] [stdout]    --> src/main.rs:459:22
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let result = RmGetList(
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmGetList` in this scope
[INFO] [stdout]    --> src/main.rs:476:26
[INFO] [stdout]     |
[INFO] [stdout] 476 |             let result = RmGetList(
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RmEndSession` in this scope
[INFO] [stdout]    --> src/main.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |         RmEndSession(session_handle);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[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/main.rs:516:15
[INFO] [stdout]     |
[INFO] [stdout] 516 |     OsString::from_wide(&wide_str[..null_pos])
[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/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/ffi/os_str.rs:141:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 516 -     OsString::from_wide(&wide_str[..null_pos])
[INFO] [stdout] 516 +     OsString::from_iter(&wide_str[..null_pos])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:270:5
[INFO] [stdout]     |
[INFO] [stdout] 270 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `file-lock-checker` (bin "file-lock-checker") due to 27 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "99f7764e81cdd66025655ae858e4a4d3f5a963cef9a12baa2d348489134e55dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99f7764e81cdd66025655ae858e4a4d3f5a963cef9a12baa2d348489134e55dc", kill_on_drop: false }`
[INFO] [stdout] 99f7764e81cdd66025655ae858e4a4d3f5a963cef9a12baa2d348489134e55dc
