[INFO] cloning repository https://github.com/wanzaixiaoxin/toolboxer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wanzaixiaoxin/toolboxer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanzaixiaoxin%2Ftoolboxer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanzaixiaoxin%2Ftoolboxer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e82a301fa9a01a94055debcb172bb0333f900d34 [INFO] testing wanzaixiaoxin/toolboxer against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanzaixiaoxin%2Ftoolboxer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wanzaixiaoxin/toolboxer [INFO] finished tweaking git repo https://github.com/wanzaixiaoxin/toolboxer [INFO] tweaked toml for git repo https://github.com/wanzaixiaoxin/toolboxer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wanzaixiaoxin/toolboxer on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wanzaixiaoxin/toolboxer 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05cd6f285f1a55b86b41620884cba4316f3af9194983fad8648f2cf730266299 [INFO] running `Command { std: "docker" "start" "-a" "05cd6f285f1a55b86b41620884cba4316f3af9194983fad8648f2cf730266299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05cd6f285f1a55b86b41620884cba4316f3af9194983fad8648f2cf730266299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cd6f285f1a55b86b41620884cba4316f3af9194983fad8648f2cf730266299", kill_on_drop: false }` [INFO] [stdout] 05cd6f285f1a55b86b41620884cba4316f3af9194983fad8648f2cf730266299 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f4e58044e522f240540c6905678904e8b1ae29a0de3dee7e9088bdee406814 [INFO] running `Command { std: "docker" "start" "-a" "51f4e58044e522f240540c6905678904e8b1ae29a0de3dee7e9088bdee406814", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling toolboxer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/commands/portown.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | use winapi::shared::minwindef::{DWORD, FALSE}; [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/commands/portown.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | 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 `um` in `winapi` [INFO] [stdout] --> src/commands/portown.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | use winapi::um::handleapi::CloseHandle; [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/commands/portown.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | use winapi::um::processthreadsapi::OpenProcess; [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/commands/portown.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | use winapi::um::psapi::GetModuleFileNameExA; [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/commands/portown.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | use winapi::um::winbase::QueryFullProcessImageNameA; [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/commands/portown.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | use winapi::um::winnt::PROCESS_QUERY_LIMITED_INFORMATION; [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/commands/portown.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | use winapi::um::processthreadsapi::OpenProcessToken; [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/commands/portown.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | use winapi::um::winbase::LookupPrivilegeValueA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/commands/portown.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let mut token: winapi::um::winnt::HANDLE = std::ptr::null_mut(); [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/commands/portown.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | winapi::um::processthreadsapi::GetCurrentProcess(), [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/commands/portown.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | winapi::um::winnt::TOKEN_ADJUST_PRIVILEGES | winapi::um::winnt::TOKEN_QUERY, [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/commands/portown.rs:304:66 [INFO] [stdout] | [INFO] [stdout] 304 | winapi::um::winnt::TOKEN_ADJUST_PRIVILEGES | winapi::um::winnt::TOKEN_QUERY, [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/commands/portown.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | let mut luid = winapi::um::winnt::LUID { [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/commands/portown.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | winapi::um::winnt::SE_DEBUG_NAME.as_ptr() as *const i8, [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/commands/portown.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | let mut tp = winapi::um::winnt::TOKEN_PRIVILEGES { [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/commands/portown.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | Privileges: [winapi::um::winnt::LUID_AND_ATTRIBUTES { [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/commands/portown.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | Attributes: winapi::um::winnt::SE_PRIVILEGE_ENABLED, [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/commands/portown.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | winapi::um::securitybaseapi::AdjustTokenPrivileges( [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/commands/portown.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | std::mem::size_of::() as u32, [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/commands/portown.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | winapi::um::handleapi::CloseHandle(token); [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/commands/portown.rs:339:39 [INFO] [stdout] | [INFO] [stdout] 339 | let _last_error = winapi::um::errhandlingapi::GetLastError(); [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/commands/portown.rs:394:39 [INFO] [stdout] | [INFO] [stdout] 394 | let _last_error = winapi::um::errhandlingapi::GetLastError(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_attributes` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/utils.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | return metadata.file_attributes() & 0x2 != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 114 - return metadata.file_attributes() & 0x2 != 0; [INFO] [stdout] 114 + return metadata.file_type() & 0x2 != 0; [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 `toolboxer` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "51f4e58044e522f240540c6905678904e8b1ae29a0de3dee7e9088bdee406814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f4e58044e522f240540c6905678904e8b1ae29a0de3dee7e9088bdee406814", kill_on_drop: false }` [INFO] [stdout] 51f4e58044e522f240540c6905678904e8b1ae29a0de3dee7e9088bdee406814