[INFO] cloning repository https://github.com/pingzing/rust-vlc-finder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pingzing/rust-vlc-finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Frust-vlc-finder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Frust-vlc-finder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80446376676e96c792100b98fb958aad558decd1 [INFO] checking pingzing/rust-vlc-finder against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Frust-vlc-finder" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pingzing/rust-vlc-finder on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pingzing/rust-vlc-finder [INFO] finished tweaking git repo https://github.com/pingzing/rust-vlc-finder [INFO] tweaked toml for git repo https://github.com/pingzing/rust-vlc-finder written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/pingzing/rust-vlc-finder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc688e8f20650cc86f3a49643f9158138631dac38ef3c8ab5eb8906dc9273fdc [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" "bc688e8f20650cc86f3a49643f9158138631dac38ef3c8ab5eb8906dc9273fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc688e8f20650cc86f3a49643f9158138631dac38ef3c8ab5eb8906dc9273fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc688e8f20650cc86f3a49643f9158138631dac38ef3c8ab5eb8906dc9273fdc", kill_on_drop: false }` [INFO] [stdout] bc688e8f20650cc86f3a49643f9158138631dac38ef3c8ab5eb8906dc9273fdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80ddcc998a459e954a201fde87d3bdccf4c8f7656b1d417ad7fe7550245182e5 [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" "80ddcc998a459e954a201fde87d3bdccf4c8f7656b1d417ad7fe7550245182e5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking rust-vlc-finder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | 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/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in crate `user32` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | user32::EnumWindows(Some(enumerate_callback), 0i64); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | hwnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | _: winapi::LPARAM) [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in crate `winapi` [INFO] [stdout] --> src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | -> winapi::BOOL { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in crate `user32` [INFO] [stdout] --> src/main.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let title_length = user32::GetWindowTextLengthW(hwnd) + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in crate `user32` [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let read_len = user32::GetWindowTextW(hwnd, v.as_mut_ptr(), title_length); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in crate `user32` [INFO] [stdout] --> src/main.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | let window_handle = user32::FindWindowW(std::ptr::null_mut(), wide_string.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | user32::SetForegroundWindow(window_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | user32::ShowWindow(window_handle, 9); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stdout] --> src/main.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | return winapi::FALSE; [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | return winapi::TRUE; [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in crate `user32` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | user32::EnumWindows(Some(enumerate_callback), 0i64); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | hwnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | _: winapi::LPARAM) [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in crate `winapi` [INFO] [stdout] --> src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | -> winapi::BOOL { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in crate `user32` [INFO] [stdout] --> src/main.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let title_length = user32::GetWindowTextLengthW(hwnd) + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in crate `user32` [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let read_len = user32::GetWindowTextW(hwnd, v.as_mut_ptr(), title_length); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in crate `user32` [INFO] [stdout] --> src/main.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | let window_handle = user32::FindWindowW(std::ptr::null_mut(), wide_string.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | user32::SetForegroundWindow(window_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | user32::ShowWindow(window_handle, 9); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stdout] --> src/main.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | return winapi::FALSE; [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | return winapi::TRUE; [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:39:69 [INFO] [stdout] | [INFO] [stdout] 39 | let wide_string: Vec = OsStr::new(string.as_str()).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-vlc-finder` [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[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:39:69 [INFO] [stdout] | [INFO] [stdout] 39 | let wide_string: Vec = OsStr::new(string.as_str()).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "80ddcc998a459e954a201fde87d3bdccf4c8f7656b1d417ad7fe7550245182e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ddcc998a459e954a201fde87d3bdccf4c8f7656b1d417ad7fe7550245182e5", kill_on_drop: false }` [INFO] [stdout] 80ddcc998a459e954a201fde87d3bdccf4c8f7656b1d417ad7fe7550245182e5