[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] 01c61a631e1bad287e5e12dc4fc49881d32b70be
[INFO] testing DexterWx/card_recognize against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[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] 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] validating manifest of git repo https://github.com/DexterWx/card_recognize on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.11
[INFO] [stderr]   Downloaded thiserror-impl v1.0.58
[INFO] [stderr]   Downloaded avif-serialize v0.8.1
[INFO] [stderr]   Downloaded phf_generator v0.11.2
[INFO] [stderr]   Downloaded built v0.7.1
[INFO] [stderr]   Downloaded conv v0.3.3
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded ravif v0.11.5
[INFO] [stderr]   Downloaded toml_datetime v0.6.5
[INFO] [stderr]   Downloaded md5 v0.7.0
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded bit_reverse v0.1.8
[INFO] [stderr]   Downloaded chrono-tz-build v0.2.1
[INFO] [stderr]   Downloaded jobserver v0.1.28
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded anyhow v1.0.81
[INFO] [stderr]   Downloaded zune-jpeg v0.4.11
[INFO] [stderr]   Downloaded flume v0.11.0
[INFO] [stderr]   Downloaded encoding-index-japanese v1.20141219.5
[INFO] [stderr]   Downloaded encoding v0.2.33
[INFO] [stderr]   Downloaded image-base64-wasm v0.6.0
[INFO] [stderr]   Downloaded encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]   Downloaded ttf-parser v0.20.0
[INFO] [stderr]   Downloaded rayon v1.9.0
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded syn v2.0.53
[INFO] [stderr]   Downloaded chrono v0.4.37
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded exr v1.72.0
[INFO] [stderr]   Downloaded regex v1.10.4
[INFO] [stderr]   Downloaded winnow v0.6.5
[INFO] [stderr]   Downloaded owned_ttf_parser v0.20.0
[INFO] [stderr]   Downloaded regex-syntax v0.8.3
[INFO] [stderr]   Downloaded imageproc v0.24.0
[INFO] [stderr]   Downloaded nalgebra v0.32.4
[INFO] [stderr]   Downloaded serde_json v1.0.114
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.4
[INFO] [stderr]   Downloaded encoding-index-korean v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.4
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.7
[INFO] [stderr]   Downloaded toml_edit v0.22.9
[INFO] [stderr]   Downloaded fancy-regex v0.13.0
[INFO] [stderr]   Downloaded safe_arch v0.7.1
[INFO] [stderr]   Downloaded memchr v2.7.1
[INFO] [stderr]   Downloaded regex-automata v0.4.6
[INFO] [stderr]   Downloaded half v2.4.0
[INFO] [stderr]   Downloaded gif v0.11.4
[INFO] [stderr]   Downloaded chrono-tz v0.8.6
[INFO] [stderr]   Downloaded image-webp v0.1.1
[INFO] [stderr]   Downloaded imgref v1.10.1
[INFO] [stderr]   Downloaded cc v1.0.90
[INFO] [stderr]   Downloaded toml v0.8.12
[INFO] [stderr]   Downloaded wide v0.7.15
[INFO] [stderr]   Downloaded libc v0.2.153
[INFO] [stderr]   Downloaded getrandom v0.2.12
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.4
[INFO] [stderr]   Downloaded num-traits v0.2.18
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.4
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.4
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.4
[INFO] [stderr]   Downloaded rxing v0.5.9
[INFO] [stderr]   Downloaded csv v1.3.0
[INFO] [stderr]   Downloaded ryu v1.0.17
[INFO] [stderr]   Downloaded bumpalo v3.15.4
[INFO] [stderr]   Downloaded arbitrary v1.3.2
[INFO] [stderr]   Downloaded cfg-expr v0.15.7
[INFO] [stderr]   Downloaded miniz_oxide v0.7.2
[INFO] [stderr]   Downloaded bytemuck v1.15.0
[INFO] [stderr]   Downloaded serde v1.0.197
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded phf v0.11.2
[INFO] [stderr]   Downloaded csv-core v0.1.11
[INFO] [stderr]   Downloaded codepage-437 v0.1.0
[INFO] [stderr]   Downloaded encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]   Downloaded ab_glyph v0.2.23
[INFO] [stderr]   Downloaded bitstream-io v2.2.0
[INFO] [stderr]   Downloaded num-complex v0.4.5
[INFO] [stderr]   Downloaded thiserror v1.0.58
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.4
[INFO] [stderr]   Downloaded either v1.10.0
[INFO] [stderr]   Downloaded serde_derive v1.0.197
[INFO] [stderr]   Downloaded proc-macro2 v1.0.79
[INFO] [stderr]   Downloaded phf_shared v0.11.2
[INFO] [stderr]   Downloaded encoding_index_tests v0.1.4
[INFO] [stderr]   Downloaded windows-targets v0.52.4
[INFO] [stderr]   Downloaded phf_codegen v0.11.2
[INFO] [stderr]   Downloaded custom_derive v0.1.7
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.15
[INFO] [stderr]   Downloaded serde_spanned v0.6.5
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.19
[INFO] [stderr]   Downloaded num v0.4.1
[INFO] [stderr]   Downloaded serde_yaml v0.9.34+deprecated
[INFO] [stderr]   Downloaded num-iter v0.1.44
[INFO] [stderr]   Downloaded crc32fast v1.4.0
[INFO] [stderr]   Downloaded multimap v0.10.0
[INFO] [stderr]   Downloaded rxing-one-d-proc-derive v0.5.3
[INFO] [stderr]   Downloaded rgb v0.8.37
[INFO] [stderr]   Downloaded quote v1.0.35
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4107aa90985ef25676fd9ff3876cd6268cb958d23b0b9ca08a45786ff16efdc
[INFO] running `Command { std: "docker" "start" "-a" "b4107aa90985ef25676fd9ff3876cd6268cb958d23b0b9ca08a45786ff16efdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4107aa90985ef25676fd9ff3876cd6268cb958d23b0b9ca08a45786ff16efdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4107aa90985ef25676fd9ff3876cd6268cb958d23b0b9ca08a45786ff16efdc", kill_on_drop: false }`
[INFO] [stdout] b4107aa90985ef25676fd9ff3876cd6268cb958d23b0b9ca08a45786ff16efdc
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1e7243803ef0910d753485f4faf1097a1d40b888e4cec6fed1624b803eb98d6
[INFO] running `Command { std: "docker" "start" "-a" "d1e7243803ef0910d753485f4faf1097a1d40b888e4cec6fed1624b803eb98d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rayon v1.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling built v0.7.1
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling csv-core v0.1.11
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling num-complex v0.4.5
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling profiling v1.0.15
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling bitstream-io v2.2.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling imgref v1.10.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling wide v0.7.15
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling csv v1.3.0
[INFO] [stderr]    Compiling avif-serialize v0.8.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling rgb v0.8.37
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling half v2.4.0
[INFO] [stderr]    Compiling bumpalo v3.15.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.20.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling ravif v0.11.5
[INFO] [stderr]    Compiling zune-jpeg v0.4.11
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling codepage-437 v0.1.0
[INFO] [stderr]    Compiling chrono-tz v0.8.6
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling image-webp v0.1.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling chrono v0.4.37
[INFO] [stderr]    Compiling ab_glyph v0.2.23
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling image v0.25.0
[INFO] [stderr]    Compiling nalgebra v0.32.4
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling imageproc v0.24.0
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling fancy-regex v0.13.0
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]    Compiling rxing-one-d-proc-derive v0.5.3
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling bit_reverse v0.1.8
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling image-base64-wasm v0.6.0
[INFO] [stderr]    Compiling rxing v0.5.9
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling card_recognize v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::my_utils::node::print2node`
[INFO] [stdout]   --> src/recognition/baizheng.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::my_utils::node::print2node;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/recognition/baizheng.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for i in (0..imgs_len){
[INFO] [stdout]    |                  ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -         for i in (0..imgs_len){
[INFO] [stdout] 79 +         for i in 0..imgs_len {
[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] 
[INFO] [stdout] warning: unused import: `std::fs::read_link`
[INFO] [stdout]  --> src/recognition/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::read_link;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynamicImage`
[INFO] [stdout]  --> src/recognition/engine.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{DynamicImage, Rgb};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image_base64_wasm::to_base64`
[INFO] [stdout]  --> src/recognition/engine.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use image_base64_wasm::to_base64;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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: `Rgb`
[INFO] [stdout]   --> src/models/mod.rs:20:47
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use image::{GrayImage, ImageBuffer, Luma, Rgb, RgbImage};
[INFO] [stdout]    |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ok` and `Result`
[INFO] [stdout]   --> src/my_utils/image.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use anyhow::{Result,Ok};
[INFO] [stdout]    |              ^^^^^^ ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/recognition/baizheng.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         for mut img in imgs.iter_mut(){
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/recognition/baizheng.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let mut image_status = ImageStatus {
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[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<Value>{
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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<Value>{
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[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<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:132:22
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let engine = ENGINE.as_ref().expect("Engine not initialized");
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized] target(s) in 8m 45s
[INFO] running `Command { std: "docker" "inspect" "d1e7243803ef0910d753485f4faf1097a1d40b888e4cec6fed1624b803eb98d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1e7243803ef0910d753485f4faf1097a1d40b888e4cec6fed1624b803eb98d6", kill_on_drop: false }`
[INFO] [stdout] d1e7243803ef0910d753485f4faf1097a1d40b888e4cec6fed1624b803eb98d6
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3af522ccf4a3497982d9f10ae8893e73c97a83142ac26744fc04ae99e7e0bf4d
[INFO] running `Command { std: "docker" "start" "-a" "3af522ccf4a3497982d9f10ae8893e73c97a83142ac26744fc04ae99e7e0bf4d", kill_on_drop: false }`
[INFO] [stderr]    Compiling card_recognize v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::my_utils::node::print2node`
[INFO] [stdout]   --> src/recognition/baizheng.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::my_utils::node::print2node;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/recognition/baizheng.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |         for i in (0..imgs_len){
[INFO] [stdout]    |                  ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -         for i in (0..imgs_len){
[INFO] [stdout] 79 +         for i in 0..imgs_len {
[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] 
[INFO] [stdout] warning: unused import: `std::fs::read_link`
[INFO] [stdout]  --> src/recognition/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::read_link;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynamicImage`
[INFO] [stdout]  --> src/recognition/engine.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{DynamicImage, Rgb};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image_base64_wasm::to_base64`
[INFO] [stdout]  --> src/recognition/engine.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use image_base64_wasm::to_base64;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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: `Rgb`
[INFO] [stdout]   --> src/models/mod.rs:20:47
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use image::{GrayImage, ImageBuffer, Luma, Rgb, RgbImage};
[INFO] [stdout]    |                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ok` and `Result`
[INFO] [stdout]   --> src/my_utils/image.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use anyhow::{Result,Ok};
[INFO] [stdout]    |              ^^^^^^ ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/recognition/baizheng.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         for mut img in imgs.iter_mut(){
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/recognition/baizheng.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let mut image_status = ImageStatus {
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[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<Value>{
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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<Value>{
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[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<Value> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |             let mut rendering = trans_base64_to_image(&page.image_rendering.expect("image_rendering is None"));
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[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<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:132:22
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let engine = ENGINE.as_ref().expect("Engine not initialized");
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             rendering.to_rgb8().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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let _ = rendering.to_rgb8().save(out_img_path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             img.to_rgb8().save(out_img_path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |             let _ = img.to_rgb8().save(out_img_path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized] target(s) in 22.25s
[INFO] running `Command { std: "docker" "inspect" "3af522ccf4a3497982d9f10ae8893e73c97a83142ac26744fc04ae99e7e0bf4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3af522ccf4a3497982d9f10ae8893e73c97a83142ac26744fc04ae99e7e0bf4d", kill_on_drop: false }`
[INFO] [stdout] 3af522ccf4a3497982d9f10ae8893e73c97a83142ac26744fc04ae99e7e0bf4d
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3b0d50de45566f32074cd2f466f6650dd6a5ce59c518cf7c3e2945078e2bf80e
[INFO] running `Command { std: "docker" "start" "-a" "3b0d50de45566f32074cd2f466f6650dd6a5ce59c518cf7c3e2945078e2bf80e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::my_utils::node::print2node`
[INFO] [stderr]   --> src/recognition/baizheng.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use crate::my_utils::node::print2node;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/recognition/baizheng.rs:79:18
[INFO] [stderr]    |
[INFO] [stderr] 79 |         for i in (0..imgs_len){
[INFO] [stderr]    |                  ^           ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 79 -         for i in (0..imgs_len){
[INFO] [stderr] 79 +         for i in 0..imgs_len {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `imageproc::integral_image::sum_image_pixels`
[INFO] [stderr]  --> src/recognition/black_fill.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use imageproc::integral_image::sum_image_pixels;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::read_link`
[INFO] [stderr]  --> src/recognition/engine.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fs::read_link;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DynamicImage`
[INFO] [stderr]  --> src/recognition/engine.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use image::{DynamicImage, Rgb};
[INFO] [stderr]   |             ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `image_base64_wasm::to_base64`
[INFO] [stderr]  --> src/recognition/engine.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use image_base64_wasm::to_base64;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ProcessedImagesAndModelPoints`
[INFO] [stderr]   --> src/recognition/barcode.rs:10:52
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::{models::{engine_rec::{ProcessedImages, ProcessedImagesAndModelPoints}, rec_result::Value}, recognition::engine::Engine};
[INFO] [stderr]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Rgb`
[INFO] [stderr]   --> src/models/mod.rs:20:47
[INFO] [stderr]    |
[INFO] [stderr] 20 |     use image::{GrayImage, ImageBuffer, Luma, Rgb, RgbImage};
[INFO] [stderr]    |                                               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Ok` and `Result`
[INFO] [stderr]   --> src/my_utils/image.rs:14:14
[INFO] [stderr]    |
[INFO] [stderr] 14 | use anyhow::{Result,Ok};
[INFO] [stderr]    |              ^^^^^^ ^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/recognition/baizheng.rs:58:13
[INFO] [stderr]    |
[INFO] [stderr] 58 |         for mut img in imgs.iter_mut(){
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/recognition/baizheng.rs:107:17
[INFO] [stderr]     |
[INFO] [stderr] 107 |             let mut image_status = ImageStatus {
[INFO] [stderr]     |                 ----^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `img`
[INFO] [stderr]   --> src/recognition/black_fill.rs:11:30
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value>{
[INFO] [stderr]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]   --> src/recognition/black_fill.rs:11:53
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn rec_black_fill(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value>{
[INFO] [stderr]    |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `img`
[INFO] [stderr]   --> src/recognition/numbers.rs:10:26
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]   --> src/recognition/numbers.rs:10:49
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn rec_number(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]    |                                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `img`
[INFO] [stderr]  --> src/recognition/vx.rs:9:22
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]   |                      ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]  --> src/recognition/vx.rs:9:45
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn rec_vx(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]   |                                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `img`
[INFO] [stderr]   --> src/recognition/barcode.rs:42:27
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_img`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coordinate`
[INFO] [stderr]   --> src/recognition/barcode.rs:42:50
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn rec_barcode(&self, img: &ProcessedImages, coordinate: &Coordinate) -> Option<Value> {
[INFO] [stderr]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lib.rs:48:17
[INFO] [stderr]    |
[INFO] [stderr] 48 |             let mut rendering = trans_base64_to_image(&page.image_rendering.expect("image_rendering is None"));
[INFO] [stderr]    |                 ----^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode_barcode` is never used
[INFO] [stderr]   --> src/recognition/barcode.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn decode_barcode(img: &DynamicImage, coor: Coordinate) -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:132:22
[INFO] [stderr]     |
[INFO] [stderr] 132 |         let engine = ENGINE.as_ref().expect("Engine not initialized");
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/lib.rs:50:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |             rendering.to_rgb8().save(out_img_path);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 50 |             let _ = rendering.to_rgb8().save(out_img_path);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/lib.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |             img.to_rgb8().save(out_img_path);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 56 |             let _ = img.to_rgb8().save(out_img_path);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `card_recognize` (lib test) generated 24 warnings (run `cargo fix --lib -p card_recognize --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [optimized] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/card_recognize-14c4f0c679d2654e)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::test_demo ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_demo stdout ----
[INFO] [stdout] 0.3875817
[INFO] [stdout] 0.4117647
[INFO] [stdout] 0.4117647
[INFO] [stdout] 0.11633986
[INFO] [stdout] 0.08823529
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<std::io::error::Error>>::from
[INFO] [stdout]    1: card_recognize::tests::test_demo
[INFO] [stdout]    2: <card_recognize::tests::test_demo::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_demo
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.73s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "3b0d50de45566f32074cd2f466f6650dd6a5ce59c518cf7c3e2945078e2bf80e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b0d50de45566f32074cd2f466f6650dd6a5ce59c518cf7c3e2945078e2bf80e", kill_on_drop: false }`
[INFO] [stdout] 3b0d50de45566f32074cd2f466f6650dd6a5ce59c518cf7c3e2945078e2bf80e
