[INFO] fetching crate copycat 0.3.0... [INFO] testing copycat-0.3.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate copycat 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate copycat 0.3.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate copycat 0.3.0 [INFO] finished tweaking crates.io crate copycat 0.3.0 [INFO] tweaked toml for crates.io crate copycat 0.3.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate copycat 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v3.0.2 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a1a14bdc8f94029ae7d509be0841b0b499ff78185b568e7618e43628c037b364 [INFO] running `"docker" "start" "-a" "a1a14bdc8f94029ae7d509be0841b0b499ff78185b568e7618e43628c037b364"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling lazy-bytes-cast v5.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clipboard-win v3.0.2 [INFO] [stderr] Compiling copycat v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | shared::windef::HDC, [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | um::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `clipboard_win::raw`, `clipboard_win::Clipboard` [INFO] [stderr] --> src/main.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use clipboard_win::{raw, Clipboard}; [INFO] [stderr] | ^^^ ^^^^^^^^^ no `Clipboard` in the root [INFO] [stderr] | | [INFO] [stderr] | no `raw` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | struct Dc(pub HDC); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stderr] --> src/main.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | Self(unsafe { GetDC(null_mut()) }) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stderr] --> src/main.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | unsafe { ReleaseDC(null_mut(), self.0) }; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LocalAlloc` in this scope [INFO] [stderr] --> src/main.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | let ptr = unsafe { LocalAlloc(LPTR, size) } as *mut _; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LPTR` in this scope [INFO] [stderr] --> src/main.rs:47:39 [INFO] [stderr] | [INFO] [stderr] 47 | let ptr = unsafe { LocalAlloc(LPTR, size) } as *mut _; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stderr] --> src/main.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | unsafe { LocalFree(self.0.as_ptr() as _) }; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CF_BITMAP` in this scope [INFO] [stderr] --> src/main.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | let handle = raw::get_clipboard_data(CF_BITMAP).ok()?; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BITMAP` in this scope [INFO] [stderr] --> src/main.rs:74:22 [INFO] [stderr] | [INFO] [stderr] 74 | let mut bitmap = BITMAP { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectW` in this scope [INFO] [stderr] --> src/main.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | GetObjectW( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAP` in this scope [INFO] [stderr] --> src/main.rs:87:23 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 87 | size_of::() as _, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAP` in this scope [INFO] [stderr] --> src/main.rs:88:33 [INFO] [stderr] | [INFO] [stderr] 88 | &mut bitmap as *mut BITMAP as _, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stderr] --> src/main.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 110 | let mut info: LocalMemory = if clr_bits < 24 { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stderr] --> src/main.rs:111:36 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 111 | LocalMemory::new(size_of::() + size_of::() * (1 << clr_bits))? [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RGBQUAD` in this scope [INFO] [stderr] --> src/main.rs:111:68 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 111 | LocalMemory::new(size_of::() + size_of::() * (1 << clr_bits))? [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stderr] --> src/main.rs:113:36 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 113 | LocalMemory::new(size_of::())? [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stderr] --> src/main.rs:116:39 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 116 | info.bmiHeader.biSize = size_of::() as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stderr] --> src/main.rs:121:36 [INFO] [stderr] | [INFO] [stderr] 121 | info.bmiHeader.biCompression = BI_RGB; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope [INFO] [stderr] --> src/main.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | GetDIBits( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stderr] --> src/main.rs:142:13 [INFO] [stderr] | [INFO] [stderr] 142 | DIB_RGB_COLORS, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPFILEHEADER` in this scope [INFO] [stderr] --> src/main.rs:152:19 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 152 | size_of::() as u32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RGBQUAD` in this scope [INFO] [stderr] --> src/main.rs:154:52 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 154 | + info.bmiHeader.biClrUsed * size_of::() as u32 [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BITMAPFILEHEADER` in this scope [INFO] [stderr] --> src/main.rs:161:19 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 161 | size_of::() as u32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RGBQUAD` in this scope [INFO] [stderr] --> src/main.rs:163:52 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_clipboard_bitmap() -> Option { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 163 | + info.bmiHeader.biClrUsed * size_of::() as u32, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `rgbBlue` on type `&_` [INFO] [stderr] --> src/main.rs:183:24 [INFO] [stderr] | [INFO] [stderr] 183 | out.push(color.rgbBlue); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `copycat`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a1a14bdc8f94029ae7d509be0841b0b499ff78185b568e7618e43628c037b364"` [INFO] running `"docker" "rm" "-f" "a1a14bdc8f94029ae7d509be0841b0b499ff78185b568e7618e43628c037b364"` [INFO] [stdout] a1a14bdc8f94029ae7d509be0841b0b499ff78185b568e7618e43628c037b364