[INFO] cloning repository https://github.com/toolness/pbpaste-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toolness/pbpaste-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoolness%2Fpbpaste-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoolness%2Fpbpaste-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f068798c54ff5132ceda915bb8ca6ed71bd6799 [INFO] checking toolness/pbpaste-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoolness%2Fpbpaste-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toolness/pbpaste-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toolness/pbpaste-rs [INFO] finished tweaking git repo https://github.com/toolness/pbpaste-rs [INFO] tweaked toml for git repo https://github.com/toolness/pbpaste-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/toolness/pbpaste-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", 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] 6bf7e44e8b78f5461100a81b19c0fb200a33f50c2fbb4e4dc50b6de714bc5286 [INFO] running `Command { std: "docker" "start" "-a" "6bf7e44e8b78f5461100a81b19c0fb200a33f50c2fbb4e4dc50b6de714bc5286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bf7e44e8b78f5461100a81b19c0fb200a33f50c2fbb4e4dc50b6de714bc5286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf7e44e8b78f5461100a81b19c0fb200a33f50c2fbb4e4dc50b6de714bc5286", kill_on_drop: false }` [INFO] [stdout] 6bf7e44e8b78f5461100a81b19c0fb200a33f50c2fbb4e4dc50b6de714bc5286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] fe991eb822bd9db7d7cd86690d444560f7b9694134320b5bc3e8ebb19a956912 [INFO] running `Command { std: "docker" "start" "-a" "fe991eb822bd9db7d7cd86690d444560f7b9694134320b5bc3e8ebb19a956912", kill_on_drop: false }` [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking pbpaste v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `user32::OpenClipboard`, `user32::GetClipboardData`, `user32::CloseClipboard`, `user32::EmptyClipboard`, `user32::SetClipboardData` [INFO] [stdout] --> src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use user32::{OpenClipboard, GetClipboardData, CloseClipboard, EmptyClipboard, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `EmptyClipboard` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CloseClipboard` in the root [INFO] [stdout] | | no `GetClipboardData` in the root [INFO] [stdout] | no `OpenClipboard` in the root [INFO] [stdout] 7 | SetClipboardData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `SetClipboardData` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kernel32::GlobalAlloc`, `kernel32::GlobalLock`, `kernel32::GlobalUnlock`, `kernel32::WideCharToMultiByte` [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use kernel32::{GlobalAlloc, GlobalLock, GlobalUnlock, WideCharToMultiByte}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `WideCharToMultiByte` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GlobalUnlock` in the root [INFO] [stdout] | | no `GlobalLock` in the root [INFO] [stdout] | no `GlobalAlloc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winnt` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::winnt::{WCHAR}; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `user32::OpenClipboard`, `user32::GetClipboardData`, `user32::CloseClipboard`, `user32::EmptyClipboard`, `user32::SetClipboardData` [INFO] [stdout] --> src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use user32::{OpenClipboard, GetClipboardData, CloseClipboard, EmptyClipboard, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `EmptyClipboard` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CloseClipboard` in the root [INFO] [stdout] | | no `GetClipboardData` in the root [INFO] [stdout] | no `OpenClipboard` in the root [INFO] [stdout] 7 | SetClipboardData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `SetClipboardData` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kernel32::GlobalAlloc`, `kernel32::GlobalLock`, `kernel32::GlobalUnlock`, `kernel32::WideCharToMultiByte` [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use kernel32::{GlobalAlloc, GlobalLock, GlobalUnlock, WideCharToMultiByte}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `WideCharToMultiByte` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `GlobalUnlock` in the root [INFO] [stdout] | | no `GlobalLock` in the root [INFO] [stdout] | no `GlobalAlloc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winnt` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::winnt::{WCHAR}; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnls` in `winapi` [INFO] [stdout] --> src/lib.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::winnls::CP_UTF8, // CodePage [INFO] [stdout] | ^^^^^^ could not find `winnls` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnls` in `winapi` [INFO] [stdout] --> src/lib.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | winapi::winnls::CP_UTF8, // CodePage [INFO] [stdout] | ^^^^^^ could not find `winnls` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/lib.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | if OpenClipboard(0 as winapi::HWND) == 0 { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in crate `winapi` [INFO] [stdout] --> src/lib.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | ... (test_str.len() + 1) as winapi::SIZE_T); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnls` in `winapi` [INFO] [stdout] --> src/lib.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::winnls::CP_UTF8, // CodePage [INFO] [stdout] | ^^^^^^ could not find `winnls` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnls` in `winapi` [INFO] [stdout] --> src/lib.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | winapi::winnls::CP_UTF8, // CodePage [INFO] [stdout] | ^^^^^^ could not find `winnls` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/lib.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | if OpenClipboard(0 as winapi::HWND) == 0 { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in crate `winapi` [INFO] [stdout] --> src/lib.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | ... (test_str.len() + 1) as winapi::SIZE_T); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | static GLOBAL_CLIPBOARD_LOCK: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | static GLOBAL_CLIPBOARD_LOCK: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | while GLOBAL_CLIPBOARD_LOCK.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | while GLOBAL_CLIPBOARD_LOCK.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbpaste` [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: build failed [INFO] running `Command { std: "docker" "inspect" "fe991eb822bd9db7d7cd86690d444560f7b9694134320b5bc3e8ebb19a956912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe991eb822bd9db7d7cd86690d444560f7b9694134320b5bc3e8ebb19a956912", kill_on_drop: false }` [INFO] [stdout] fe991eb822bd9db7d7cd86690d444560f7b9694134320b5bc3e8ebb19a956912