[INFO] fetching crate show-image 0.9.0... [INFO] checking show-image-0.9.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate show-image 0.9.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate show-image 0.9.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate show-image 0.9.0 [INFO] finished tweaking crates.io crate show-image 0.9.0 [INFO] tweaked toml for crates.io crate show-image 0.9.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate show-image 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert2-macros v0.3.4 [INFO] [stderr] Downloaded show-image-macros v0.9.0 [INFO] [stderr] Downloaded assert2 v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd270b5294e6c6283a2b6513caf84f365c04f20ae9045a3fb0384a7a5904ba1d [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" "cd270b5294e6c6283a2b6513caf84f365c04f20ae9045a3fb0384a7a5904ba1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd270b5294e6c6283a2b6513caf84f365c04f20ae9045a3fb0384a7a5904ba1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd270b5294e6c6283a2b6513caf84f365c04f20ae9045a3fb0384a7a5904ba1d", kill_on_drop: false }` [INFO] [stdout] cd270b5294e6c6283a2b6513caf84f365c04f20ae9045a3fb0384a7a5904ba1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8051655a4d2dba19cb5b244b9a870bcc354003461986db12e0e8a7e5d5c7e41e [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" "8051655a4d2dba19cb5b244b9a870bcc354003461986db12e0e8a7e5d5c7e41e", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking glow v0.9.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking glam v0.17.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [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] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling wgpu-core v0.9.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling assert2-macros v0.3.4 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.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 show-image v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling show-image-macros v0.9.0 [INFO] [stderr] Checking assert2 v0.3.5 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking gfx-backend-empty 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:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | fn tensor_info(tensor: &tch::Tensor, pixel_format: PixelFormat, planar: bool) -> Result { [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:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | 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:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | 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:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | 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:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | 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:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | 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:927:4 [INFO] [stdout] | [INFO] [stdout] 927 | 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:936:4 [INFO] [stdout] | [INFO] [stdout] 936 | 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[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[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: 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] [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[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 `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] [stderr] error: could not compile `show-image` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 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[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" "8051655a4d2dba19cb5b244b9a870bcc354003461986db12e0e8a7e5d5c7e41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8051655a4d2dba19cb5b244b9a870bcc354003461986db12e0e8a7e5d5c7e41e", kill_on_drop: false }` [INFO] [stdout] 8051655a4d2dba19cb5b244b9a870bcc354003461986db12e0e8a7e5d5c7e41e