[INFO] fetching crate show-image 0.14.0... [INFO] testing show-image-0.14.0 against 1.83.0 for beta-1.84.0-4 [INFO] extracting crate show-image 0.14.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate show-image 0.14.0 on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate show-image 0.14.0 [INFO] finished tweaking crates.io crate show-image 0.14.0 [INFO] tweaked toml for crates.io crate show-image 0.14.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate show-image 0.14.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyfiledialogs v3.9.1 [INFO] [stderr] Downloaded show-image-macros v0.12.3 [INFO] [stderr] Downloaded assert2-macros v0.3.14 [INFO] [stderr] Downloaded sw-composite v0.7.16 [INFO] [stderr] Downloaded assert2 v0.3.14 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded raqote v0.8.3 [INFO] [stderr] Downloaded torch-sys v0.15.0 [INFO] [stderr] Downloaded tch v0.15.0 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30a5c902f91eae6dc31e3d9a5bf96cce55711e59fdf676c90599da22ace750cd [INFO] running `Command { std: "docker" "start" "-a" "30a5c902f91eae6dc31e3d9a5bf96cce55711e59fdf676c90599da22ace750cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30a5c902f91eae6dc31e3d9a5bf96cce55711e59fdf676c90599da22ace750cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a5c902f91eae6dc31e3d9a5bf96cce55711e59fdf676c90599da22ace750cd", kill_on_drop: false }` [INFO] [stdout] 30a5c902f91eae6dc31e3d9a5bf96cce55711e59fdf676c90599da22ace750cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbed53702428c8d9a75b2c65cfa97f0b67615ea5c9185eb1265cdaedaa9b46bc [INFO] running `Command { std: "docker" "start" "-a" "cbed53702428c8d9a75b2c65cfa97f0b67615ea5c9185eb1265cdaedaa9b46bc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling show-image v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/backend/mod.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { CONTEXT_PROXY.clone().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "cbed53702428c8d9a75b2c65cfa97f0b67615ea5c9185eb1265cdaedaa9b46bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbed53702428c8d9a75b2c65cfa97f0b67615ea5c9185eb1265cdaedaa9b46bc", kill_on_drop: false }` [INFO] [stdout] cbed53702428c8d9a75b2c65cfa97f0b67615ea5c9185eb1265cdaedaa9b46bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae231e81756049f90a112e99dccf9e5dd5b5a804f3876f3bf843461656a3fd09 [INFO] running `Command { std: "docker" "start" "-a" "ae231e81756049f90a112e99dccf9e5dd5b5a804f3876f3bf843461656a3fd09", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling assert2-macros v0.3.14 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling assert2 v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling show-image v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/backend/mod.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { CONTEXT_PROXY.clone().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [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[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:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | 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 `raqote` [INFO] [stdout] --> examples/show-raqote.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | image.set_transform(&raqote::Transform::scale(1000.0, 1000.0)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DynamicImage: AsImageView` is not satisfied [INFO] [stdout] --> examples/show-image.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | 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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsImageView`: [INFO] [stdout] ArcImage [INFO] [stdout] BoxImage [INFO] [stdout] Image [INFO] [stdout] ImageView<'a> [INFO] [stdout] std::boxed::Box [INFO] [stdout] std::sync::Arc [INFO] [stdout] note: required by a bound in `image_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/image_types.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[E0433]: failed to resolve: use of undeclared crate or module `raqote` [INFO] [stdout] --> examples/show-raqote.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | overlay.set_transform(&raqote::Transform::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 `tch` [INFO] [stdout] --> examples/show-image-tch.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | 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:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | let black = raqote::Color::new(255, 0, 0, 0).into(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let black = raqote::Color::new(255, 0, 0, 0).into(); [INFO] [stdout] 24 + let black = Color::new(255, 0, 0, 0).into(); [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:14 [INFO] [stdout] | [INFO] [stdout] 25 | let white = raqote::Color::new(255, 255, 255, 255).into(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - let white = raqote::Color::new(255, 255, 255, 255).into(); [INFO] [stdout] 25 + let white = Color::new(255, 255, 255, 255).into(); [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:12 [INFO] [stdout] | [INFO] [stdout] 26 | let red = raqote::Color::new(255, 190, 0, 0).into(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let red = raqote::Color::new(255, 190, 0, 0).into(); [INFO] [stdout] 26 + let red = Color::new(255, 190, 0, 0).into(); [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:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let yellow = raqote::Color::new(255, 255, 215, 85).into(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - let yellow = raqote::Color::new(255, 255, 215, 85).into(); [INFO] [stdout] 27 + let yellow = Color::new(255, 255, 215, 85).into(); [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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let blue = raqote::Color::new(255, 0, 50, 160).into(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `raqote` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use show_image::Color; [INFO] [stdout] | [INFO] [stdout] 1 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - let blue = raqote::Color::new(255, 0, 50, 160).into(); [INFO] [stdout] 28 + let blue = Color::new(255, 0, 50, 160).into(); [INFO] [stdout] | [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 `Image: From` is not satisfied [INFO] [stdout] --> examples/show-image.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | window.set_image(name, image).map_err(|e| e.to_string())?; [INFO] [stdout] | --------- ^^^^^ the trait `From` is not implemented for `Image`, which is required by `DynamicImage: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Image` implements `From<&ImageView<'_>>` [INFO] [stdout] `Image` implements `From` [INFO] [stdout] `Image` implements `From` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] = note: required for `DynamicImage` to implement `Into` [INFO] [stdout] note: required by a bound in `WindowProxy::set_image` [INFO] [stdout] --> /opt/rustwide/workdir/src/backend/proxy.rs:265:63 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn set_image(&self, name: impl Into, image: impl Into) -> Result<(), SetImageError> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `WindowProxy::set_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `show-image` (example "show-image-tch") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `show-image` (example "show-image") due to 2 previous errors [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 `show-image` (example "show-raqote") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tch` [INFO] [stdout] --> src/features/tch.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | let data = tch::Tensor::from_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:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | let data = tch::Tensor::from_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:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | let data = tch::Tensor::from_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 `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:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | fn tensor_to_byte_vec(tensor: &tch::Tensor) -> Vec { [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:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | 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:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `show-image` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "ae231e81756049f90a112e99dccf9e5dd5b5a804f3876f3bf843461656a3fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae231e81756049f90a112e99dccf9e5dd5b5a804f3876f3bf843461656a3fd09", kill_on_drop: false }` [INFO] [stdout] ae231e81756049f90a112e99dccf9e5dd5b5a804f3876f3bf843461656a3fd09