[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] checking yt1958-cmyk/RGB_judge against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608 [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 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/zama-ai/tfhe-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-stack v0.11.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52b7599a4ea27f60c91f9d8de265991f34aba4cf9287afe505a5a9d87ee5ed48 [INFO] running `Command { std: "docker" "start" "-a" "52b7599a4ea27f60c91f9d8de265991f34aba4cf9287afe505a5a9d87ee5ed48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52b7599a4ea27f60c91f9d8de265991f34aba4cf9287afe505a5a9d87ee5ed48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b7599a4ea27f60c91f9d8de265991f34aba4cf9287afe505a5a9d87ee5ed48", kill_on_drop: false }` [INFO] [stdout] 52b7599a4ea27f60c91f9d8de265991f34aba4cf9287afe505a5a9d87ee5ed48 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa7e6ee71bf51115ddaec1f28eb0f682d63934fd6e3421e77e1ed13a92584000 [INFO] running `Command { std: "docker" "start" "-a" "aa7e6ee71bf51115ddaec1f28eb0f682d63934fd6e3421e77e1ed13a92584000", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking dyn-stack v0.11.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [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 byteorder v1.5.0 [INFO] [stderr] Checking tfhe-csprng v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [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 tfhe-versionable v0.6.0 (https://github.com/zama-ai/tfhe-rs?branch=main#215ded90) [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking tfhe-ntt 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 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::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] 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: 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)]` 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] 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)]` 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 `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[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 `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 `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 `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 `Contour<_>: ExactSizeIterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Contour<_>: ExactSizeIterator` [INFO] [stdout] which is required by `&mut Contour<_>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `len` exists for struct `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 `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 `Contour<_>: ExactSizeIterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Contour<_>: ExactSizeIterator` [INFO] [stdout] which is required by `&mut Contour<_>: 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 `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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let contours = find_contours::(&gray, BorderType::Outer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- unexpected argument #2 of type `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 `&&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 `&&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 `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 reference `&&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 `&&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[E0599]: no method named `len` found for struct `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 `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; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `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 `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 `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] [stderr] error: could not compile `RGB_judge` (bin "RGB_judge" test) due to 10 previous errors; 2 warnings emitted [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] running `Command { std: "docker" "inspect" "aa7e6ee71bf51115ddaec1f28eb0f682d63934fd6e3421e77e1ed13a92584000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7e6ee71bf51115ddaec1f28eb0f682d63934fd6e3421e77e1ed13a92584000", kill_on_drop: false }` [INFO] [stdout] aa7e6ee71bf51115ddaec1f28eb0f682d63934fd6e3421e77e1ed13a92584000