[INFO] fetching crate clipboard-win 5.0.0... [INFO] checking clipboard-win-5.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate clipboard-win 5.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate clipboard-win 5.0.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clipboard-win 5.0.0 [INFO] finished tweaking crates.io crate clipboard-win 5.0.0 [INFO] tweaked toml for crates.io crate clipboard-win 5.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-code v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5841c8d96360fb299a8019885b144d4e9852a1935e6ef83ba540e02f0cabd8a [INFO] running `Command { std: "docker" "start" "-a" "f5841c8d96360fb299a8019885b144d4e9852a1935e6ef83ba540e02f0cabd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5841c8d96360fb299a8019885b144d4e9852a1935e6ef83ba540e02f0cabd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5841c8d96360fb299a8019885b144d4e9852a1935e6ef83ba540e02f0cabd8a", kill_on_drop: false }` [INFO] [stdout] f5841c8d96360fb299a8019885b144d4e9852a1935e6ef83ba540e02f0cabd8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8582478abd053fe9d9a1590df1fcd61a82a7b456eeb4c4686a2e7fbada521b15 [INFO] running `Command { std: "docker" "start" "-a" "8582478abd053fe9d9a1590df1fcd61a82a7b456eeb4c4686a2e7fbada521b15", kill_on_drop: false }` [INFO] [stderr] Checking clipboard-win v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clipboard_win::raw` [INFO] [stdout] --> tests/formats.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::raw::{register_format, format_name, format_name_big}; [INFO] [stdout] | ^^^ could not find `raw` in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `formats` in `clipboard_win` [INFO] [stdout] --> tests/formats.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let name = format_name(clipboard_win::formats::CF_TEXT, buf.as_mut_slice().into()).expect("to get CF_TEXT"); [INFO] [stdout] | ^^^^^^^ could not find `formats` in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::Getter`, `clipboard_win::Setter`, `clipboard_win::Clipboard`, `clipboard_win::is_format_avail`, `clipboard_win::types` [INFO] [stdout] --> tests/test_clip.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{Getter, Setter, Clipboard, is_format_avail, types}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ no `types` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `is_format_avail` in the root [INFO] [stdout] | | | no `Clipboard` in the root [INFO] [stdout] | | no `Setter` in the root [INFO] [stdout] | no `Getter` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clipboard_win::formats` [INFO] [stdout] --> tests/test_clip.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use clipboard_win::formats::{RawData, Unicode, Bitmap, CF_TEXT, CF_UNICODETEXT, CF_BITMAP, FileList, CF_HDROP}; [INFO] [stdout] | ^^^^^^^ could not find `formats` in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `formats` in `clipboard_win` [INFO] [stdout] --> tests/formats.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let name = format_name(clipboard_win::formats::CF_TEXT, buf.as_mut_slice().into()).expect("to get CF_TEXT"); [INFO] [stdout] | ^^^^^^^ could not find `formats` in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_owner` in crate `clipboard_win` [INFO] [stdout] --> tests/test_clip.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(clipboard_win::get_owner().is_none()); [INFO] [stdout] | ^^^^^^^^^ not found in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_owner` in crate `clipboard_win` [INFO] [stdout] --> tests/test_clip.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(clipboard_win::get_owner().is_none()); [INFO] [stdout] | ^^^^^^^^^ not found in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `empty` in crate `clipboard_win` [INFO] [stdout] --> tests/test_clip.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let _ = clipboard_win::empty(); //empty is necessary to finalize association [INFO] [stdout] | ^^^^^ not found in `clipboard_win` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::empty; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::empty; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::empty; [INFO] [stdout] | [INFO] [stdout] help: if you import `empty`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - let _ = clipboard_win::empty(); //empty is necessary to finalize association [INFO] [stdout] 118 + let _ = empty(); //empty is necessary to finalize association [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_owner` in crate `clipboard_win` [INFO] [stdout] --> tests/test_clip.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(clipboard_win::get_owner().expect("to have owner").as_ptr() as usize, console as usize); [INFO] [stdout] | ^^^^^^^^^ not found in `clipboard_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clipboard-win` (test "formats") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clipboard-win` (test "test_clip") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8582478abd053fe9d9a1590df1fcd61a82a7b456eeb4c4686a2e7fbada521b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8582478abd053fe9d9a1590df1fcd61a82a7b456eeb4c4686a2e7fbada521b15", kill_on_drop: false }` [INFO] [stdout] 8582478abd053fe9d9a1590df1fcd61a82a7b456eeb4c4686a2e7fbada521b15