[INFO] fetching crate show-image 0.14.0... [INFO] checking show-image-0.14.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate show-image 0.14.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate show-image 0.14.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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-2-tc2/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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4e41e1198e745038a95b295dd3cbd02d65fd3d4371cf2eadd83237aa3f7b5d5 [INFO] running `Command { std: "docker" "start" "-a" "f4e41e1198e745038a95b295dd3cbd02d65fd3d4371cf2eadd83237aa3f7b5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e41e1198e745038a95b295dd3cbd02d65fd3d4371cf2eadd83237aa3f7b5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e41e1198e745038a95b295dd3cbd02d65fd3d4371cf2eadd83237aa3f7b5d5", kill_on_drop: false }` [INFO] [stdout] f4e41e1198e745038a95b295dd3cbd02d65fd3d4371cf2eadd83237aa3f7b5d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aebea24a426905e6cdea792b01e89214eb194c8bfdc0af5c8ae620654f524ee [INFO] running `Command { std: "docker" "start" "-a" "6aebea24a426905e6cdea792b01e89214eb194c8bfdc0af5c8ae620654f524ee", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wgpu-types v0.17.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling assert2-macros v0.3.14 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling show-image v0.14.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking assert2 v0.3.14 [INFO] [stderr] Checking naga v0.13.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking wgpu-hal v0.17.2 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking wgpu-core v0.17.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking wgpu v0.17.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/termination.rs (1 fix) [INFO] [stderr] Fixed src/backend/window.rs (1 fix) [INFO] [stderr] Fixed src/backend/util/buffer.rs (1 fix) [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [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] [stderr] Migrating examples/show-image.rs from 2021 edition to 2024 [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] [stderr] error: could not compile `show-image` (lib test) due to 16 previous errors [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] [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] --> 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] [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] --> /tmp/fixit/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] [stderr] Migrating examples/show-image-tch.rs from 2021 edition to 2024 [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` [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] --> /tmp/fixit/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] [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] [stderr] Migrating examples/show-raqote.rs from 2021 edition to 2024 [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: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 `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] 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-image-tch") due to 3 previous errors [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: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[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 `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] [stderr] error: could not compile `show-image` (example "show-raqote") due to 11 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6aebea24a426905e6cdea792b01e89214eb194c8bfdc0af5c8ae620654f524ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aebea24a426905e6cdea792b01e89214eb194c8bfdc0af5c8ae620654f524ee", kill_on_drop: false }` [INFO] [stdout] 6aebea24a426905e6cdea792b01e89214eb194c8bfdc0af5c8ae620654f524ee