[INFO] cloning repository https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmnrcznskk%2F-Rust-WASM-Cross-Stitch-Module", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmnrcznskk%2F-Rust-WASM-Cross-Stitch-Module'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5aa372fc07bfdfbecf79cf97504d6bc7f537078
[INFO] checking dmnrcznskk/-Rust-WASM-Cross-Stitch-Module against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmnrcznskk%2F-Rust-WASM-Cross-Stitch-Module" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module
[INFO] finished tweaking git repo https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module
[INFO] tweaked toml for git repo https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dmnrcznskk/-Rust-WASM-Cross-Stitch-Module 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.6.7
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.21
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.8
[INFO] [stderr]   Downloaded quantize_palette v0.1.1
[INFO] [stderr]   Downloaded clap_derive v4.6.7
[INFO] [stderr]   Downloaded clap_lex v1.1.1
[INFO] [stderr]   Downloaded transpose v0.2.3
[INFO] [stderr]   Downloaded primal-check v0.3.4
[INFO] [stderr]   Downloaded csv-core v0.1.13
[INFO] [stderr]   Downloaded rustdct v0.7.1
[INFO] [stderr]   Downloaded strength_reduce v0.2.4
[INFO] [stderr]   Downloaded simba v0.10.2
[INFO] [stderr]   Downloaded matrixmultiply v0.3.11
[INFO] [stderr]   Downloaded safe_arch v1.2.0
[INFO] [stderr]   Downloaded imagequant v4.4.1
[INFO] [stderr]   Downloaded rand_distr v0.6.0
[INFO] [stderr]   Downloaded imageproc v0.27.0
[INFO] [stderr]   Downloaded clap_builder v4.6.7
[INFO] [stderr]   Downloaded wide v1.7.1
[INFO] [stderr]   Downloaded rustfft v6.4.1
[INFO] [stderr]   Downloaded nalgebra v0.35.0
[INFO] [stderr]   Downloaded glam v0.33.7
[INFO] [stderr]   Downloaded csv v1.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24
[INFO] running `Command { std: "docker" "start" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking bytemuck v1.25.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.23
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.21
[INFO] [stderr]    Compiling crossbeam-deque v0.8.8
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]    Compiling syn v3.0.5
[INFO] [stderr]     Checking either v1.18.0
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking arrayvec v0.7.8
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking libc v0.2.189
[INFO] [stderr]    Compiling zerocopy v0.8.57
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]     Checking log v0.4.34
[INFO] [stderr]     Checking bitflags v2.13.2
[INFO] [stderr]    Compiling built v0.8.1
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling pulp v0.22.3
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]     Checking no_std_io2 v0.9.4
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking miniz_oxide v0.9.1
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]     Checking bitstream-io v4.10.0
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking flate2 v1.1.10
[INFO] [stderr]     Checking num-integer v0.1.47
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking imgref v1.12.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking pulp-wasm-simd-flag v0.1.1
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking zune-core v0.5.3
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking zune-jpeg v0.5.15
[INFO] [stderr]     Checking avif-serialize v0.8.9
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking safe_arch v1.2.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.11
[INFO] [stderr]     Checking pxfm v0.1.30
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking cpufeatures v0.3.1
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking smallvec v1.16.1
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking fax v0.2.7
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking transpose v0.2.3
[INFO] [stderr]     Checking gif v0.14.2
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking wide v1.7.1
[INFO] [stderr]     Checking chacha20 v0.10.2
[INFO] [stderr]     Checking image-webp v0.2.4
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking primal-check v0.3.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking clap_lex v1.1.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]    Compiling clap_derive v4.6.7
[INFO] [stderr]     Checking clap_builder v4.6.7
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling zerocopy-derive v0.8.57
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]    Compiling profiling-procmacros v1.0.18
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]     Checking profiling v1.0.18
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking rustfft v6.4.1
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking num-iter v0.1.46
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking clap v4.6.7
[INFO] [stderr]     Checking rand_distr v0.6.0
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking imagequant v4.4.1
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]     Checking rustdct v0.7.1
[INFO] [stderr]     Checking simba v0.10.2
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking tiff v0.11.3
[INFO] [stderr]     Checking exr v1.74.2
[INFO] [stderr]     Checking ravif v0.13.0
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking nalgebra v0.35.0
[INFO] [stderr]     Checking quantize_palette v0.1.1
[INFO] [stderr]     Checking imageproc v0.27.0
[INFO] [stderr]     Checking prototype v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `CanvaProperties`
[INFO] [stdout]   --> src/image_io.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         Some(CanvaProperties{ w, h })
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `CanvaProperties`
[INFO] [stdout]   --> src/image_io.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |         Some(CanvaProperties{ w, h, density_inches })
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm with no body
[INFO] [stdout]   --> src/image_io.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add a body after the pattern
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches => { todo!() }
[INFO] [stdout]    |                                       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::DynamicImage`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::DynamicImage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RgbaImage`
[INFO] [stdout]  --> src/importance_map.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::{RgbaImage, DynamicImage, RgbImage, GrayImage};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/importance_map.rs:28:68
[INFO] [stdout]    |
[INFO] [stdout] 28 |      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| (x as f32 / 255.0)).collect();
[INFO] [stdout]    |                                                                    ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| (x as f32 / 255.0)).collect();
[INFO] [stdout] 28 +      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| x as f32 / 255.0).collect();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RgbImage`
[INFO] [stdout]  --> src/image_io.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::{DynamicImage, ImageReader, RgbaImage, RgbImage};
[INFO] [stdout]   |                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `importance_map::ImportanceMap`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use importance_map::ImportanceMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `grid_height`
[INFO] [stdout]   --> src/image_io.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn grid_height(&self) -> u32 {
[INFO] [stdout]    |     -------------------------------- other definition for `grid_height`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn grid_height(&self) -> Option<u32> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `grid_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `CanvaProperties`
[INFO] [stdout]   --> src/image_io.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         Some(CanvaProperties{ w, h })
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `CanvaProperties`
[INFO] [stdout]   --> src/image_io.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |         Some(CanvaProperties{ w, h, density_inches })
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm with no body
[INFO] [stdout]   --> src/image_io.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add a body after the pattern
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches => { todo!() }
[INFO] [stdout]    |                                       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::DynamicImage`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::DynamicImage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/importance_map.rs:28:68
[INFO] [stdout]    |
[INFO] [stdout] 28 |      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| (x as f32 / 255.0)).collect();
[INFO] [stdout]    |                                                                    ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| (x as f32 / 255.0)).collect();
[INFO] [stdout] 28 +      let normalized: Vec<f32> = img.into_raw().into_iter().map(|x| x as f32 / 255.0).collect();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RgbImage`
[INFO] [stdout]  --> src/image_io.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::{DynamicImage, ImageReader, RgbaImage, RgbImage};
[INFO] [stdout]   |                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `importance_map::ImportanceMap`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use importance_map::ImportanceMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `grid_height`
[INFO] [stdout]   --> src/image_io.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn grid_height(&self) -> u32 {
[INFO] [stdout]    |     -------------------------------- other definition for `grid_height`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn grid_height(&self) -> Option<u32> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `grid_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/image_io.rs:34:67
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_cm(w: u32, h: Option<u32>, density_inches: u32) {
[INFO] [stdout]    |                                                                - help: a return type might be missing here: `-> _`
[INFO] [stdout] 34 |         if w == 0 || h == Some(0) || density_inches == 0 { return None; }
[INFO] [stdout]    |                                                                   ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `CanvaProperties::Stitches`
[INFO] [stdout]   --> src/image_io.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]    |
[INFO] [stdout] help: add the names to match a struct variant's fields
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches { width: _, height: _ }
[INFO] [stdout]    |                                       +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `CanvaProperties::Centimeters` does not have fields named `height_cm`, `density_per_inch`
[INFO] [stdout]   --> src/image_io.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |             CanvaProperties::Centimeters { height_cm, density_per_inch, .. } => {
[INFO] [stdout]    |                                            ^^^^^^^^^  ^^^^^^^^^^^^^^^^ variant `CanvaProperties::Centimeters` does not have these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/image_io.rs:34:67
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_cm(w: u32, h: Option<u32>, density_inches: u32) {
[INFO] [stdout]    |                                                                - help: a return type might be missing here: `-> _`
[INFO] [stdout] 34 |         if w == 0 || h == Some(0) || density_inches == 0 { return None; }
[INFO] [stdout]    |                                                                   ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `grid_width` found for enum `CanvaProperties` in the current scope
[INFO] [stdout]   --> src/image_io.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum CanvaProperties {
[INFO] [stdout]    | ------------------------ method `grid_width` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 66 |     let grid_width = canva_prop.grid_width();
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `CanvaProperties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `CanvaProperties::Stitches`
[INFO] [stdout]   --> src/image_io.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]    |
[INFO] [stdout] help: add the names to match a struct variant's fields
[INFO] [stdout]    |
[INFO] [stdout] 40 |             CanvaProperties::Stitches { width: _, height: _ }
[INFO] [stdout]    |                                       +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `image_io::CanvaProperties::Centimeters` does not have fields named `height_cm`, `density_per_inch`
[INFO] [stdout]   --> src/image_io.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |             CanvaProperties::Centimeters { height_cm, density_per_inch, .. } => {
[INFO] [stdout]    |                                            ^^^^^^^^^  ^^^^^^^^^^^^^^^^ variant `image_io::CanvaProperties::Centimeters` does not have these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `u32` in the current scope
[INFO] [stdout]   --> src/image_io.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |         canva_prop.grid_height().ok_or("Height is required when proportions are disabled")?
[INFO] [stdout]    |                                  ^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `grid_width` found for enum `image_io::CanvaProperties` in the current scope
[INFO] [stdout]   --> src/image_io.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum CanvaProperties {
[INFO] [stdout]    | ------------------------ method `grid_width` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 66 |     let grid_width = canva_prop.grid_width();
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `image_io::CanvaProperties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `u32` in the current scope
[INFO] [stdout]   --> src/image_io.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |         canva_prop.grid_height().ok_or("Height is required when proportions are disabled")?
[INFO] [stdout]    |                                  ^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `new` found for enum `CanvaProperties` in the current scope
[INFO] [stdout]   --> src/main.rs:24:39
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let canva_prop = CanvaProperties::new(target_width, None, 18).ok_or("Zupa")?;
[INFO] [stdout]    |                                       ^^^ variant, associated function, or constant not found in `CanvaProperties`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/image_io.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum CanvaProperties {
[INFO] [stdout]    | ------------------------ variant, associated function, or constant `new` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `CanvaProperties`, consider using `CanvaProperties::from_stitches` which returns `Option<CanvaProperties>`
[INFO] [stdout]   --> src/image_io.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn from_stitches(w: u32, h: Option<u32>) -> Option<Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `aligned_vec::Alignment`
[INFO] [stdout]            candidate #2: `itertools::adaptors::coalesce::CountItem`
[INFO] [stdout]            candidate #3: `rand::distr::uniform::UniformSampler`
[INFO] [stdout]            candidate #4: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `new` found for enum `image_io::CanvaProperties` in the current scope
[INFO] [stdout]    --> src/image_io.rs:107:38
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub enum CanvaProperties {
[INFO] [stdout]     | ------------------------ variant, associated function, or constant `new` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 107 |         let canva = CanvaProperties::new(10, None, 14).expect("Dupa");
[INFO] [stdout]     |                                      ^^^ variant, associated function, or constant not found in `image_io::CanvaProperties`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `image_io::CanvaProperties`, consider using `image_io::CanvaProperties::from_stitches` which returns `Option<image_io::CanvaProperties>`
[INFO] [stdout]    --> src/image_io.rs:28:5
[INFO] [stdout]     |
[INFO] [stdout]  28 |     pub fn from_stitches(w: u32, h: Option<u32>) -> Option<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `aligned_vec::Alignment`
[INFO] [stdout]             candidate #2: `itertools::adaptors::coalesce::CountItem`
[INFO] [stdout]             candidate #3: `rand::distr::uniform::UniformSampler`
[INFO] [stdout]             candidate #4: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prototype` (bin "prototype") due to 10 previous errors; 5 warnings emitted
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `new` found for enum `image_io::CanvaProperties` in the current scope
[INFO] [stdout]    --> src/image_io.rs:113:38
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub enum CanvaProperties {
[INFO] [stdout]     | ------------------------ variant, associated function, or constant `new` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 113 |         let canva = CanvaProperties::new(10, Some(5), 14).expect("Dupa");
[INFO] [stdout]     |                                      ^^^ variant, associated function, or constant not found in `image_io::CanvaProperties`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `image_io::CanvaProperties`, consider using `image_io::CanvaProperties::from_stitches` which returns `Option<image_io::CanvaProperties>`
[INFO] [stdout]    --> src/image_io.rs:28:5
[INFO] [stdout]     |
[INFO] [stdout]  28 |     pub fn from_stitches(w: u32, h: Option<u32>) -> Option<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `aligned_vec::Alignment`
[INFO] [stdout]             candidate #2: `itertools::adaptors::coalesce::CountItem`
[INFO] [stdout]             candidate #3: `rand::distr::uniform::UniformSampler`
[INFO] [stdout]             candidate #4: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `new` found for enum `image_io::CanvaProperties` in the current scope
[INFO] [stdout]    --> src/image_io.rs:120:38
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub enum CanvaProperties {
[INFO] [stdout]     | ------------------------ variant, associated function, or constant `new` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 120 |         let canva = CanvaProperties::new(10, None, 14).expect("Dupa");
[INFO] [stdout]     |                                      ^^^ variant, associated function, or constant not found in `image_io::CanvaProperties`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `image_io::CanvaProperties`, consider using `image_io::CanvaProperties::from_stitches` which returns `Option<image_io::CanvaProperties>`
[INFO] [stdout]    --> src/image_io.rs:28:5
[INFO] [stdout]     |
[INFO] [stdout]  28 |     pub fn from_stitches(w: u32, h: Option<u32>) -> Option<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `aligned_vec::Alignment`
[INFO] [stdout]             candidate #2: `itertools::adaptors::coalesce::CountItem`
[INFO] [stdout]             candidate #3: `rand::distr::uniform::UniformSampler`
[INFO] [stdout]             candidate #4: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0026, E0308, E0533, E0574, E0592, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0026`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `new` found for enum `image_io::CanvaProperties` in the current scope
[INFO] [stdout]   --> src/main.rs:24:39
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let canva_prop = CanvaProperties::new(target_width, None, 18).ok_or("Zupa")?;
[INFO] [stdout]    |                                       ^^^ variant, associated function, or constant not found in `image_io::CanvaProperties`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/image_io.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum CanvaProperties {
[INFO] [stdout]    | ------------------------ variant, associated function, or constant `new` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `image_io::CanvaProperties`, consider using `image_io::CanvaProperties::from_stitches` which returns `Option<image_io::CanvaProperties>`
[INFO] [stdout]   --> src/image_io.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn from_stitches(w: u32, h: Option<u32>) -> Option<Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `aligned_vec::Alignment`
[INFO] [stdout]            candidate #2: `itertools::adaptors::coalesce::CountItem`
[INFO] [stdout]            candidate #3: `rand::distr::uniform::UniformSampler`
[INFO] [stdout]            candidate #4: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0026, E0308, E0533, E0574, E0592, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0026`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prototype` (bin "prototype" test) due to 13 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24", kill_on_drop: false }`
[INFO] [stdout] 05bf01a1a8b151a7c4099576333065a02081cb051eaf8e04c7599dea6ae9ad24
