[INFO] fetching crate winvd 0.0.20... [INFO] checking winvd-0.0.20 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate winvd 0.0.20 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate winvd 0.0.20 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate winvd 0.0.20 [INFO] finished tweaking crates.io crate winvd 0.0.20 [INFO] tweaked toml for crates.io crate winvd 0.0.20 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a2360ad5573c3d6bd41beab0d0d2dc9adcfe1c8f248be40a8593989e5431d9c [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" "5a2360ad5573c3d6bd41beab0d0d2dc9adcfe1c8f248be40a8593989e5431d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2360ad5573c3d6bd41beab0d0d2dc9adcfe1c8f248be40a8593989e5431d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2360ad5573c3d6bd41beab0d0d2dc9adcfe1c8f248be40a8593989e5431d9c", kill_on_drop: false }` [INFO] [stdout] 5a2360ad5573c3d6bd41beab0d0d2dc9adcfe1c8f248be40a8593989e5431d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e763718f4da668bc613f9608d858b083c0e7af311d363b81dcede870e247aca3 [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" "e763718f4da668bc613f9608d858b083c0e7af311d363b81dcede870e247aca3", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling com_macros_support v0.2.0 [INFO] [stderr] Compiling com_macros v0.2.0 [INFO] [stderr] Checking com v0.2.0 [INFO] [stderr] Checking winvd v0.0.20 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/hstring.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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: could not find `windows` in `os` [INFO] [stdout] --> src/hstring.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `windows` in `os` [INFO] [stdout] --> src/hstring.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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: could not find `windows` in `os` [INFO] [stdout] --> src/hstring.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | use winapi::um::winuser::FindWindowW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/lib.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | FindWindowW(notepad.as_ptr(), std::ptr::null()) as HWND [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/lib.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | FindWindowW(notepad.as_ptr(), std::ptr::null()) as HWND [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/hstring.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/hstring.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let f = OsString::from_wide(strr); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | objectarray.get_at(i, &IVirtualDesktop::IID, &mut ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | objectarray.get_at(i, &IVirtualDesktop2::IID, &mut ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/hstring.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/hstring.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let f = OsString::from_wide(strr); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winvd` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | objectarray.get_at(i, &IVirtualDesktop::IID, &mut ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | objectarray.get_at(i, &IVirtualDesktop2::IID, &mut ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings 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: build failed [INFO] running `Command { std: "docker" "inspect" "e763718f4da668bc613f9608d858b083c0e7af311d363b81dcede870e247aca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e763718f4da668bc613f9608d858b083c0e7af311d363b81dcede870e247aca3", kill_on_drop: false }` [INFO] [stdout] e763718f4da668bc613f9608d858b083c0e7af311d363b81dcede870e247aca3