[INFO] cloning repository https://github.com/yt1958-cmyk/RGB_judge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yt1958-cmyk/RGB_judge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyt1958-cmyk%2FRGB_judge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyt1958-cmyk%2FRGB_judge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 898827f2bcab98d3e1c689bffbc843476b424f68 [INFO] linting yt1958-cmyk/RGB_judge/898827f2bcab98d3e1c689bffbc843476b424f68 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyt1958-cmyk%2FRGB_judge" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yt1958-cmyk/RGB_judge [INFO] finished tweaking git repo https://github.com/yt1958-cmyk/RGB_judge [INFO] tweaked toml for git repo https://github.com/yt1958-cmyk/RGB_judge written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yt1958-cmyk/RGB_judge on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yt1958-cmyk/RGB_judge 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/zama-ai/tfhe-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-stack v0.11.0 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded image v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54e8b6079582f1303fd64a62efc3fd94e2edfd4005d9e7f5718173e3d2a20f52 [INFO] running `Command { std: "docker" "start" "-a" "54e8b6079582f1303fd64a62efc3fd94e2edfd4005d9e7f5718173e3d2a20f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54e8b6079582f1303fd64a62efc3fd94e2edfd4005d9e7f5718173e3d2a20f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e8b6079582f1303fd64a62efc3fd94e2edfd4005d9e7f5718173e3d2a20f52", kill_on_drop: false }` [INFO] [stdout] 54e8b6079582f1303fd64a62efc3fd94e2edfd4005d9e7f5718173e3d2a20f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48093ea802d82ae1b79effb96575404d7c8528deba7f97d33428d3236ac9ef45 [INFO] running `Command { std: "docker" "start" "-a" "48093ea802d82ae1b79effb96575404d7c8528deba7f97d33428d3236ac9ef45", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking dyn-stack v0.11.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tfhe v1.3.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking tfhe-csprng v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling tfhe-versionable-derive v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking tfhe-versionable v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking tfhe-fft v0.9.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking tfhe-ntt v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking imageproc v0.23.0 [INFO] [stderr] Checking RGB_judge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tfhe::prelude` [INFO] [stdout] --> src/encrypt_image.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tfhe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/encrypt_image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use tfhe::shortint::{Ciphertext, ClientKey, ConfigBuilder, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/count_rgb.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use tfhe::shortint::{Ciphertext, ClientKey, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/count_shape.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use tfhe::shortint::{Ciphertext, ClientKey, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::encrypt_image::EncryptedImage` [INFO] [stdout] --> src/count_shape.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::encrypt_image::EncryptedImage; [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: `count_same_shape` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use count_shape::{count_same_shape, count_same_shape_fhe}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::prelude` [INFO] [stdout] --> src/encrypt_image.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tfhe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/encrypt_image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use tfhe::shortint::{Ciphertext, ClientKey, ConfigBuilder, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/count_rgb.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use tfhe::shortint::{Ciphertext, ClientKey, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tfhe::shortint` [INFO] [stdout] --> src/count_shape.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use tfhe::shortint::{Ciphertext, ClientKey, ServerKey}; [INFO] [stdout] | ^^^^^^^^ could not find `shortint` in `tfhe` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/tfhe-rs-0a19e672af1a5bbe/215ded9/tfhe/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "shortint")] [INFO] [stdout] | -------------------- the item is gated behind the `shortint` feature [INFO] [stdout] ... [INFO] [stdout] 112 | pub mod shortint; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::encrypt_image::EncryptedImage` [INFO] [stdout] --> src/count_shape.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::encrypt_image::EncryptedImage; [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: `count_same_shape` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use count_shape::{count_same_shape, count_same_shape_fhe}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let contours = find_contours::(&sub_image, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let contours = find_contours::(&sub_image, BorderType::Outer); [INFO] [stdout] 11 + let contours = find_contours::(&sub_image); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `len` exists for struct `imageproc::contours::Contour<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/count_shape.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | .map(Contour::len) [INFO] [stdout] | ^^^ function or associated item cannot be called on `imageproc::contours::Contour<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Contour { [INFO] [stdout] | --------------------- doesn't satisfy `_: ExactSizeIterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `imageproc::contours::Contour<_>: std::iter::ExactSizeIterator` [INFO] [stdout] which is required by `&mut imageproc::contours::Contour<_>: std::iter::ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] 24 + let contours = find_contours::(&gray); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let contours = find_contours::(&sub_image, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let contours = find_contours::(&sub_image, BorderType::Outer); [INFO] [stdout] 11 + let contours = find_contours::(&sub_image); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `len` exists for struct `imageproc::contours::Contour<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/count_shape.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | .map(Contour::len) [INFO] [stdout] | ^^^ function or associated item cannot be called on `imageproc::contours::Contour<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Contour { [INFO] [stdout] | --------------------- doesn't satisfy `_: ExactSizeIterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `imageproc::contours::Contour<_>: std::iter::ExactSizeIterator` [INFO] [stdout] which is required by `&mut imageproc::contours::Contour<_>: std::iter::ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] 24 + let contours = find_contours::(&gray); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&&imageproc::contours::Contour` in the current scope [INFO] [stdout] --> src/count_shape.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | contours.iter().filter(|c| c.len() == ref_sides).count() as u32 [INFO] [stdout] | ^^^ method not found in `&&imageproc::contours::Contour` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 25 | contours.iter().filter(|c| c.points.len() == ref_sides).count() as u32 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 41 - let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] 41 + let contours = find_contours::(&gray); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `imageproc::contours::Contour` in the current scope [INFO] [stdout] --> src/count_shape.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let len_ct = client_key.encrypt(c.len() as u64); [INFO] [stdout] | ^^^ method not found in `imageproc::contours::Contour` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 43 | let len_ct = client_key.encrypt(c.points.len() as u64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&&imageproc::contours::Contour` in the current scope [INFO] [stdout] --> src/count_shape.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | contours.iter().filter(|c| c.len() == ref_sides).count() as u32 [INFO] [stdout] | ^^^ method not found in `&&imageproc::contours::Contour` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 25 | contours.iter().filter(|c| c.points.len() == ref_sides).count() as u32 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/count_shape.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `imageproc::contours::BorderType` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/imageproc-0.23.0/src/contours.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_contours(image: &GrayImage) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 41 - let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] 41 + let contours = find_contours::(&gray); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `imageproc::contours::Contour` in the current scope [INFO] [stdout] --> src/count_shape.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let len_ct = client_key.encrypt(c.len() as u64); [INFO] [stdout] | ^^^ method not found in `imageproc::contours::Contour` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 43 | let len_ct = client_key.encrypt(c.points.len() as u64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RGB_judge` (bin "RGB_judge") due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `RGB_judge` (bin "RGB_judge" test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48093ea802d82ae1b79effb96575404d7c8528deba7f97d33428d3236ac9ef45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48093ea802d82ae1b79effb96575404d7c8528deba7f97d33428d3236ac9ef45", kill_on_drop: false }` [INFO] [stdout] 48093ea802d82ae1b79effb96575404d7c8528deba7f97d33428d3236ac9ef45