[INFO] updating cached repository https://github.com/briangreenery/with-clean-env [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6a31bfcc78d48d015987d12e4ce721f9473c6351 [INFO] checking briangreenery/with-clean-env against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriangreenery%2Fwith-clean-env" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/briangreenery/with-clean-env on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/briangreenery/with-clean-env [INFO] finished tweaking git repo https://github.com/briangreenery/with-clean-env [INFO] tweaked toml for git repo https://github.com/briangreenery/with-clean-env written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/briangreenery/with-clean-env already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ac34a539c930f01672d2b6f2b8c09ef0515d1a0938bb269a8a9cd3de3d1f78a [INFO] running `"docker" "start" "-a" "4ac34a539c930f01672d2b6f2b8c09ef0515d1a0938bb269a8a9cd3de3d1f78a"` [INFO] [stderr] Compiling advapi32-sys v0.2.0 [INFO] [stderr] Compiling userenv-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking with-clean-env v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `kernel32::CloseHandle`, `kernel32::GetCurrentProcess` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use kernel32::{CloseHandle, GetCurrentProcess}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `GetCurrentProcess` in the root [INFO] [stderr] | | [INFO] [stderr] | no `CloseHandle` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `advapi32::OpenProcessToken` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use advapi32::OpenProcessToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OpenProcessToken` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `userenv::CreateEnvironmentBlock`, `userenv::DestroyEnvironmentBlock` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use userenv::{CreateEnvironmentBlock, DestroyEnvironmentBlock}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `DestroyEnvironmentBlock` in the root [INFO] [stderr] | | [INFO] [stderr] | no `CreateEnvironmentBlock` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stderr] --> src/main.rs:41:63 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe fn parse_environment(environment_block: *const winapi::c_void) -> Vec<(OsString, OsString)> { [INFO] [stderr] | ^^^^^^ not found in `winapi` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TOKEN_READ` in crate `winapi` [INFO] [stderr] --> src/main.rs:70:58 [INFO] [stderr] | [INFO] [stderr] 70 | if OpenProcessToken(GetCurrentProcess(), winapi::TOKEN_READ, &mut token) == 0 { [INFO] [stderr] | ^^^^^^^^^^ not found in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stderr] --> src/main.rs:76:74 [INFO] [stderr] | [INFO] [stderr] 76 | if CreateEnvironmentBlock(&mut environment_block, token, winapi::FALSE) == 0 { [INFO] [stderr] | ^^^^^ not found in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `kernel32::CloseHandle`, `kernel32::GetCurrentProcess` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use kernel32::{CloseHandle, GetCurrentProcess}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `GetCurrentProcess` in the root [INFO] [stderr] | | [INFO] [stderr] | no `CloseHandle` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `advapi32::OpenProcessToken` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use advapi32::OpenProcessToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OpenProcessToken` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `userenv::CreateEnvironmentBlock`, `userenv::DestroyEnvironmentBlock` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use userenv::{CreateEnvironmentBlock, DestroyEnvironmentBlock}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `DestroyEnvironmentBlock` in the root [INFO] [stderr] | | [INFO] [stderr] | no `CreateEnvironmentBlock` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stderr] --> src/main.rs:41:63 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe fn parse_environment(environment_block: *const winapi::c_void) -> Vec<(OsString, OsString)> { [INFO] [stderr] | ^^^^^^ not found in `winapi` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TOKEN_READ` in crate `winapi` [INFO] [stderr] --> src/main.rs:70:58 [INFO] [stderr] | [INFO] [stderr] 70 | if OpenProcessToken(GetCurrentProcess(), winapi::TOKEN_READ, &mut token) == 0 { [INFO] [stderr] | ^^^^^^^^^^ not found in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stderr] --> src/main.rs:76:74 [INFO] [stderr] | [INFO] [stderr] 76 | if CreateEnvironmentBlock(&mut environment_block, token, winapi::FALSE) == 0 { [INFO] [stderr] | ^^^^^ not found in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/main.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | OsString::from_wide(slice) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:125:29 [INFO] [stderr] | [INFO] [stderr] 125 | Err(err) => die(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:140:29 [INFO] [stderr] | [INFO] [stderr] 140 | Err(err) => die(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `with-clean-env`. [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[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/main.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | OsString::from_wide(slice) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:125:29 [INFO] [stderr] | [INFO] [stderr] 125 | Err(err) => die(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:140:29 [INFO] [stderr] | [INFO] [stderr] 140 | Err(err) => die(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `with-clean-env`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4ac34a539c930f01672d2b6f2b8c09ef0515d1a0938bb269a8a9cd3de3d1f78a"` [INFO] running `"docker" "rm" "-f" "4ac34a539c930f01672d2b6f2b8c09ef0515d1a0938bb269a8a9cd3de3d1f78a"` [INFO] [stdout] 4ac34a539c930f01672d2b6f2b8c09ef0515d1a0938bb269a8a9cd3de3d1f78a