[INFO] cloning repository https://github.com/fiburonsk/wsl2-ip-host [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fiburonsk/wsl2-ip-host" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiburonsk%2Fwsl2-ip-host", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiburonsk%2Fwsl2-ip-host'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae46a7db70fa249f7b8ef6156b2c75482d5851cc [INFO] checking fiburonsk/wsl2-ip-host against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiburonsk%2Fwsl2-ip-host" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fiburonsk/wsl2-ip-host on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fiburonsk/wsl2-ip-host [INFO] finished tweaking git repo https://github.com/fiburonsk/wsl2-ip-host [INFO] tweaked toml for git repo https://github.com/fiburonsk/wsl2-ip-host written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/fiburonsk/wsl2-ip-host already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de42f2183114a3aef85d621f53f2ead3b8f89a8598fc1626bc93009c28d25882 [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" "de42f2183114a3aef85d621f53f2ead3b8f89a8598fc1626bc93009c28d25882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de42f2183114a3aef85d621f53f2ead3b8f89a8598fc1626bc93009c28d25882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de42f2183114a3aef85d621f53f2ead3b8f89a8598fc1626bc93009c28d25882", kill_on_drop: false }` [INFO] [stdout] de42f2183114a3aef85d621f53f2ead3b8f89a8598fc1626bc93009c28d25882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 292f36881a52d94f72a765af96fd5bb2cfbb84442768753e110db0dec8e0d78a [INFO] running `Command { std: "docker" "start" "-a" "292f36881a52d94f72a765af96fd5bb2cfbb84442768753e110db0dec8e0d78a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking faccess v0.2.3 [INFO] [stderr] Checking main v1.5.1 (/opt/rustwide/workdir/main) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main/src/lib.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::process::CommandExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main/src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> main/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> main/src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use winapi::um::shellapi::ShellExecuteW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main/src/lib.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::process::CommandExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main/src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> main/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> main/src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use winapi::um::shellapi::ShellExecuteW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteW` in this scope [INFO] [stdout] --> main/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ShellExecuteW( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_int` [INFO] [stdout] --> main/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | c_int::from(0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteW` in this scope [INFO] [stdout] --> main/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ShellExecuteW( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_int` [INFO] [stdout] --> main/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | c_int::from(0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `creation_flags` found for struct `Command` in the current scope [INFO] [stdout] --> main/src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | cmd.creation_flags(CREATE_NO_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> main/src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | OsStr::new(text).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `creation_flags` found for struct `Command` in the current scope [INFO] [stdout] --> main/src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | cmd.creation_flags(CREATE_NO_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> main/src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | OsStr::new(text).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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 `main` [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] [stdout] error: aborting due to 8 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "292f36881a52d94f72a765af96fd5bb2cfbb84442768753e110db0dec8e0d78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "292f36881a52d94f72a765af96fd5bb2cfbb84442768753e110db0dec8e0d78a", kill_on_drop: false }` [INFO] [stdout] 292f36881a52d94f72a765af96fd5bb2cfbb84442768753e110db0dec8e0d78a