[INFO] cloning repository https://github.com/DexterWx/card_recognize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DexterWx/card_recognize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDexterWx%2Fcard_recognize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDexterWx%2Fcard_recognize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4b92bb049dc059294eced7d8e80c26007e18350 [INFO] checking DexterWx/card_recognize against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDexterWx%2Fcard_recognize" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DexterWx/card_recognize on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DexterWx/card_recognize [INFO] finished tweaking git repo https://github.com/DexterWx/card_recognize [INFO] tweaked toml for git repo https://github.com/DexterWx/card_recognize written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DexterWx/card_recognize 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multimap v0.10.0 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded bit_reverse v0.1.8 [INFO] [stderr] Downloaded rxing-one-d-proc-derive v0.5.3 [INFO] [stderr] Downloaded nalgebra v0.32.4 [INFO] [stderr] Downloaded rxing v0.5.9 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd58d9aed761d0d2eb5a16091a6f1899da8f38759419e0458c76d8f5840c602b [INFO] running `Command { std: "docker" "start" "-a" "fd58d9aed761d0d2eb5a16091a6f1899da8f38759419e0458c76d8f5840c602b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd58d9aed761d0d2eb5a16091a6f1899da8f38759419e0458c76d8f5840c602b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd58d9aed761d0d2eb5a16091a6f1899da8f38759419e0458c76d8f5840c602b", kill_on_drop: false }` [INFO] [stdout] fd58d9aed761d0d2eb5a16091a6f1899da8f38759419e0458c76d8f5840c602b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e0bcfe21f911b1df45c331b33af3307d5ecd9775b01b65cecd9a51143fa2c34 [INFO] running `Command { std: "docker" "start" "-a" "7e0bcfe21f911b1df45c331b33af3307d5ecd9775b01b65cecd9a51143fa2c34", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling rxing-one-d-proc-derive v0.5.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking imageproc v0.24.0 [INFO] [stderr] Checking rxing v0.5.9 [INFO] [stderr] Checking card_recognize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `imageproc::integral_image::sum_image_pixels` [INFO] [stdout] --> src/recognition/black_fill.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use imageproc::integral_image::sum_image_pixels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessedImagesAndModelPoints` [INFO] [stdout] --> src/recognition/barcode.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{models::{engine_rec::{ProcessedImages, ProcessedImagesAndModelPoints}, rec_result::Value}, recognition::engine::Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::integral_image::sum_image_pixels` [INFO] [stdout] --> src/recognition/black_fill.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use imageproc::integral_image::sum_image_pixels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessedImagesAndModelPoints` [INFO] [stdout] --> src/recognition/barcode.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{models::{engine_rec::{ProcessedImages, ProcessedImagesAndModelPoints}, rec_result::Value}, recognition::engine::Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::rec_result::OutputRec` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use models::rec_result::OutputRec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognition::baizheng::Baizheng` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use recognition::baizheng::Baizheng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/black_fill.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/black_fill.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/numbers.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/numbers.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/vx.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/vx.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/barcode.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/barcode.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/black_fill.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/black_fill.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/numbers.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/numbers.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/vx.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/vx.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/barcode.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/barcode.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_barcode` is never used [INFO] [stdout] --> src/recognition/barcode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_barcode(img: &DynamicImage, coor: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_barcode` is never used [INFO] [stdout] --> src/recognition/barcode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_barcode(img: &DynamicImage, coor: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | img.save(out_img_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = img.save(out_img_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized] target(s) in 55.79s [INFO] running `Command { std: "docker" "inspect" "7e0bcfe21f911b1df45c331b33af3307d5ecd9775b01b65cecd9a51143fa2c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0bcfe21f911b1df45c331b33af3307d5ecd9775b01b65cecd9a51143fa2c34", kill_on_drop: false }` [INFO] [stdout] 7e0bcfe21f911b1df45c331b33af3307d5ecd9775b01b65cecd9a51143fa2c34 [INFO] checking DexterWx/card_recognize against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDexterWx%2Fcard_recognize" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DexterWx/card_recognize on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DexterWx/card_recognize [INFO] finished tweaking git repo https://github.com/DexterWx/card_recognize [INFO] tweaked toml for git repo https://github.com/DexterWx/card_recognize written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DexterWx/card_recognize 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17a9cf8b57ed190b1a2c74e6a95bce3bda9dcdf9eac846e369f71e015d9ccd85 [INFO] running `Command { std: "docker" "start" "-a" "17a9cf8b57ed190b1a2c74e6a95bce3bda9dcdf9eac846e369f71e015d9ccd85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17a9cf8b57ed190b1a2c74e6a95bce3bda9dcdf9eac846e369f71e015d9ccd85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a9cf8b57ed190b1a2c74e6a95bce3bda9dcdf9eac846e369f71e015d9ccd85", kill_on_drop: false }` [INFO] [stdout] 17a9cf8b57ed190b1a2c74e6a95bce3bda9dcdf9eac846e369f71e015d9ccd85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65580a11f146beccad04a669eb363cb50d666065a7ea1df60aa92e9027667752 [INFO] running `Command { std: "docker" "start" "-a" "65580a11f146beccad04a669eb363cb50d666065a7ea1df60aa92e9027667752", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling rxing-one-d-proc-derive v0.5.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking imageproc v0.24.0 [INFO] [stderr] Checking rxing v0.5.9 [INFO] [stderr] Checking card_recognize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `imageproc::integral_image::sum_image_pixels` [INFO] [stdout] --> src/recognition/black_fill.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use imageproc::integral_image::sum_image_pixels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessedImagesAndModelPoints` [INFO] [stdout] --> src/recognition/barcode.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{models::{engine_rec::{ProcessedImages, ProcessedImagesAndModelPoints}, rec_result::Value}, recognition::engine::Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::integral_image::sum_image_pixels` [INFO] [stdout] --> src/recognition/black_fill.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use imageproc::integral_image::sum_image_pixels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessedImagesAndModelPoints` [INFO] [stdout] --> src/recognition/barcode.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{models::{engine_rec::{ProcessedImages, ProcessedImagesAndModelPoints}, rec_result::Value}, recognition::engine::Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::rec_result::OutputRec` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use models::rec_result::OutputRec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognition::baizheng::Baizheng` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use recognition::baizheng::Baizheng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/black_fill.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/black_fill.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/numbers.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/numbers.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/vx.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/vx.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/barcode.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/barcode.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/black_fill.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/black_fill.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/numbers.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/numbers.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/vx.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/vx.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/recognition/barcode.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/recognition/barcode.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_barcode` is never used [INFO] [stdout] --> src/recognition/barcode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_barcode(img: &DynamicImage, coor: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_barcode` is never used [INFO] [stdout] --> src/recognition/barcode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_barcode(img: &DynamicImage, coor: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | img.save(out_img_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = img.save(out_img_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized] target(s) in 39.00s [INFO] running `Command { std: "docker" "inspect" "65580a11f146beccad04a669eb363cb50d666065a7ea1df60aa92e9027667752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65580a11f146beccad04a669eb363cb50d666065a7ea1df60aa92e9027667752", kill_on_drop: false }` [INFO] [stdout] 65580a11f146beccad04a669eb363cb50d666065a7ea1df60aa92e9027667752