[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 1.90.0 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mantvmass/file-lock-checker on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 431439830b1a4f27431bfeff5a3de2890f4673b08d7f2cea134231db701852df [INFO] running `Command { std: "docker" "start" "-a" "431439830b1a4f27431bfeff5a3de2890f4673b08d7f2cea134231db701852df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "431439830b1a4f27431bfeff5a3de2890f4673b08d7f2cea134231db701852df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431439830b1a4f27431bfeff5a3de2890f4673b08d7f2cea134231db701852df", kill_on_drop: false }` [INFO] [stdout] 431439830b1a4f27431bfeff5a3de2890f4673b08d7f2cea134231db701852df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44475388d2c0833b99c463b63fb3130f6ffb40153c12684ec4cbe7edb9ade2b3 [INFO] running `Command { std: "docker" "start" "-a" "44475388d2c0833b99c463b63fb3130f6ffb40153c12684ec4cbe7edb9ade2b3", 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/1159e78c4747b02ef996e55082b704c09b970588/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/1159e78c4747b02ef996e55082b704c09b970588/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 = [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(file_path: &str) -> Result { [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 = 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 = 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 = 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 = 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 = 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/1159e78c4747b02ef996e55082b704c09b970588/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)]` 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" "44475388d2c0833b99c463b63fb3130f6ffb40153c12684ec4cbe7edb9ade2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44475388d2c0833b99c463b63fb3130f6ffb40153c12684ec4cbe7edb9ade2b3", kill_on_drop: false }` [INFO] [stdout] 44475388d2c0833b99c463b63fb3130f6ffb40153c12684ec4cbe7edb9ade2b3