[INFO] fetching crate show-image 0.8.5... [INFO] checking show-image-0.8.5 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate show-image 0.8.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate show-image 0.8.5 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate show-image 0.8.5 [INFO] finished tweaking crates.io crate show-image 0.8.5 [INFO] tweaked toml for crates.io crate show-image 0.8.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate show-image 0.8.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+90442458ac46b1d5eed752c316da25450f67285b" "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] b449fbdcfbff8ae900c92e2e795938fc86fb0c5c315a8ac63126324b4e0fd2ad [INFO] running `Command { std: "docker" "start" "-a" "b449fbdcfbff8ae900c92e2e795938fc86fb0c5c315a8ac63126324b4e0fd2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b449fbdcfbff8ae900c92e2e795938fc86fb0c5c315a8ac63126324b4e0fd2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b449fbdcfbff8ae900c92e2e795938fc86fb0c5c315a8ac63126324b4e0fd2ad", kill_on_drop: false }` [INFO] [stdout] b449fbdcfbff8ae900c92e2e795938fc86fb0c5c315a8ac63126324b4e0fd2ad [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" "+90442458ac46b1d5eed752c316da25450f67285b" "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] 0aad9ceaa258f2fd34126b5464f8f8300759888e309044084f62308c5589fcfa [INFO] running `Command { std: "docker" "start" "-a" "0aad9ceaa258f2fd34126b5464f8f8300759888e309044084f62308c5589fcfa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking profiling v1.0.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling show-image v0.8.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Compiling assert2-macros v0.3.4 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling show-image-macros v0.8.3 [INFO] [stderr] Checking assert2 v0.3.5 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-empty v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | impl From for Image { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn from(other: raqote::DrawTarget) -> Self { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl From<&raqote::DrawTarget> for Image { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(other: &raqote::DrawTarget) -> Self { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl From> for Image { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(other: raqote::Image) -> Self { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn draw_target_info(draw_target: &raqote::DrawTarget) -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> src/features/raqote.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | fn image_info(&image: &raqote::Image) -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | tensor: &'a tch::Tensor, [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | impl TensorAsImage for tch::Tensor { [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn tensor_info(tensor: &tch::Tensor, pixel_format: PixelFormat, planar: bool) -> Result<(bool, ImageInfo), String> { [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 236 | fn guess_tensor_info(tensor: &tch::Tensor, color_format: ColorFormat) -> Result<(bool, ImageInfo), String> { [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | let data = tch::Tensor::of_slice(&(0..120).collect::>()); [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | let data = tch::Tensor::of_slice(&(0..60).collect::>()); [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | let data = tch::Tensor::of_slice(&(0..60).collect::>()); [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_to_texture` [INFO] [stdout] --> src/backend/context.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | fn render_to_texture(&self, window_id: WindowId, overlays: bool) -> Result, InvalidWindowId> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align_next_u32` [INFO] [stdout] --> src/backend/context.rs:1069:4 [INFO] [stdout] | [INFO] [stdout] 1069 | fn align_next_u32(input: u32, alignment: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div_round_up` [INFO] [stdout] --> src/backend/context.rs:1078:4 [INFO] [stdout] | [INFO] [stdout] 1078 | fn div_round_up(input: u32, divisor: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/backend/util/gpu_image.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/backend/util/gpu_image.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map_buffer` [INFO] [stdout] --> src/backend/util/map_buffer.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn map_buffer<'a>(device: &wgpu::Device, buffer: wgpu::BufferSlice<'a>) -> Result, wgpu::BufferAsyncError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `show-image` [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[E0432]: unresolved import `show_image::tch` [INFO] [stdout] --> examples/show-image-tch.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use show_image::tch::TensorAsImage; [INFO] [stdout] | ^^^ could not find `tch` in `show_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> examples/show-image-tch.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let tensor = tch::vision::imagenet::load_image(path).map_err(|e| format!("failed to load image from {:?}: {}", path, e))?; [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> examples/show-image-tch.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let tensor = tch::vision::imagenet::unnormalize(&tensor).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `tch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raqote` [INFO] [stdout] --> examples/show-raqote.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raqote::DrawOptions; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raqote` [INFO] [stdout] --> examples/show-raqote.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use raqote::DrawTarget; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raqote` [INFO] [stdout] --> examples/show-raqote.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use raqote::PathBuilder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raqote` [INFO] [stdout] --> examples/show-raqote.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use raqote::StrokeStyle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | image.set_transform(&raqote::Transform::create_scale(1000.0, 1000.0)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | overlay.set_transform(&raqote::Transform::create_scale(1000.0, 1000.0)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let black = raqote::Color::new(255, 0, 0, 0).into(); [INFO] [stdout] | ^^^^^ not found in `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let white = raqote::Color::new(255, 255, 255, 255).into(); [INFO] [stdout] | ^^^^^ not found in `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let red = raqote::Color::new(255, 190, 0, 0).into(); [INFO] [stdout] | ^^^^^ not found in `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let yellow = raqote::Color::new(255, 255, 215, 85).into(); [INFO] [stdout] | ^^^^^ not found in `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let blue = raqote::Color::new(255, 0, 50, 160).into(); [INFO] [stdout] | ^^^^^ not found in `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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] [stdout] error[E0277]: the trait bound `DynamicImage: AsImageView` is not satisfied [INFO] [stdout] --> examples/show-image.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | let image_info = show_image::image_info(&image).map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^ the trait `AsImageView` is not implemented for `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/image.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn image_info(image: &impl AsImageView) -> Result { [INFO] [stdout] | ----------- required by this bound in `image_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Image: From` is not satisfied [INFO] [stdout] --> examples/show-image.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | window.set_image(name, image).map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `Image` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] and 4 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `DynamicImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0aad9ceaa258f2fd34126b5464f8f8300759888e309044084f62308c5589fcfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aad9ceaa258f2fd34126b5464f8f8300759888e309044084f62308c5589fcfa", kill_on_drop: false }` [INFO] [stdout] 0aad9ceaa258f2fd34126b5464f8f8300759888e309044084f62308c5589fcfa