[INFO] fetching crate wintun 0.1.5... [INFO] checking wintun-0.1.5 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate wintun 0.1.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate wintun 0.1.5 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wintun 0.1.5 [INFO] finished tweaking crates.io crate wintun 0.1.5 [INFO] tweaked toml for crates.io crate wintun 0.1.5 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate wintun 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4f8f61d9feb770dc303c180026f1a2291b66a0ada27fbbe5ec36f613cc859ce [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" "a4f8f61d9feb770dc303c180026f1a2291b66a0ada27fbbe5ec36f613cc859ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4f8f61d9feb770dc303c180026f1a2291b66a0ada27fbbe5ec36f613cc859ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f8f61d9feb770dc303c180026f1a2291b66a0ada27fbbe5ec36f613cc859ce", kill_on_drop: false }` [INFO] [stdout] a4f8f61d9feb770dc303c180026f1a2291b66a0ada27fbbe5ec36f613cc859ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be9e02821a7b5b0a6552828695256f3a3e1f76439fa24e5b848a0f99edb9ede3 [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" "be9e02821a7b5b0a6552828695256f3a3e1f76439fa24e5b848a0f99edb9ede3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking subprocess v0.2.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking wintun v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/adapter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | shared::winerror, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 26 | um::{ipexport, iphlpapi, synchapi}, [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/session.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/session.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/session.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::handleapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/session.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::synchapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/session.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::ntdef::{LANG_NEUTRAL, SUBLANG_DEFAULT}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/session.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt; [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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{winbase, winnt::MAKELANGID}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{winbase, winnt::MAKELANGID}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/session.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | let last_error = unsafe { GetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKELANGID` in this scope [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LANG_NEUTRAL` in this scope [INFO] [stdout] --> src/util.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUBLANG_DEFAULT` in this scope [INFO] [stdout] --> src/util.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `Name` on type `&_` [INFO] [stdout] --> src/adapter.rs:391:59 [INFO] [stdout] | [INFO] [stdout] 391 | unsafe { U16CStr::from_ptr_str(&interface.Name as *const u16).to_string_lossy() }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintun` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be9e02821a7b5b0a6552828695256f3a3e1f76439fa24e5b848a0f99edb9ede3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9e02821a7b5b0a6552828695256f3a3e1f76439fa24e5b848a0f99edb9ede3", kill_on_drop: false }` [INFO] [stdout] be9e02821a7b5b0a6552828695256f3a3e1f76439fa24e5b848a0f99edb9ede3