[INFO] cloning repository https://github.com/dfxyz/toolbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dfxyz/toolbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfxyz%2Ftoolbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfxyz%2Ftoolbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f92c00ba732d73be77db6adc03b839e56093796 [INFO] checking dfxyz/toolbox against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfxyz%2Ftoolbox" "/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/dfxyz/toolbox [INFO] finished tweaking git repo https://github.com/dfxyz/toolbox [INFO] tweaked toml for git repo https://github.com/dfxyz/toolbox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dfxyz/toolbox on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dfxyz/toolbox 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db [INFO] running `Command { std: "docker" "start" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simple-logger v0.1.0 (https://github.com/dfxyz/simple-logger.git#6c64705c) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking sshhlib v0.1.0 (/opt/rustwide/workdir/sshhlib) [INFO] [stderr] Checking pargs v0.1.0 (/opt/rustwide/workdir/pargs) [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking win-file-attr v0.1.0 (/opt/rustwide/workdir/win-file-attr) [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Checking sudo v0.1.0 (/opt/rustwide/workdir/sudo) [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | const HIDDEN: u32 = winapi::um::winnt::FILE_ATTRIBUTE_HIDDEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | const SYSTEM: u32 = winapi::um::winnt::FILE_ATTRIBUTE_SYSTEM; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | let result = winapi::um::fileapi::GetFileAttributesW(path.as_ptr()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | if result == winapi::um::fileapi::INVALID_FILE_ATTRIBUTES { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | if winapi::um::fileapi::SetFileAttributesW(path.as_ptr(), attr) == 0 { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> sudo/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::shellapi::ShellExecuteW( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> sudo/src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | winapi::um::winuser::SW_SHOWNORMAL, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-file-attr` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sudo` (bin "sudo" test) due to 2 previous errors [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> shell/src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { winapi::um::consoleapi::SetConsoleCtrlHandler(None, 1) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | const HIDDEN: u32 = winapi::um::winnt::FILE_ATTRIBUTE_HIDDEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | const SYSTEM: u32 = winapi::um::winnt::FILE_ATTRIBUTE_SYSTEM; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | let result = winapi::um::fileapi::GetFileAttributesW(path.as_ptr()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shell` (bin "shell") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | if result == winapi::um::fileapi::INVALID_FILE_ATTRIBUTES { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> win-file-attr/src/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | if winapi::um::fileapi::SetFileAttributesW(path.as_ptr(), attr) == 0 { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-file-attr` (lib test) due to 5 previous errors [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> shell/src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { winapi::um::consoleapi::SetConsoleCtrlHandler(None, 1) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> sudo/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::shellapi::ShellExecuteW( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> sudo/src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | winapi::um::winuser::SW_SHOWNORMAL, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sudo` (bin "sudo") due to 2 previous errors [INFO] [stderr] error: could not compile `shell` (bin "shell" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db", kill_on_drop: false }` [INFO] [stdout] a344ae01ed48ddf31f0bb912e86c904c9517b3867e1a2d9c52ca0f53ea98c4db