[INFO] cloning repository https://github.com/sami-badawi/shapelogic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sami-badawi/shapelogic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsami-badawi%2Fshapelogic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsami-badawi%2Fshapelogic-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e2bff3c8387aeff132d9316922d03dcc29ce13e [INFO] checking sami-badawi/shapelogic-rust against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsami-badawi%2Fshapelogic-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sami-badawi/shapelogic-rust [INFO] finished tweaking git repo https://github.com/sami-badawi/shapelogic-rust [INFO] tweaked toml for git repo https://github.com/sami-badawi/shapelogic-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sami-badawi/shapelogic-rust on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sami-badawi/shapelogic-rust 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded either v1.2.0 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded bytemuck v1.11.0 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded num_cpus v1.7.0 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded image v0.23.12 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded libc v0.2.32 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52222382cd57f3653dafd03dc49e9080f0d12736cd8bb51349f983a7361a60a3 [INFO] running `Command { std: "docker" "start" "-a" "52222382cd57f3653dafd03dc49e9080f0d12736cd8bb51349f983a7361a60a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52222382cd57f3653dafd03dc49e9080f0d12736cd8bb51349f983a7361a60a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52222382cd57f3653dafd03dc49e9080f0d12736cd8bb51349f983a7361a60a3", kill_on_drop: false }` [INFO] [stdout] 52222382cd57f3653dafd03dc49e9080f0d12736cd8bb51349f983a7361a60a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6779d19a21f2404b7286190f0273cc7f3674e1086757281c5950538ac3abf7ad [INFO] running `Command { std: "docker" "start" "-a" "6779d19a21f2404b7286190f0273cc7f3674e1086757281c5950538ac3abf7ad", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking either v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bytemuck v1.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking shapelogic-rust v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::image::ImageLuma8` [INFO] [stdout] --> src/morphology/dilate_erode.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | use self::image::{DynamicImage, GenericImage, GrayImage, ImageLuma8, Luma, Pixel}; [INFO] [stdout] | ^^^^^^^^^^ no `ImageLuma8` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] morphology::dilate_erode::DynamicImage::ImageLuma8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::image::ImageLuma8` [INFO] [stdout] --> src/morphology/skeletonize.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use self::image::{DynamicImage, GrayImage, ImageLuma8}; [INFO] [stdout] | ^^^^^^^^^^ no `ImageLuma8` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] morphology::skeletonize::DynamicImage::ImageLuma8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/dilate_erode.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let res = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 + use morphology::dilate_erode::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let res = image::ImageLuma8(imgbuf); [INFO] [stdout] 35 + let res = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/dilate_erode.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let res = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 + use morphology::dilate_erode::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 74 - let res = image::ImageLuma8(imgbuf); [INFO] [stdout] 74 + let res = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/image_create.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let output = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use morphology::image_create::image::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let output = image::ImageLuma8(imgbuf); [INFO] [stdout] 18 + let output = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/io_helper.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use io_helper::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] 92 + "gray" => ImageLuma8(im.to_luma()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::image::ImageLuma8` [INFO] [stdout] --> src/morphology/dilate_erode.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | use self::image::{DynamicImage, GenericImage, GrayImage, ImageLuma8, Luma, Pixel}; [INFO] [stdout] | ^^^^^^^^^^ no `ImageLuma8` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] morphology::dilate_erode::DynamicImage::ImageLuma8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::image::ImageLuma8` [INFO] [stdout] --> src/morphology/skeletonize.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use self::image::{DynamicImage, GrayImage, ImageLuma8}; [INFO] [stdout] | ^^^^^^^^^^ no `ImageLuma8` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] morphology::skeletonize::DynamicImage::ImageLuma8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/dilate_erode.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let res = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 + use morphology::dilate_erode::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let res = image::ImageLuma8(imgbuf); [INFO] [stdout] 35 + let res = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/dilate_erode.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let res = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 + use morphology::dilate_erode::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 74 - let res = image::ImageLuma8(imgbuf); [INFO] [stdout] 74 + let res = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/morphology/image_create.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let output = image::ImageLuma8(imgbuf); [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use morphology::image_create::image::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let output = image::ImageLuma8(imgbuf); [INFO] [stdout] 18 + let output = ImageLuma8(imgbuf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageLuma8` in crate `image` [INFO] [stdout] --> src/io_helper.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] | ^^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use io_helper::DynamicImage::ImageLuma8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageLuma8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] 92 + "gray" => ImageLuma8(im.to_luma()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Luma` [INFO] [stdout] --> src/morphology/dilate_erode.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | if p.data == [FOREGROUND_COLOR] { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Luma<_>` has no field named `data` [INFO] [stdout] --> src/morphology/dilate_erode.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 32 | imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/color.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Luma, 1, 0, "Y", ColorType::L8, ColorType::L16, #[doc = "Grayscale colors"]; [INFO] [stdout] | ---- `Luma<_>` defined here [INFO] [stdout] | [INFO] [stdout] help: `Luma<_>` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 32 - imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] 32 + imgbuf.put_pixel(x as u32, y as u32, Luma<_>(/* [T; 1] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Luma` [INFO] [stdout] --> src/morphology/dilate_erode.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | if p.data == [BACKGROUND_COLOR] { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Luma<_>` has no field named `data` [INFO] [stdout] --> src/morphology/dilate_erode.rs:71:57 [INFO] [stdout] | [INFO] [stdout] 71 | imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/color.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Luma, 1, 0, "Y", ColorType::L8, ColorType::L16, #[doc = "Grayscale colors"]; [INFO] [stdout] | ---- `Luma<_>` defined here [INFO] [stdout] | [INFO] [stdout] help: `Luma<_>` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 71 - imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] 71 + imgbuf.put_pixel(x as u32, y as u32, Luma<_>(/* [T; 1] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Luma` [INFO] [stdout] --> src/morphology/dilate_erode.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | if p.data == [FOREGROUND_COLOR] { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Luma<_>` has no field named `data` [INFO] [stdout] --> src/morphology/dilate_erode.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 32 | imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/color.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Luma, 1, 0, "Y", ColorType::L8, ColorType::L16, #[doc = "Grayscale colors"]; [INFO] [stdout] | ---- `Luma<_>` defined here [INFO] [stdout] | [INFO] [stdout] help: `Luma<_>` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 32 - imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] 32 + imgbuf.put_pixel(x as u32, y as u32, Luma<_>(/* [T; 1] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&Luma` [INFO] [stdout] --> src/morphology/dilate_erode.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | if p.data == [BACKGROUND_COLOR] { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Luma<_>` has no field named `data` [INFO] [stdout] --> src/morphology/dilate_erode.rs:71:57 [INFO] [stdout] | [INFO] [stdout] 71 | imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/color.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Luma, 1, 0, "Y", ColorType::L8, ColorType::L16, #[doc = "Grayscale colors"]; [INFO] [stdout] | ---- `Luma<_>` defined here [INFO] [stdout] | [INFO] [stdout] help: `Luma<_>` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 71 - imgbuf.put_pixel(x as u32, y as u32, Luma { data: [gray_value] }); [INFO] [stdout] 71 + imgbuf.put_pixel(x as u32, y as u32, Luma<_>(/* [T; 1] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `BMP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | "bmp" => image::ImageFormat::BMP, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 26 - "bmp" => image::ImageFormat::BMP, [INFO] [stdout] 26 + "bmp" => image::ImageFormat::Bmp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | "gif" => ImageFormat::GIF, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 27 - "gif" => ImageFormat::GIF, [INFO] [stdout] 27 + "gif" => ImageFormat::Gif, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `HDR` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | "hdr" => image::ImageFormat::HDR, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 28 - "hdr" => image::ImageFormat::HDR, [INFO] [stdout] 28 + "hdr" => image::ImageFormat::Hdr, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ICO` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | "ico" => image::ImageFormat::ICO, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 29 - "ico" => image::ImageFormat::ICO, [INFO] [stdout] 29 + "ico" => image::ImageFormat::Ico, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `BMP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | "bmp" => image::ImageFormat::BMP, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 26 - "bmp" => image::ImageFormat::BMP, [INFO] [stdout] 26 + "bmp" => image::ImageFormat::Bmp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GIF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | "gif" => ImageFormat::GIF, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 27 - "gif" => ImageFormat::GIF, [INFO] [stdout] 27 + "gif" => ImageFormat::Gif, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | "jpg" | "jpeg" => ImageFormat::JPEG, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 30 - "jpg" | "jpeg" => ImageFormat::JPEG, [INFO] [stdout] 30 + "jpg" | "jpeg" => ImageFormat::Jpeg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `HDR` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | "hdr" => image::ImageFormat::HDR, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 28 - "hdr" => image::ImageFormat::HDR, [INFO] [stdout] 28 + "hdr" => image::ImageFormat::Hdr, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | "png" => ImageFormat::PNG, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - "png" => ImageFormat::PNG, [INFO] [stdout] 31 + "png" => ImageFormat::Png, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ICO` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | "ico" => image::ImageFormat::ICO, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 29 - "ico" => image::ImageFormat::ICO, [INFO] [stdout] 29 + "ico" => image::ImageFormat::Ico, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PPM` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | "ppm" => image::ImageFormat::PPM, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `JPEG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | "jpg" | "jpeg" => ImageFormat::JPEG, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 30 - "jpg" | "jpeg" => ImageFormat::JPEG, [INFO] [stdout] 30 + "jpg" | "jpeg" => ImageFormat::Jpeg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | "webp" => ImageFormat::WEBP, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - "webp" => ImageFormat::WEBP, [INFO] [stdout] 33 + "webp" => ImageFormat::WebP, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | "png" => ImageFormat::PNG, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - "png" => ImageFormat::PNG, [INFO] [stdout] 31 + "png" => ImageFormat::Png, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TGA` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | "tga" => image::ImageFormat::TGA, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - "tga" => image::ImageFormat::TGA, [INFO] [stdout] 34 + "tga" => image::ImageFormat::Tga, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TIFF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | "tiff" => ImageFormat::TIFF, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 35 - "tiff" => ImageFormat::TIFF, [INFO] [stdout] 35 + "tiff" => ImageFormat::Tiff, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PPM` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | "ppm" => image::ImageFormat::PPM, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WEBP` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | "webp" => ImageFormat::WEBP, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - "webp" => ImageFormat::WEBP, [INFO] [stdout] 33 + "webp" => ImageFormat::WebP, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TGA` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | "tga" => image::ImageFormat::TGA, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - "tga" => image::ImageFormat::TGA, [INFO] [stdout] 34 + "tga" => image::ImageFormat::Tga, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | _ => ImageFormat::PNG, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - _ => ImageFormat::PNG, [INFO] [stdout] 36 + _ => ImageFormat::Png, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TIFF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | "tiff" => ImageFormat::TIFF, [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 35 - "tiff" => ImageFormat::TIFF, [INFO] [stdout] 35 + "tiff" => ImageFormat::Tiff, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(ImageFormat::PNG, result_found) [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - assert_eq!(ImageFormat::PNG, result_found) [INFO] [stdout] 43 + assert_eq!(ImageFormat::Png, result_found) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PNG` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | _ => ImageFormat::PNG, [INFO] [stdout] | ^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - _ => ImageFormat::PNG, [INFO] [stdout] 36 + _ => ImageFormat::Png, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TIFF` found for enum `ImageFormat` in the current scope [INFO] [stdout] --> src/io_helper.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(ImageFormat::TIFF, result_found) [INFO] [stdout] | ^^^^ variant or associated item not found in `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 49 - assert_eq!(ImageFormat::TIFF, result_found) [INFO] [stdout] 49 + assert_eq!(ImageFormat::Tiff, result_found) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `io_helper::image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/io_helper.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `io_helper::image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/io_helper.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | "gray" => image::ImageLuma8(im.to_luma()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/io_helper.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | im_out.save(fout, image_format).unwrap(); [INFO] [stdout] | ---- ^^^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&mut File` to implement `AsRef` [INFO] [stdout] note: required by a bound in `DynamicImage::save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/dynimage.rs:1010:12 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 1009 | where [INFO] [stdout] 1010 | Q: AsRef, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DynamicImage::save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/io_helper.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | im_out.save(fout, image_format).unwrap(); [INFO] [stdout] | ---- ^^^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&mut File` to implement `AsRef` [INFO] [stdout] note: required by a bound in `DynamicImage::save` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/dynimage.rs:1010:12 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 1009 | where [INFO] [stdout] 1010 | Q: AsRef, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DynamicImage::save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/io_helper.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | im_out.save(fout, image_format).unwrap(); [INFO] [stdout] | ^^^^ ------------ unexpected argument #2 of type `ImageFormat` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/dynimage.rs:1008:12 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 180 - im_out.save(fout, image_format).unwrap(); [INFO] [stdout] 180 + im_out.save(fout).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/io_helper.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | im_out.save(fout, image_format).unwrap(); [INFO] [stdout] | ^^^^ ------------ unexpected argument #2 of type `ImageFormat` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/dynimage.rs:1008:12 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn save(&self, path: Q) -> ImageResult<()> [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 180 - im_out.save(fout, image_format).unwrap(); [INFO] [stdout] 180 + im_out.save(fout).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for reference `&DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | im.dimensions(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `&DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `dimensions` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let height = img.height(); [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | fn height(&self) -> u32 { [INFO] [stdout] | ------ the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `height` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let width = img.width(); [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | fn width(&self) -> u32 { [INFO] [stdout] | ----- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `width` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for reference `&DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | im.dimensions(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `&DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `dimensions` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let height = img.height(); [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | fn height(&self) -> u32 { [INFO] [stdout] | ------ the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `height` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let px = img.get_pixel(x, y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn get_pixel(&self, x: u32, y: u32) -> Self::Pixel; [INFO] [stdout] | --------- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `get_pixel` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pixel_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | let px = img.get_pixel_mut(x, y) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let width = img.width(); [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | fn width(&self) -> u32 { [INFO] [stdout] | ----- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `width` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let height = img.height(); [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | fn height(&self) -> u32 { [INFO] [stdout] | ------ the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `height` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let px = img.get_pixel(x, y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn get_pixel(&self, x: u32, y: u32) -> Self::Pixel; [INFO] [stdout] | --------- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `get_pixel` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pixel_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | let px = img.get_pixel_mut(x, y) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let width = img.width(); [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | fn width(&self) -> u32 { [INFO] [stdout] | ----- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `width` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let height = img.height(); [INFO] [stdout] | ^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | fn height(&self) -> u32 { [INFO] [stdout] | ------ the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `height` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let width = img.width(); [INFO] [stdout] | ^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | fn width(&self) -> u32 { [INFO] [stdout] | ----- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `width` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let px = img.get_pixel(x, y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn get_pixel(&self, x: u32, y: u32) -> Self::Pixel; [INFO] [stdout] | --------- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `get_pixel` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pixel_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 | let px = img.get_pixel_mut(x, y) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/image_operations.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let px = img.get_pixel(x, y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.23.12/src/image.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | fn get_pixel(&self, x: u32, y: u32) -> Self::Pixel; [INFO] [stdout] | --------- the method is available for `DynamicImage` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `GenericImageView` which provides `get_pixel` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use io_helper::image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pixel_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 | let px = img.get_pixel_mut(x, y) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shapelogic-rust` (bin "shapelogic-rust") due to 30 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shapelogic-rust` (bin "shapelogic-rust" test) due to 32 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6779d19a21f2404b7286190f0273cc7f3674e1086757281c5950538ac3abf7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6779d19a21f2404b7286190f0273cc7f3674e1086757281c5950538ac3abf7ad", kill_on_drop: false }` [INFO] [stdout] 6779d19a21f2404b7286190f0273cc7f3674e1086757281c5950538ac3abf7ad