[INFO] fetching crate ribir_gpu 0.4.0-alpha.49... [INFO] testing ribir_gpu-0.4.0-alpha.49 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ribir_gpu 0.4.0-alpha.49 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ribir_gpu 0.4.0-alpha.49 [INFO] finished tweaking crates.io crate ribir_gpu 0.4.0-alpha.49 [INFO] tweaked toml for crates.io crate ribir_gpu 0.4.0-alpha.49 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ribir_gpu 0.4.0-alpha.49 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ribir_gpu 0.4.0-alpha.49 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf33d07f23703002c6cb1009696c531583e82ba4610613949a9af5e33a15fae [INFO] running `Command { std: "docker" "start" "-a" "acf33d07f23703002c6cb1009696c531583e82ba4610613949a9af5e33a15fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf33d07f23703002c6cb1009696c531583e82ba4610613949a9af5e33a15fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf33d07f23703002c6cb1009696c531583e82ba4610613949a9af5e33a15fae", kill_on_drop: false }` [INFO] [stdout] acf33d07f23703002c6cb1009696c531583e82ba4610613949a9af5e33a15fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ebec2bbd154018d5a001fb41b8e251428545c0470c4e50139b0d5febac7dec8 [INFO] running `Command { std: "docker" "start" "-a" "4ebec2bbd154018d5a001fb41b8e251428545c0470c4e50139b0d5febac7dec8", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling kurbo v0.11.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling data-url v0.3.2 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling svg_fmt v0.4.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling material-colors v0.4.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v24.0.0 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling ribir_algo v0.4.0-alpha.49 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling lyon_geom v1.0.6 [INFO] [stderr] Compiling ribir_geom v0.4.0-alpha.49 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling lyon_path v1.0.7 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling lyon_algorithms v1.0.5 [INFO] [stderr] Compiling ribir_painter v0.4.0-alpha.49 [INFO] [stderr] Compiling ribir_gpu v0.4.0-alpha.49 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "4ebec2bbd154018d5a001fb41b8e251428545c0470c4e50139b0d5febac7dec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ebec2bbd154018d5a001fb41b8e251428545c0470c4e50139b0d5febac7dec8", kill_on_drop: false }` [INFO] [stdout] 4ebec2bbd154018d5a001fb41b8e251428545c0470c4e50139b0d5febac7dec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9660f0b2da52a34bdc9c8a4149e0854e78c1a672a36a422171a5ecfe46b81773 [INFO] running `Command { std: "docker" "start" "-a" "9660f0b2da52a34bdc9c8a4149e0854e78c1a672a36a422171a5ecfe46b81773", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling material-colors v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ribir_algo v0.4.0-alpha.49 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-types v24.0.0 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling lyon_geom v1.0.6 [INFO] [stderr] Compiling ribir_geom v0.4.0-alpha.49 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling lyon_path v1.0.7 [INFO] [stderr] Compiling lyon_algorithms v1.0.5 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling ribir_painter v0.4.0-alpha.49 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Compiling ribir_gpu v0.4.0-alpha.49 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../examples/attachments/3DDD-1.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/gpu_backend.rs:895:39 [INFO] [stdout] | [INFO] [stdout] 895 | let brush2 = PixelImage::from_png(include_bytes!("../../examples/attachments/3DDD-1.png")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../tests/assets/fill_with_gradient.svg`: No such file or directory (os error 2) [INFO] [stdout] --> src/gpu_backend.rs:933:7 [INFO] [stdout] | [INFO] [stdout] 933 | include_bytes!("../../tests/assets/fill_with_gradient.svg"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ribir_dev_helper` [INFO] [stdout] --> src/gpu_backend.rs:782:7 [INFO] [stdout] | [INFO] [stdout] 782 | use ribir_dev_helper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ribir_dev_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ribir_dev_helper`, use `cargo add ribir_dev_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:790:3 [INFO] [stdout] | [INFO] [stdout] 790 | painter_backend_eq_image_test!(smoke, comparison = 0.001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:835:3 [INFO] [stdout] | [INFO] [stdout] 835 | painter_backend_eq_image_test!(transform_img_brush, comparison = 0.001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:858:3 [INFO] [stdout] | [INFO] [stdout] 858 | painter_backend_eq_image_test!(clip_layers, comparison = 0.0065); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | painter_backend_eq_image_test!(stroke_include_border, comparison = 0.0004); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:890:3 [INFO] [stdout] | [INFO] [stdout] 890 | painter_backend_eq_image_test!(two_img_brush, comparison = 0.006); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:910:3 [INFO] [stdout] | [INFO] [stdout] 910 | painter_backend_eq_image_test!(draw_partial_img, comparison = 0.0015); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:929:3 [INFO] [stdout] | [INFO] [stdout] 929 | painter_backend_eq_image_test!(draw_svg_gradient, comparison = 0.0025); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:962:3 [INFO] [stdout] | [INFO] [stdout] 962 | painter_backend_eq_image_test!(multi_draw_phase, comparison = 0.001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `painter_backend_eq_image_test` in this scope [INFO] [stdout] --> src/gpu_backend.rs:985:3 [INFO] [stdout] | [INFO] [stdout] 985 | painter_backend_eq_image_test!(draw_bundle_svg, comparison = 0.001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_png` found for struct `ribir_painter::PixelImage` in the current scope [INFO] [stdout] --> src/gpu_backend.rs:806:27 [INFO] [stdout] | [INFO] [stdout] 806 | let img = PixelImage::from_png(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ribir_painter::PixelImage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ribir_painter::PixelImage`, consider using `ribir_painter::PixelImage::new` which returns `ribir_painter::PixelImage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ribir_painter-0.4.0-alpha.49/src/image.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(data: Cow<'static, [u8]>, width: u32, height: u32, format: ColorFormat) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 806 - let img = PixelImage::from_png(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] 806 + let img = PixelImage::from(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_png` found for struct `ribir_painter::PixelImage` in the current scope [INFO] [stdout] --> src/gpu_backend.rs:847:50 [INFO] [stdout] | [INFO] [stdout] 847 | let leaves_brush = Resource::new(PixelImage::from_png(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ribir_painter::PixelImage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ribir_painter::PixelImage`, consider using `ribir_painter::PixelImage::new` which returns `ribir_painter::PixelImage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ribir_painter-0.4.0-alpha.49/src/image.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(data: Cow<'static, [u8]>, width: u32, height: u32, format: ColorFormat) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 847 - let leaves_brush = Resource::new(PixelImage::from_png(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] 847 + let leaves_brush = Resource::new(PixelImage::from(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_png` found for struct `ribir_painter::PixelImage` in the current scope [INFO] [stdout] --> src/gpu_backend.rs:894:30 [INFO] [stdout] | [INFO] [stdout] 894 | let brush1 = PixelImage::from_png(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ribir_painter::PixelImage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ribir_painter::PixelImage`, consider using `ribir_painter::PixelImage::new` which returns `ribir_painter::PixelImage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ribir_painter-0.4.0-alpha.49/src/image.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(data: Cow<'static, [u8]>, width: u32, height: u32, format: ColorFormat) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 894 - let brush1 = PixelImage::from_png(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] 894 + let brush1 = PixelImage::from(include_bytes!("../imgs/leaves.png")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_png` found for struct `ribir_painter::PixelImage` in the current scope [INFO] [stdout] --> src/gpu_backend.rs:895:30 [INFO] [stdout] | [INFO] [stdout] 895 | let brush2 = PixelImage::from_png(include_bytes!("../../examples/attachments/3DDD-1.png")); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ribir_painter::PixelImage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ribir_painter::PixelImage`, consider using `ribir_painter::PixelImage::new` which returns `ribir_painter::PixelImage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ribir_painter-0.4.0-alpha.49/src/image.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(data: Cow<'static, [u8]>, width: u32, height: u32, format: ColorFormat) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 895 - let brush2 = PixelImage::from_png(include_bytes!("../../examples/attachments/3DDD-1.png")); [INFO] [stdout] 895 + let brush2 = PixelImage::from(include_bytes!("../../examples/attachments/3DDD-1.png")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_png` found for struct `ribir_painter::PixelImage` in the current scope [INFO] [stdout] --> src/gpu_backend.rs:912:41 [INFO] [stdout] | [INFO] [stdout] 912 | let img = Resource::new(PixelImage::from_png(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ribir_painter::PixelImage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ribir_painter::PixelImage`, consider using `ribir_painter::PixelImage::new` which returns `ribir_painter::PixelImage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ribir_painter-0.4.0-alpha.49/src/image.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(data: Cow<'static, [u8]>, width: u32, height: u32, format: ColorFormat) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 912 - let img = Resource::new(PixelImage::from_png(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] 912 + let img = Resource::new(PixelImage::from(include_bytes!("../imgs/leaves.png"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ribir_gpu` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "9660f0b2da52a34bdc9c8a4149e0854e78c1a672a36a422171a5ecfe46b81773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9660f0b2da52a34bdc9c8a4149e0854e78c1a672a36a422171a5ecfe46b81773", kill_on_drop: false }` [INFO] [stdout] 9660f0b2da52a34bdc9c8a4149e0854e78c1a672a36a422171a5ecfe46b81773