[INFO] cloning repository https://github.com/adumbidiot/make-nul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/make-nul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39fc3540c2b316539a1f7ad8f6239c364941d4e7 [INFO] checking adumbidiot/make-nul against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/make-nul on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adumbidiot/make-nul [INFO] finished tweaking git repo https://github.com/adumbidiot/make-nul [INFO] tweaked toml for git repo https://github.com/adumbidiot/make-nul written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/adumbidiot/make-nul already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3ec9063fe1ad8afbd1f50d370cfa6b718b791c9c0ed79d5ef3a094846befa2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "df3ec9063fe1ad8afbd1f50d370cfa6b718b791c9c0ed79d5ef3a094846befa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3ec9063fe1ad8afbd1f50d370cfa6b718b791c9c0ed79d5ef3a094846befa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3ec9063fe1ad8afbd1f50d370cfa6b718b791c9c0ed79d5ef3a094846befa2", kill_on_drop: false }` [INFO] [stdout] df3ec9063fe1ad8afbd1f50d370cfa6b718b791c9c0ed79d5ef3a094846befa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e37c2e008ae9e214db229497573a57e70d8272d6222d9cfaee9a12b0db75821 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e37c2e008ae9e214db229497573a57e70d8272d6222d9cfaee9a12b0db75821", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking make-nul v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::lmcons::UNLEN; [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/util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::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/util.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::MAX_PATH; [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/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::TRUE; [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/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::shlobj::SHGetSpecialFolderPathW; [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/util.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::shlobj::CSIDL_DESKTOP; [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/util.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::lstrlenW; [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/util.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winbase::GetUserNameW; [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/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::lmcons::UNLEN; [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/util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::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/util.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::MAX_PATH; [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/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::TRUE; [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/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::shlobj::SHGetSpecialFolderPathW; [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/util.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::shlobj::CSIDL_DESKTOP; [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/util.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::lstrlenW; [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/util.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winbase::GetUserNameW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNLEN` in this scope [INFO] [stdout] --> src/util.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | const BUFFER_LEN: u32 = UNLEN + 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope [INFO] [stdout] --> src/util.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let ret = unsafe { GetUserNameW(buffer.as_mut_ptr().cast(), &mut buffer_len) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CSIDL_DESKTOP` in this scope [INFO] [stdout] --> src/util.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | Self::Desktop => CSIDL_DESKTOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/util.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | const BUFFER_LEN: usize = MAX_PATH + 1; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/util.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHGetSpecialFolderPathW` in this scope [INFO] [stdout] --> src/util.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | SHGetSpecialFolderPathW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/util.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | if ret != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> src/util.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let len: usize = lstrlenW(buffer.as_ptr().cast()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNLEN` in this scope [INFO] [stdout] --> src/util.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | const BUFFER_LEN: u32 = UNLEN + 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope [INFO] [stdout] --> src/util.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let ret = unsafe { GetUserNameW(buffer.as_mut_ptr().cast(), &mut buffer_len) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CSIDL_DESKTOP` in this scope [INFO] [stdout] --> src/util.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | Self::Desktop => CSIDL_DESKTOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/util.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | const BUFFER_LEN: usize = MAX_PATH + 1; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/util.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHGetSpecialFolderPathW` in this scope [INFO] [stdout] --> src/util.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | SHGetSpecialFolderPathW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/util.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | if ret != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> src/util.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let len: usize = lstrlenW(buffer.as_ptr().cast()) [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/util.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(OsString::from_wide(buffer)) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [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/util.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | Some(OsString::from_wide(buffer).into()) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [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/util.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(OsString::from_wide(buffer)) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::TryInto` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/util.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | Some(OsString::from_wide(buffer).into()) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::TryInto` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `make-nul` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e37c2e008ae9e214db229497573a57e70d8272d6222d9cfaee9a12b0db75821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e37c2e008ae9e214db229497573a57e70d8272d6222d9cfaee9a12b0db75821", kill_on_drop: false }` [INFO] [stdout] 7e37c2e008ae9e214db229497573a57e70d8272d6222d9cfaee9a12b0db75821