[INFO] fetching crate show-image 0.9.2... [INFO] building show-image-0.9.2 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate show-image 0.9.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate show-image 0.9.2 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate show-image 0.9.2 [INFO] finished tweaking crates.io crate show-image 0.9.2 [INFO] tweaked toml for crates.io crate show-image 0.9.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate show-image 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf45d9fb614e7dbbc3b0ed833c12696e15136322c9fe5d43f2421dcd9b4070ed [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" "cf45d9fb614e7dbbc3b0ed833c12696e15136322c9fe5d43f2421dcd9b4070ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf45d9fb614e7dbbc3b0ed833c12696e15136322c9fe5d43f2421dcd9b4070ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf45d9fb614e7dbbc3b0ed833c12696e15136322c9fe5d43f2421dcd9b4070ed", kill_on_drop: false }` [INFO] [stdout] cf45d9fb614e7dbbc3b0ed833c12696e15136322c9fe5d43f2421dcd9b4070ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--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] 67697e68193497d6d1f8d6cc0636775419e6228c529c0d570eab75ea74b4d0c1 [INFO] running `Command { std: "docker" "start" "-a" "67697e68193497d6d1f8d6cc0636775419e6228c529c0d570eab75ea74b4d0c1", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.32.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling show-image v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling wgpu-types v0.9.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gpu-descriptor v0.1.1 [INFO] [stderr] Compiling gpu-alloc v0.4.7 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling rose_tree v0.2.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling show-image-macros v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling naga v0.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling external-memory v0.0.1 [INFO] [stderr] Compiling gfx-hal v0.9.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.9.0 [INFO] [stderr] Compiling gfx-backend-gl v0.9.0 [INFO] [stderr] Compiling gfx-backend-empty v0.9.0 [INFO] [stderr] Compiling wgpu v0.9.0 [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:928:4 [INFO] [stdout] | [INFO] [stdout] 928 | 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:937:4 [INFO] [stdout] | [INFO] [stdout] 937 | 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "67697e68193497d6d1f8d6cc0636775419e6228c529c0d570eab75ea74b4d0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67697e68193497d6d1f8d6cc0636775419e6228c529c0d570eab75ea74b4d0c1", kill_on_drop: false }` [INFO] [stdout] 67697e68193497d6d1f8d6cc0636775419e6228c529c0d570eab75ea74b4d0c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dd1bb8feeb131c74067c3dcebd8b9e33f3ee4be37ce60e74699c8f1b909f7fe [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" "3dd1bb8feeb131c74067c3dcebd8b9e33f3ee4be37ce60e74699c8f1b909f7fe", kill_on_drop: false }` [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [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 crc32fast v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling assert2-macros v0.3.6 [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:928:4 [INFO] [stdout] | [INFO] [stdout] 928 | 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:937:4 [INFO] [stdout] | [INFO] [stdout] 937 | 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] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling assert2 v0.3.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling show-image v0.9.2 (/opt/rustwide/workdir) [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[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 `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[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 3 previous errors [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] 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: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] [stderr] error: could not compile `show-image` due to 4 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 `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[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] 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] note: required by a bound in `image_info` [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "3dd1bb8feeb131c74067c3dcebd8b9e33f3ee4be37ce60e74699c8f1b909f7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd1bb8feeb131c74067c3dcebd8b9e33f3ee4be37ce60e74699c8f1b909f7fe", kill_on_drop: false }` [INFO] [stdout] 3dd1bb8feeb131c74067c3dcebd8b9e33f3ee4be37ce60e74699c8f1b909f7fe