[INFO] fetching crate rxing 0.6.1... [INFO] checking rxing-0.6.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rxing 0.6.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rxing 0.6.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rxing 0.6.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rxing 0.6.1 [INFO] tweaked toml for crates.io crate rxing 0.6.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 235 packages to latest compatible versions [INFO] [stderr] Adding aligned-vec v0.5.0 (available: v0.6.1) [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-expr v0.15.8 (available: v0.17.0) [INFO] [stderr] Adding chrono-tz v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding imagesize v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding nalgebra v0.32.6 (available: v0.33.0) [INFO] [stderr] Adding resvg v0.42.0 (available: v0.43.0) [INFO] [stderr] Adding simba v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strict-num v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding system-deps v6.2.2 (available: v7.0.3) [INFO] [stderr] Adding usvg v0.42.0 (available: v0.43.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 200af4fb7e8e95b5c35b7493772734c9c148daff0ae37e8e3f758903f3fa0b8e [INFO] running `Command { std: "docker" "start" "-a" "200af4fb7e8e95b5c35b7493772734c9c148daff0ae37e8e3f758903f3fa0b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "200af4fb7e8e95b5c35b7493772734c9c148daff0ae37e8e3f758903f3fa0b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200af4fb7e8e95b5c35b7493772734c9c148daff0ae37e8e3f758903f3fa0b8e", kill_on_drop: false }` [INFO] [stdout] 200af4fb7e8e95b5c35b7493772734c9c148daff0ae37e8e3f758903f3fa0b8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f23668c8dca930c992e8d1db71751214046bfa999223f771b6a67936eb6b2e [INFO] running `Command { std: "docker" "start" "-a" "33f23668c8dca930c992e8d1db71751214046bfa999223f771b6a67936eb6b2e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking bitstream-io v2.5.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Checking java-rand v0.2.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling rxing-one-d-proc-derive v0.5.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking java-properties v2.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking imageproc v0.25.0 [INFO] [stderr] Checking rxing v0.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rxing` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs [INFO] [stderr] * src/qrcode/decoder/version_build_versions_arrays.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | $version:expr_2021, { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:62 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:82 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:111 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:131 [INFO] [stderr] | [INFO] [stderr] 10 | ...21, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2021),+ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | $version:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | {$($alignment_pattern:expr_2021),*}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:59 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | $version:expr, { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | $version:expr_2021, { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:79 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:108 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:128 [INFO] [stderr] | [INFO] [stderr] 36 | ...21, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2021),+} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($A:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr_2021, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr_2021, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:90 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr_2021, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:105 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr_2021, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:129 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr_2021),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | $version:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | $version:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | {$($alignment_pattern:expr),*}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | {$($alignment_pattern:expr_2021),*}, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr_2021, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr_2021, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:87 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr_2021, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:102 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr_2021, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:126 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr_2021),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | ($A:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($A:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/eci_string_builder.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(found_encoding) = string_utils::guessCharset(bytes, &HashMap::default()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/eci_string_builder.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match string_utils::guessCharset(bytes, &HashMap::default()) { Some(found_encoding) => { [INFO] [stdout] 224 | if let Ok(found_encoded_str) = found_encoding.decode(bytes) { [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(edge) = edges[inputLength][j].clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 337 ~ match edges[inputLength][j].clone() { Some(edge) => { [INFO] [stdout] 338 | if (edge.cachedTotalSize as i32) < minimalSize { [INFO] [stdout] ... [INFO] [stdout] 341 | } [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | while let Some(c) = current { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match previous { Some(prev) => { [INFO] [stdout] 408 | let previousEncoderIndex = prev.encoderIndex; [INFO] [stdout] ... [INFO] [stdout] 423 | } [INFO] [stdout] 424 ~ } _ => { [INFO] [stdout] 425 | let previousEncoderIndex = 0; [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/detector/finder_pattern_finder.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | if let Some(rpc) = self.resultPointCallback.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/detector/finder_pattern_finder.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 607 ~ match self.resultPointCallback.clone() { Some(rpc) => { [INFO] [stdout] 608 | rpc((&point).into()); [INFO] [stdout] 609 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(edge) = &edges[inputLength][j][k] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match &edges[inputLength][j][k] { Some(edge) => { [INFO] [stdout] 580 | if edge.cachedTotalSize < minimalSize { [INFO] [stdout] ... [INFO] [stdout] 584 | } [INFO] [stdout] 585 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:715:15 [INFO] [stdout] | [INFO] [stdout] 715 | while let Some(loop_current) = ¤t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl regression_line_trait::RegressionLineTrait` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/detector.rs:337:71 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/qrcode/cpp_port/detector.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 244 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 279 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 289 | } [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 306 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 307 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 317 | } [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResult.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(m) = RFC2445_DURATION.captures(durationString) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResult.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match RFC2445_DURATION.captures(durationString) { Some(m) => { [INFO] [stdout] 243 | let mut durationMS: i64 = 0; [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(durationMS) [INFO] [stdout] 257 ~ } _ => { [INFO] [stdout] 258 | Ok(-1) [INFO] [stdout] 259 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(captures) = GEO_URL.captures(&rawText.to_lowercase()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match GEO_URL.captures(&rawText.to_lowercase()) { Some(captures) => { [INFO] [stdout] 47 | let query = if let Some(q) = captures.get(4) { [INFO] [stdout] ... [INFO] [stdout] 106 | ))) [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | None [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let query = if let Some(q) = captures.get(4) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ let query = match captures.get(4) { Some(q) => { [INFO] [stdout] 48 | q.as_str() [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | "" [INFO] [stdout] 51 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let altitude = if let Some(al) = captures.get(3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ let altitude = match captures.get(3) { Some(al) => { [INFO] [stdout] 90 | if let Ok(alf64) = al.as_str().parse::() { [INFO] [stdout] ... [INFO] [stdout] 97 | } [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | 0.0 [INFO] [stdout] 100~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(res) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match result { Some(res) => { [INFO] [stdout] 122 | return res; [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(res) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match result { Some(res) => { [INFO] [stdout] 162 | return res; [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | let is_a_match = if let Some(mtch) = DIGITS.find(&sub_seq) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 261 ~ let is_a_match = match DIGITS.find(&sub_seq) { Some(mtch) => { [INFO] [stdout] 262 | mtch.start() == 0 && mtch.end() == sub_seq.chars().count() [INFO] [stdout] 263 ~ } _ => { [INFO] [stdout] 264 | false [INFO] [stdout] 265 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let allowed = if let Some(fnd) = ALLOWED_URI_CHARS.find(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ let allowed = match ALLOWED_URI_CHARS.find(uri) { Some(fnd) => { [INFO] [stdout] 84 | fnd.start() == 0 && fnd.end() == uri.len() [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | false [INFO] [stdout] 87 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(found) = URL_WITHOUT_PROTOCOL_PATTERN.find(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match URL_WITHOUT_PROTOCOL_PATTERN.find(uri) { Some(found) => { [INFO] [stdout] 108 | found.start() == 0 [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | false [INFO] [stdout] 111 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/VCardResultParser.rs:507:22 [INFO] [stdout] | [INFO] [stdout] 507 | let matches = if let Some(mtch) = VCARD_LIKE_DATE.find(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/VCardResultParser.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ let matches = match VCARD_LIKE_DATE.find(value) { Some(mtch) => { [INFO] [stdout] 508 | mtch.start() == 0 && mtch.end() == value.len() [INFO] [stdout] 509 ~ } _ => { [INFO] [stdout] 510 | false [INFO] [stdout] 511 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(edge) = &edges[inputLength][j] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 616 ~ match &edges[inputLength][j] { Some(edge) => { [INFO] [stdout] 617 | // if edges[inputLength][j].is_some() { [INFO] [stdout] ... [INFO] [stdout] 628 | } [INFO] [stdout] 629 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:670:27 [INFO] [stdout] | [INFO] [stdout] 670 | let mut size = if let Some(previous) = previous.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ let mut size = match previous.clone() { Some(previous) => { [INFO] [stdout] 671 | previous.cachedTotalSize [INFO] [stdout] 672 ~ } _ => { [INFO] [stdout] 673 | 0 [INFO] [stdout] 674 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 794 ~ match previous { Some(prev) => { [INFO] [stdout] 795 | prev.mode [INFO] [stdout] 796 ~ } _ => { [INFO] [stdout] 797 | Mode::Ascii [INFO] [stdout] 798 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 803 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 803 ~ match previous { Some(prev) => { [INFO] [stdout] 804 | prev.getEndMode() [INFO] [stdout] 805 ~ } _ => { [INFO] [stdout] 806 | Ok(Mode::Ascii) [INFO] [stdout] 807 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1274:27 [INFO] [stdout] | [INFO] [stdout] 1274 | let solution = if let Some(edge) = solution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1274 ~ let solution = match solution { Some(edge) => { [INFO] [stdout] 1275 | edge [INFO] [stdout] 1276 ~ } _ => { [INFO] [stdout] 1277 | return Err(Exceptions::ILLEGAL_ARGUMENT); [INFO] [stdout] 1278 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1290:15 [INFO] [stdout] | [INFO] [stdout] 1290 | while let Some(current) = hold_current { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1314:9 [INFO] [stdout] | [INFO] [stdout] 1314 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | decoderRXingResult = if let Ok(fnd) = || -> Result { [INFO] [stdout] | _____________________________________^ - [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] 180 | || let detectorRXingResult = [INFO] [stdout] 181 | || zxing_cpp_detector::detect(image.get_black_matrix(), try_harder, true)?; [INFO] [stdout] 182 | || for symbol in detectorRXingResult { [INFO] [stdout] ... || [INFO] [stdout] 191 | || Err(Exceptions::NOT_FOUND) [INFO] [stdout] 192 | || }() { [INFO] [stdout] | ||_______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } else if try_harder { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ decoderRXingResult = match || -> Result { [INFO] [stdout] 180 | let detectorRXingResult = [INFO] [stdout] ... [INFO] [stdout] 191 | Err(Exceptions::NOT_FOUND) [INFO] [stdout] 192 ~ }() { Ok(fnd) => { [INFO] [stdout] 193 | fnd [INFO] [stdout] 194 ~ } _ => if try_harder { [INFO] [stdout] 195 | if let Ok(fnd) = || -> Result { [INFO] [stdout] ... [INFO] [stdout] 207 | return Err(Exceptions::NOT_FOUND); [INFO] [stdout] 208 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | if let Ok(fnd) = || -> Result { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 196 | || let detectorRXingResult = Detector::new(image.get_black_matrix())?.detect()?; [INFO] [stdout] 197 | || let decoded = DECODER.decode(detectorRXingResult.getBits())?; [INFO] [stdout] 198 | || points = detectorRXingResult.getPoints().to_vec(); [INFO] [stdout] 199 | || Ok(decoded) [INFO] [stdout] 200 | || }() { [INFO] [stdout] | ||___________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match || -> Result { [INFO] [stdout] 196 | let detectorRXingResult = Detector::new(image.get_black_matrix())?.detect()?; [INFO] [stdout] ... [INFO] [stdout] 199 | Ok(decoded) [INFO] [stdout] 200 ~ }() { Ok(fnd) => { [INFO] [stdout] 201 | fnd [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | let bits = self.extractPureBits(image.get_black_matrix())?; [INFO] [stdout] 204 | DECODER.decode(&bits)? [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(dcr) = other.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ match other.downcast_ref::() { Some(dcr) => { [INFO] [stdout] 236 | result.putMetadata( [INFO] [stdout] ... [INFO] [stdout] 239 | ); [INFO] [stdout] 240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi/qrcode/detector/multi_detector.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Ok(potential) = self.0.processFinderPatternInfo(info) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi/qrcode/detector/multi_detector.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match self.0.processFinderPatternInfo(info) { Ok(potential) => { [INFO] [stdout] 59 | result.push(potential); [INFO] [stdout] 60 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi/qrcode/qr_code_multi_reader.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(oth) = other.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi/qrcode/qr_code_multi_reader.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ match other.downcast_ref::() { Some(oth) => { [INFO] [stdout] 67 | oth.applyMirroredCorrection(&mut points); [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if let Ok(possible_result) = Self::constructRXingResult(&decoded_two_pairs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match Self::constructRXingResult(&decoded_two_pairs) { Ok(possible_result) => { [INFO] [stdout] 166 | return Ok(possible_result); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | if let Ok(res) = self._do_decode(image, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match self._do_decode(image, hints) { Ok(res) => { [INFO] [stdout] 187 | Ok(res) [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | let tryHarder = matches!( [INFO] [stdout] ... [INFO] [stdout] 228 | } [INFO] [stdout] 229 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/rss_14_reader.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | if let Ok(res) = self._do_decode(image, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/rss_14_reader.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match self._do_decode(image, hints) { Ok(res) => { [INFO] [stdout] 86 | Ok(res) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | let tryHarder = matches!( [INFO] [stdout] ... [INFO] [stdout] 126| } [INFO] [stdout] 127~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(res) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 66 | | MultiFormatUPCEANReader::new(internal_hints).decode_row(row_number, row, hints) [INFO] [stdout] | |_____________________------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match MultiFormatUPCEANReader::new(internal_hints).decode_row(row_number, row, hints) [INFO] [stdout] 66 ~ { Ok(res) => { [INFO] [stdout] 67 | return Ok(res); [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(res) = Code39Reader::with_use_check_digit(*use_code_39_check_digit) [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 73 | || .decode_row(row_number, row, hints) [INFO] [stdout] | ||_______________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match Code39Reader::with_use_check_digit(*use_code_39_check_digit) [INFO] [stdout] 73 | .decode_row(row_number, row, hints) [INFO] [stdout] 74 ~ { Ok(res) => { [INFO] [stdout] 75 | return Ok(res); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Ok(res) = Code93Reader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match Code93Reader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 80 | return Ok(res); [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(res) = Code128Reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match Code128Reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 85 | return Ok(res); [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(res) = ITFReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match ITFReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 90 | return Ok(res); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if let Ok(res) = CodaBarReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match CodaBarReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 95 | return Ok(res); [INFO] [stdout] 96 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let Ok(res) = rss_14_reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ match rss_14_reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 100 | return Ok(res); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(res) = rss_expanded_reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match rss_expanded_reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 105 | return Ok(res); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(res) = TelepenReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match TelepenReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 110 | return Ok(res); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Ok(res) = TelepenReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match TelepenReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 143 | return Ok(res); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/upc_ean_extension_support.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(res_1) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 42 | || .fiveSupport [INFO] [stdout] 43 | || .decodeRow(rowNumber, row, &extensionStartRange) [INFO] [stdout] | ||____________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/upc_ean_extension_support.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match self [INFO] [stdout] 42 | .fiveSupport [INFO] [stdout] 43 | .decodeRow(rowNumber, row, &extensionStartRange) [INFO] [stdout] 44 ~ { Ok(res_1) => { [INFO] [stdout] 45 | Ok(res_1) [INFO] [stdout] 46 ~ } _ => { [INFO] [stdout] 47 | self.twoSupport [INFO] [stdout] 48 | .decodeRow(rowNumber, row, &Self::EXTENSION_START_PATTERN) [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 58 | || &EAN13Reader, [INFO] [stdout] 59 | || rowNumber, [INFO] [stdout] 60 | || row, [INFO] [stdout] 61 | || hints, [INFO] [stdout] 62 | || &start_guard_pattern, [INFO] [stdout] 63 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ match self.try_decode_function( [INFO] [stdout] 58 | &EAN13Reader, [INFO] [stdout] ... [INFO] [stdout] 62 | &start_guard_pattern, [INFO] [stdout] 63 ~ ) { Ok(res) => { [INFO] [stdout] 64 | return Ok(res); [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 68 | || &UPCAReader::default(), [INFO] [stdout] 69 | || rowNumber, [INFO] [stdout] 70 | || row, [INFO] [stdout] 71 | || hints, [INFO] [stdout] 72 | || &start_guard_pattern, [INFO] [stdout] 73 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match self.try_decode_function( [INFO] [stdout] 68 | &UPCAReader::default(), [INFO] [stdout] ... [INFO] [stdout] 72 | &start_guard_pattern, [INFO] [stdout] 73 ~ ) { Ok(res) => { [INFO] [stdout] 74 | return Ok(res); [INFO] [stdout] 75 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 79 | || &EAN8Reader, [INFO] [stdout] 80 | || rowNumber, [INFO] [stdout] 81 | || row, [INFO] [stdout] 82 | || hints, [INFO] [stdout] 83 | || &start_guard_pattern, [INFO] [stdout] 84 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match self.try_decode_function( [INFO] [stdout] 79 | &EAN8Reader, [INFO] [stdout] ... [INFO] [stdout] 83 | &start_guard_pattern, [INFO] [stdout] 84 ~ ) { Ok(res) => { [INFO] [stdout] 85 | return Ok(res); [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 90 | || &UPCEReader, [INFO] [stdout] 91 | || rowNumber, [INFO] [stdout] 92 | || row, [INFO] [stdout] 93 | || hints, [INFO] [stdout] 94 | || &start_guard_pattern, [INFO] [stdout] 95 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match self.try_decode_function( [INFO] [stdout] 90 | &UPCEReader, [INFO] [stdout] ... [INFO] [stdout] 94 | &start_guard_pattern, [INFO] [stdout] 95 ~ ) { Ok(res) => { [INFO] [stdout] 96 | return Ok(res); [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | if let Ok(res) = [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | self.try_decode_function(&UPCEReader, rowNumber, row, hints, &start_guard_pattern) [INFO] [stdout] | |_________________---------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.try_decode_function(&UPCEReader, rowNumber, row, hints, &start_guard_pattern) [INFO] [stdout] 111 ~ { Ok(res) => { [INFO] [stdout] 112 | return Ok(res); [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(col) = self.detectionRXingResultColumns[pos].as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.detectionRXingResultColumns[pos].as_mut() { Some(col) => { [INFO] [stdout] 76 | // if self.detectionRXingResultColumns[pos].is_some() { [INFO] [stdout] ... [INFO] [stdout] 82 | .adjustCompleteIndicatorColumnRowNumbers(&self.barcodeMetadata); [INFO] [stdout] 83 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(cw_row) = self.detectionRXingResultColumns[barcodeColumn] [INFO] [stdout] | ^ ----------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 109 | | .as_ref() [INFO] [stdout] 110 | | .unwrap() [INFO] [stdout] 111 | | .getCodewords()[codewordsRow] [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match self.detectionRXingResultColumns[barcodeColumn] [INFO] [stdout] 109 | .as_ref() [INFO] [stdout] 110 | .unwrap() [INFO] [stdout] 111 | .getCodewords()[codewordsRow] [INFO] [stdout] 112 ~ { Some(cw_row) => { [INFO] [stdout] 113 | if !cw_row.hasValidRowNumber() { [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] 120 ~ } _ => { [INFO] [stdout] 121 | continue; [INFO] [stdout] 122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(detectionRXingResultColumn) = detectionRXingResultColumn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 615 ~ match detectionRXingResultColumn { Some(detectionRXingResultColumn) => { [INFO] [stdout] 616 | Some(Box::new(detectionRXingResultColumn)) [INFO] [stdout] 617 ~ } _ => { [INFO] [stdout] 618 | None [INFO] [stdout] 619 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl detection_result_row_indicator_column::DetectionRXingResultRowIndicatorColumn + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/pdf417/decoder/pdf_417_scanning_decoder.rs:365:6 [INFO] [stdout] | [INFO] [stdout] 365 | ) -> impl DetectionRXingResultRowIndicatorColumn + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/pdf417/decoder/pdf_417_scanning_decoder.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | image: &BitMatrix, [INFO] [stdout] | ^ [INFO] [stdout] 360 | boundingBox: &BoundingBox, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 365 | ) -> impl DetectionRXingResultRowIndicatorColumn + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 201 | return Ok(res); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 235 | return Ok(res); [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 241 | return Ok(res); [INFO] [stdout] 242 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 268 | return Ok(res); [INFO] [stdout] 269 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 166 | return Ok(res); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 203 | return Ok(res); [INFO] [stdout] 204 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 208 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 209 | return Ok(res); [INFO] [stdout] 210 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 238 | return Ok(res); [INFO] [stdout] 239 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/filtered_image_reader.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(mut res) = self.0.decode_with_hints(&mut b, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/filtered_image_reader.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match self.0.decode_with_hints(&mut b, hints) { Ok(mut res) => { [INFO] [stdout] 53 | res.putMetadata( [INFO] [stdout] ... [INFO] [stdout] 62 | return Ok(res); [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | continue; [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/ean_13_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rxing` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs [INFO] [stderr] * src/multi/multi_test_case.rs [INFO] [stderr] * src/multi/qrcode/qr_code_multi_reader.rs [INFO] [stderr] * src/qrcode/QRCodeWriterTestCase.rs [INFO] [stderr] * src/qrcode/decoder/version_build_versions_arrays.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | $version:expr_2021, { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:62 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:82 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:111 [INFO] [stderr] | [INFO] [stderr] 10 | ... $($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_20... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:131 [INFO] [stderr] | [INFO] [stderr] 10 | ...21, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2021),+ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | $version:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | {$($alignment_pattern:expr_2021),*}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:59 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:79 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:108 [INFO] [stderr] | [INFO] [stderr] 36 | ... {$($ec_codewords_per_block:expr_2021, $count_1:expr_2021, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:128 [INFO] [stderr] | [INFO] [stderr] 36 | ...21, $data_codewords_1:expr_2021, $count_2:expr_2021, $data_codewords_2:expr_2021),+} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($A:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/qrcode/QRCodeWriterTestCase.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | image::io::Reader::open(file) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/multi/qrcode/qr_code_multi_reader.rs:248:32 [INFO] [stderr] | [INFO] [stderr] 248 | let image = image::io::Reader::open(testBase) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/multi/multi_test_case.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | let image = image::io::Reader::open(testBase) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/multi/multi_test_case.rs:65:28 [INFO] [stderr] | [INFO] [stderr] 65 | let image = image::io::Reader::open(testBase) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/common/StringUtilsTestCase.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | bytes.fill_with(|| r.gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | $version:expr, { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | $version:expr_2021, { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr_2021, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr_2021, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:90 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr_2021, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:105 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr_2021, $data_codewords_2:expr),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:10:129 [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | $($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr_2021),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | $version:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | $version:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | {$($alignment_pattern:expr),*}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | {$($alignment_pattern:expr_2021),*}, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr_2021, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr_2021, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:87 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr_2021, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:102 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr_2021, $data_codewords_2:expr),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/qrcode/decoder/version_build_versions_arrays.rs:36:126 [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr),+} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | {$($ec_codewords_per_block:expr, $count_1:expr, $data_codewords_1:expr, $count_2:expr, $data_codewords_2:expr_2021),+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/datamatrix/detector/zxing_cpp_detector/cpp_new_detector.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | ($A:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($A:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/qrcode/QRCodeWriterTestCase.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | image::io::Reader::open(file) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/multi/qrcode/qr_code_multi_reader.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | let image = image::io::Reader::open(testBase) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/multi/multi_test_case.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let image = image::io::Reader::open(testBase) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/multi/multi_test_case.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let image = image::io::Reader::open(testBase) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/eci_string_builder.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(found_encoding) = string_utils::guessCharset(bytes, &HashMap::default()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/eci_string_builder.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match string_utils::guessCharset(bytes, &HashMap::default()) { Some(found_encoding) => { [INFO] [stdout] 224 | if let Ok(found_encoded_str) = found_encoding.decode(bytes) { [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(edge) = edges[inputLength][j].clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 337 ~ match edges[inputLength][j].clone() { Some(edge) => { [INFO] [stdout] 338 | if (edge.cachedTotalSize as i32) < minimalSize { [INFO] [stdout] ... [INFO] [stdout] 341 | } [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | while let Some(c) = current { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/common/minimal_eci_input.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match previous { Some(prev) => { [INFO] [stdout] 408 | let previousEncoderIndex = prev.encoderIndex; [INFO] [stdout] ... [INFO] [stdout] 423 | } [INFO] [stdout] 424 ~ } _ => { [INFO] [stdout] 425 | let previousEncoderIndex = 0; [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/detector/finder_pattern_finder.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | if let Some(rpc) = self.resultPointCallback.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/detector/finder_pattern_finder.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 607 ~ match self.resultPointCallback.clone() { Some(rpc) => { [INFO] [stdout] 608 | rpc((&point).into()); [INFO] [stdout] 609 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(edge) = &edges[inputLength][j][k] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match &edges[inputLength][j][k] { Some(edge) => { [INFO] [stdout] 580 | if edge.cachedTotalSize < minimalSize { [INFO] [stdout] ... [INFO] [stdout] 584 | } [INFO] [stdout] 585 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:715:15 [INFO] [stdout] | [INFO] [stdout] 715 | while let Some(loop_current) = ¤t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/encoder/minimal_encoder.rs:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl regression_line_trait::RegressionLineTrait` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/detector.rs:337:71 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/qrcode/cpp_port/detector.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 337 | pub fn TraceLine(image: &BitMatrix, p: Point, d: Point, edge: i32) -> impl RegressionLineTrait + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 244 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 279 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 289 | } [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | if let Ok(decoderResult) = decoderResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/qrcode/cpp_port/qr_cpp_reader.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 306 ~ match decoderResult { Ok(decoderResult) => { [INFO] [stdout] 307 | if decoderResult.isValid() { [INFO] [stdout] ... [INFO] [stdout] 317 | } [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResult.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(m) = RFC2445_DURATION.captures(durationString) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResult.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match RFC2445_DURATION.captures(durationString) { Some(m) => { [INFO] [stdout] 243 | let mut durationMS: i64 = 0; [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(durationMS) [INFO] [stdout] 257 ~ } _ => { [INFO] [stdout] 258 | Ok(-1) [INFO] [stdout] 259 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(captures) = GEO_URL.captures(&rawText.to_lowercase()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match GEO_URL.captures(&rawText.to_lowercase()) { Some(captures) => { [INFO] [stdout] 47 | let query = if let Some(q) = captures.get(4) { [INFO] [stdout] ... [INFO] [stdout] 106 | ))) [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | None [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let query = if let Some(q) = captures.get(4) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ let query = match captures.get(4) { Some(q) => { [INFO] [stdout] 48 | q.as_str() [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | "" [INFO] [stdout] 51 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let altitude = if let Some(al) = captures.get(3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoResultParser.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ let altitude = match captures.get(3) { Some(al) => { [INFO] [stdout] 90 | if let Ok(alf64) = al.as_str().parse::() { [INFO] [stdout] ... [INFO] [stdout] 97 | } [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | 0.0 [INFO] [stdout] 100~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(res) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match result { Some(res) => { [INFO] [stdout] 122 | return res; [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(res) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match result { Some(res) => { [INFO] [stdout] 162 | return res; [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | let is_a_match = if let Some(mtch) = DIGITS.find(&sub_seq) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 261 ~ let is_a_match = match DIGITS.find(&sub_seq) { Some(mtch) => { [INFO] [stdout] 262 | mtch.start() == 0 && mtch.end() == sub_seq.chars().count() [INFO] [stdout] 263 ~ } _ => { [INFO] [stdout] 264 | false [INFO] [stdout] 265 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 474 | if let ParsedClientResult::Other(opr) = p_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 474 ~ match p_res { ParsedClientResult::Other(opr) => { [INFO] [stdout] 475 | if let Some(d) = opr.get_data().downcast_ref::>() { [INFO] [stdout] ... [INFO] [stdout] 479 | } [INFO] [stdout] 480 ~ } _ => { [INFO] [stdout] 481 | panic!("did not get ParsedClientResult::Other"); [INFO] [stdout] 482 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(d) = opr.get_data().downcast_ref::>() { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ResultParser.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 475 ~ match opr.get_data().downcast_ref::>() { Some(d) => { [INFO] [stdout] 476 | assert_eq!(d, result.getRawBytes()); [INFO] [stdout] 477 ~ } _ => { [INFO] [stdout] 478 | panic!("did not get vec"); [INFO] [stdout] 479 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let allowed = if let Some(fnd) = ALLOWED_URI_CHARS.find(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ let allowed = match ALLOWED_URI_CHARS.find(uri) { Some(fnd) => { [INFO] [stdout] 84 | fnd.start() == 0 && fnd.end() == uri.len() [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | false [INFO] [stdout] 87 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(found) = URL_WITHOUT_PROTOCOL_PATTERN.find(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/URIResultParser.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ match URL_WITHOUT_PROTOCOL_PATTERN.find(uri) { Some(found) => { [INFO] [stdout] 108 | found.start() == 0 [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | false [INFO] [stdout] 111 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/VCardResultParser.rs:507:22 [INFO] [stdout] | [INFO] [stdout] 507 | let matches = if let Some(mtch) = VCARD_LIKE_DATE.find(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/VCardResultParser.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ let matches = match VCARD_LIKE_DATE.find(value) { Some(mtch) => { [INFO] [stdout] 508 | mtch.start() == 0 && mtch.end() == value.len() [INFO] [stdout] 509 ~ } _ => { [INFO] [stdout] 510 | false [INFO] [stdout] 511 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/AddressBookParsedResultTestCase.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | if let ParsedClientResult::AddressBookResult(addressRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/AddressBookParsedResultTestCase.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match result { ParsedClientResult::AddressBookResult(addressRXingResult) => { [INFO] [stdout] 357 | assert_eq!(title, addressRXingResult.getTitle()); [INFO] [stdout] ... [INFO] [stdout] 367 | assert_eq!(note, addressRXingResult.getNote()); [INFO] [stdout] 368 ~ } _ => { [INFO] [stdout] 369 | panic!("Expected address book result"); [INFO] [stdout] 370 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResultTestCase.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | if let ParsedClientResult::CalendarEventResult(calRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/CalendarParsedResultTestCase.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match result { ParsedClientResult::CalendarEventResult(calRXingResult) => { [INFO] [stdout] 218 | assert_eq!(description, calRXingResult.getDescription()); [INFO] [stdout] ... [INFO] [stdout] 238 | assertEqualOrNaN(longitude, calRXingResult.getLongitude()); [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | panic!("Expected Calendar"); [INFO] [stdout] 241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/EmailAddressParsedResultTestCase.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | if let ParsedClientResult::EmailResult(emailRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/EmailAddressParsedResultTestCase.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match result { ParsedClientResult::EmailResult(emailRXingResult) => { [INFO] [stdout] 163 | assert_eq!(tos, emailRXingResult.getTos()); [INFO] [stdout] ... [INFO] [stdout] 167 | assert_eq!(body, emailRXingResult.getBody()); [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | panic!("Expected EmailResult"); [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ExpandedProductParsedResultTestCase.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(res) = o { [INFO] [stdout] | ^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ExpandedProductParsedResultTestCase.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match o { Some(res) => { [INFO] [stdout] 51 | if let ParsedClientResult::ExpandedProductResult(epr_res) = res { [INFO] [stdout] ... [INFO] [stdout] 77 | } [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | panic!("Should have found a result"); [INFO] [stdout] 80 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ExpandedProductParsedResultTestCase.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let ParsedClientResult::ExpandedProductResult(epr_res) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ExpandedProductParsedResultTestCase.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match res { ParsedClientResult::ExpandedProductResult(epr_res) => { [INFO] [stdout] 52 | assert_eq!("66546", epr_res.getProductID()); [INFO] [stdout] ... [INFO] [stdout] 74 | // assert_eq!(&uncommonAIs, epr_res.getUncommonAIs()); [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | panic!("Should have gotten a expanded product"); [INFO] [stdout] 77 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/GeoParsedResultTestCase.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if let ParsedClientResult::GeoResult(geoRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/GeoParsedResultTestCase.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match result { ParsedClientResult::GeoResult(geoRXingResult) => { [INFO] [stdout] 84 | assert!(within_range( [INFO] [stdout] ... [INFO] [stdout] 107 | ); [INFO] [stdout] 108 ~ } _ => { [INFO] [stdout] 109 | panic!("Expected ParsedClientResult::GeoResult"); [INFO] [stdout] 110 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ISBNParsedResultTestCase.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if let ParsedClientResult::ISBNResult(res) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ISBNParsedResultTestCase.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match result { ParsedClientResult::ISBNResult(res) => { [INFO] [stdout] 47 | assert_eq!(contents, res.getISBN()); [INFO] [stdout] 48 ~ } _ => { [INFO] [stdout] 49 | panic!("expected ISBNResult") [INFO] [stdout] 50 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/ProductParsedResultTestCase.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | if let ParsedClientResult::ProductResult(product_rxing_result) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/ProductParsedResultTestCase.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match result { ParsedClientResult::ProductResult(product_rxing_result) => { [INFO] [stdout] 51 | assert_eq!(contents, product_rxing_result.getProductID()); [INFO] [stdout] 52 | assert_eq!(normalized, product_rxing_result.getNormalizedProductID()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("Expected ParsedClientResult::ProductResult") [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/SMSMMSParsedResultTestCase.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if let ParsedClientResult::SMSResult(smsRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/SMSMMSParsedResultTestCase.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match result { ParsedClientResult::SMSResult(smsRXingResult) => { [INFO] [stdout] 84 | assert_eq!(&vec![number], smsRXingResult.getNumbers()); [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(parsedURI, smsRXingResult.getSMSURI()); [INFO] [stdout] 90 ~ } _ => { [INFO] [stdout] 91 | panic!("Expected ParsedClientResult::SMSResult"); [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/TelParsedResultTestCase.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if let ParsedClientResult::TelResult(telRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/TelParsedResultTestCase.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match result { ParsedClientResult::TelResult(telRXingResult) => { [INFO] [stdout] 50 | assert_eq!(number, telRXingResult.getNumber()); [INFO] [stdout] 51 | assert_eq!(title, telRXingResult.getTitle()); [INFO] [stdout] 52 | assert_eq!(format!("tel:{number}"), telRXingResult.getTelURI()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("wrong return type, expected TelResult"); [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/URIParsedResultTestCase.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | if let ParsedClientResult::URIResult(uriRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/URIParsedResultTestCase.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ match result { ParsedClientResult::URIResult(uriRXingResult) => { [INFO] [stdout] 140 | assert_eq!(uri, uriRXingResult.getURI()); [INFO] [stdout] 141 | assert_eq!(title, uriRXingResult.getTitle()); [INFO] [stdout] 142 ~ } _ => { [INFO] [stdout] 143 | panic!("Expected ParsedClientResult::URIResult(uriRXingResult)"); [INFO] [stdout] 144 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/VINParsedResultTestCase.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | if let ParsedClientResult::VINResult(vinRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/VINParsedResultTestCase.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 101 ~ match result { ParsedClientResult::VINResult(vinRXingResult) => { [INFO] [stdout] 102 | // let vinRXingResult = (VINParsedRXingResult) result; [INFO] [stdout] ... [INFO] [stdout] 110 | assert_eq!(sequential, vinRXingResult.getSequentialNumber()); [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | panic!("Expected VINResult"); [INFO] [stdout] 113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/result/WifiParsedResultTestCase.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | if let ParsedClientResult::WiFiResult(wifiRXingResult) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client/result/WifiParsedResultTestCase.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match result { ParsedClientResult::WiFiResult(wifiRXingResult) => { [INFO] [stdout] 158 | assert_eq!(ssid, wifiRXingResult.getSsid()); [INFO] [stdout] 159 | assert_eq!(password, wifiRXingResult.getPassword()); [INFO] [stdout] 160 | assert_eq!(n_type, wifiRXingResult.getNetworkEncryption()); [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | panic!("Expected WIFI"); [INFO] [stdout] 163 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(edge) = &edges[inputLength][j] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 616 ~ match &edges[inputLength][j] { Some(edge) => { [INFO] [stdout] 617 | // if edges[inputLength][j].is_some() { [INFO] [stdout] ... [INFO] [stdout] 628 | } [INFO] [stdout] 629 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:670:27 [INFO] [stdout] | [INFO] [stdout] 670 | let mut size = if let Some(previous) = previous.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ let mut size = match previous.clone() { Some(previous) => { [INFO] [stdout] 671 | previous.cachedTotalSize [INFO] [stdout] 672 ~ } _ => { [INFO] [stdout] 673 | 0 [INFO] [stdout] 674 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 794 ~ match previous { Some(prev) => { [INFO] [stdout] 795 | prev.mode [INFO] [stdout] 796 ~ } _ => { [INFO] [stdout] 797 | Mode::Ascii [INFO] [stdout] 798 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 803 | if let Some(prev) = previous { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 803 ~ match previous { Some(prev) => { [INFO] [stdout] 804 | prev.getEndMode() [INFO] [stdout] 805 ~ } _ => { [INFO] [stdout] 806 | Ok(Mode::Ascii) [INFO] [stdout] 807 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1274:27 [INFO] [stdout] | [INFO] [stdout] 1274 | let solution = if let Some(edge) = solution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1274 ~ let solution = match solution { Some(edge) => { [INFO] [stdout] 1275 | edge [INFO] [stdout] 1276 ~ } _ => { [INFO] [stdout] 1277 | return Err(Exceptions::ILLEGAL_ARGUMENT); [INFO] [stdout] 1278 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1290:15 [INFO] [stdout] | [INFO] [stdout] 1290 | while let Some(current) = hold_current { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/encoder/minimal_encoder.rs:1314:9 [INFO] [stdout] | [INFO] [stdout] 1314 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | decoderRXingResult = if let Ok(fnd) = || -> Result { [INFO] [stdout] | _____________________________________^ - [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] 180 | || let detectorRXingResult = [INFO] [stdout] 181 | || zxing_cpp_detector::detect(image.get_black_matrix(), try_harder, true)?; [INFO] [stdout] 182 | || for symbol in detectorRXingResult { [INFO] [stdout] ... || [INFO] [stdout] 191 | || Err(Exceptions::NOT_FOUND) [INFO] [stdout] 192 | || }() { [INFO] [stdout] | ||_______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } else if try_harder { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ decoderRXingResult = match || -> Result { [INFO] [stdout] 180 | let detectorRXingResult = [INFO] [stdout] ... [INFO] [stdout] 191 | Err(Exceptions::NOT_FOUND) [INFO] [stdout] 192 ~ }() { Ok(fnd) => { [INFO] [stdout] 193 | fnd [INFO] [stdout] 194 ~ } _ => if try_harder { [INFO] [stdout] 195 | if let Ok(fnd) = || -> Result { [INFO] [stdout] ... [INFO] [stdout] 207 | return Err(Exceptions::NOT_FOUND); [INFO] [stdout] 208 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | if let Ok(fnd) = || -> Result { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 196 | || let detectorRXingResult = Detector::new(image.get_black_matrix())?.detect()?; [INFO] [stdout] 197 | || let decoded = DECODER.decode(detectorRXingResult.getBits())?; [INFO] [stdout] 198 | || points = detectorRXingResult.getPoints().to_vec(); [INFO] [stdout] 199 | || Ok(decoded) [INFO] [stdout] 200 | || }() { [INFO] [stdout] | ||___________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 195 ~ match || -> Result { [INFO] [stdout] 196 | let detectorRXingResult = Detector::new(image.get_black_matrix())?.detect()?; [INFO] [stdout] ... [INFO] [stdout] 199 | Ok(decoded) [INFO] [stdout] 200 ~ }() { Ok(fnd) => { [INFO] [stdout] 201 | fnd [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | let bits = self.extractPureBits(image.get_black_matrix())?; [INFO] [stdout] 204 | DECODER.decode(&bits)? [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(dcr) = other.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/datamatrix/data_matrix_reader.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ match other.downcast_ref::() { Some(dcr) => { [INFO] [stdout] 236 | result.putMetadata( [INFO] [stdout] ... [INFO] [stdout] 239 | ); [INFO] [stdout] 240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi/qrcode/detector/multi_detector.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Ok(potential) = self.0.processFinderPatternInfo(info) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi/qrcode/detector/multi_detector.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match self.0.processFinderPatternInfo(info) { Ok(potential) => { [INFO] [stdout] 59 | result.push(potential); [INFO] [stdout] 60 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi/qrcode/qr_code_multi_reader.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(oth) = other.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi/qrcode/qr_code_multi_reader.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ match other.downcast_ref::() { Some(oth) => { [INFO] [stdout] 67 | oth.applyMirroredCorrection(&mut points); [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if let Ok(possible_result) = Self::constructRXingResult(&decoded_two_pairs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match Self::constructRXingResult(&decoded_two_pairs) { Ok(possible_result) => { [INFO] [stdout] 166 | return Ok(possible_result); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | if let Ok(res) = self._do_decode(image, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/expanded/rss_expanded_reader.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match self._do_decode(image, hints) { Ok(res) => { [INFO] [stdout] 187 | Ok(res) [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | let tryHarder = matches!( [INFO] [stdout] ... [INFO] [stdout] 228 | } [INFO] [stdout] 229 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/rss/rss_14_reader.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | if let Ok(res) = self._do_decode(image, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/rss/rss_14_reader.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match self._do_decode(image, hints) { Ok(res) => { [INFO] [stdout] 86 | Ok(res) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | let tryHarder = matches!( [INFO] [stdout] ... [INFO] [stdout] 126| } [INFO] [stdout] 127~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(res) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 66 | | MultiFormatUPCEANReader::new(internal_hints).decode_row(row_number, row, hints) [INFO] [stdout] | |_____________________------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match MultiFormatUPCEANReader::new(internal_hints).decode_row(row_number, row, hints) [INFO] [stdout] 66 ~ { Ok(res) => { [INFO] [stdout] 67 | return Ok(res); [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(res) = Code39Reader::with_use_check_digit(*use_code_39_check_digit) [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 73 | || .decode_row(row_number, row, hints) [INFO] [stdout] | ||_______________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match Code39Reader::with_use_check_digit(*use_code_39_check_digit) [INFO] [stdout] 73 | .decode_row(row_number, row, hints) [INFO] [stdout] 74 ~ { Ok(res) => { [INFO] [stdout] 75 | return Ok(res); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Ok(res) = Code93Reader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match Code93Reader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 80 | return Ok(res); [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(res) = Code128Reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match Code128Reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 85 | return Ok(res); [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(res) = ITFReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match ITFReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 90 | return Ok(res); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if let Ok(res) = CodaBarReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match CodaBarReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 95 | return Ok(res); [INFO] [stdout] 96 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let Ok(res) = rss_14_reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ match rss_14_reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 100 | return Ok(res); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(res) = rss_expanded_reader.decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match rss_expanded_reader.decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 105 | return Ok(res); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(res) = TelepenReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match TelepenReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 110 | return Ok(res); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Ok(res) = TelepenReader::default().decode_row(row_number, row, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_one_d_reader.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match TelepenReader::default().decode_row(row_number, row, hints) { Ok(res) => { [INFO] [stdout] 143 | return Ok(res); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/upc_ean_extension_support.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(res_1) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 42 | || .fiveSupport [INFO] [stdout] 43 | || .decodeRow(rowNumber, row, &extensionStartRange) [INFO] [stdout] | ||____________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/upc_ean_extension_support.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match self [INFO] [stdout] 42 | .fiveSupport [INFO] [stdout] 43 | .decodeRow(rowNumber, row, &extensionStartRange) [INFO] [stdout] 44 ~ { Ok(res_1) => { [INFO] [stdout] 45 | Ok(res_1) [INFO] [stdout] 46 ~ } _ => { [INFO] [stdout] 47 | self.twoSupport [INFO] [stdout] 48 | .decodeRow(rowNumber, row, &Self::EXTENSION_START_PATTERN) [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 58 | || &EAN13Reader, [INFO] [stdout] 59 | || rowNumber, [INFO] [stdout] 60 | || row, [INFO] [stdout] 61 | || hints, [INFO] [stdout] 62 | || &start_guard_pattern, [INFO] [stdout] 63 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ match self.try_decode_function( [INFO] [stdout] 58 | &EAN13Reader, [INFO] [stdout] ... [INFO] [stdout] 62 | &start_guard_pattern, [INFO] [stdout] 63 ~ ) { Ok(res) => { [INFO] [stdout] 64 | return Ok(res); [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 68 | || &UPCAReader::default(), [INFO] [stdout] 69 | || rowNumber, [INFO] [stdout] 70 | || row, [INFO] [stdout] 71 | || hints, [INFO] [stdout] 72 | || &start_guard_pattern, [INFO] [stdout] 73 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match self.try_decode_function( [INFO] [stdout] 68 | &UPCAReader::default(), [INFO] [stdout] ... [INFO] [stdout] 72 | &start_guard_pattern, [INFO] [stdout] 73 ~ ) { Ok(res) => { [INFO] [stdout] 74 | return Ok(res); [INFO] [stdout] 75 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 79 | || &EAN8Reader, [INFO] [stdout] 80 | || rowNumber, [INFO] [stdout] 81 | || row, [INFO] [stdout] 82 | || hints, [INFO] [stdout] 83 | || &start_guard_pattern, [INFO] [stdout] 84 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match self.try_decode_function( [INFO] [stdout] 79 | &EAN8Reader, [INFO] [stdout] ... [INFO] [stdout] 83 | &start_guard_pattern, [INFO] [stdout] 84 ~ ) { Ok(res) => { [INFO] [stdout] 85 | return Ok(res); [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(res) = self.try_decode_function( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 90 | || &UPCEReader, [INFO] [stdout] 91 | || rowNumber, [INFO] [stdout] 92 | || row, [INFO] [stdout] 93 | || hints, [INFO] [stdout] 94 | || &start_guard_pattern, [INFO] [stdout] 95 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match self.try_decode_function( [INFO] [stdout] 90 | &UPCEReader, [INFO] [stdout] ... [INFO] [stdout] 94 | &start_guard_pattern, [INFO] [stdout] 95 ~ ) { Ok(res) => { [INFO] [stdout] 96 | return Ok(res); [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | if let Ok(res) = [INFO] [stdout] | ________________^ [INFO] [stdout] 111 | | self.try_decode_function(&UPCEReader, rowNumber, row, hints, &start_guard_pattern) [INFO] [stdout] | |_________________---------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/oned/multi_format_upc_ean_reader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.try_decode_function(&UPCEReader, rowNumber, row, hints, &start_guard_pattern) [INFO] [stdout] 111 ~ { Ok(res) => { [INFO] [stdout] 112 | return Ok(res); [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(col) = self.detectionRXingResultColumns[pos].as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.detectionRXingResultColumns[pos].as_mut() { Some(col) => { [INFO] [stdout] 76 | // if self.detectionRXingResultColumns[pos].is_some() { [INFO] [stdout] ... [INFO] [stdout] 82 | .adjustCompleteIndicatorColumnRowNumbers(&self.barcodeMetadata); [INFO] [stdout] 83 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(cw_row) = self.detectionRXingResultColumns[barcodeColumn] [INFO] [stdout] | ^ ----------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 109 | | .as_ref() [INFO] [stdout] 110 | | .unwrap() [INFO] [stdout] 111 | | .getCodewords()[codewordsRow] [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match self.detectionRXingResultColumns[barcodeColumn] [INFO] [stdout] 109 | .as_ref() [INFO] [stdout] 110 | .unwrap() [INFO] [stdout] 111 | .getCodewords()[codewordsRow] [INFO] [stdout] 112 ~ { Some(cw_row) => { [INFO] [stdout] 113 | if !cw_row.hasValidRowNumber() { [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] 120 ~ } _ => { [INFO] [stdout] 121 | continue; [INFO] [stdout] 122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(detectionRXingResultColumn) = detectionRXingResultColumn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pdf417/decoder/detection_result.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 615 ~ match detectionRXingResultColumn { Some(detectionRXingResultColumn) => { [INFO] [stdout] 616 | Some(Box::new(detectionRXingResultColumn)) [INFO] [stdout] 617 ~ } _ => { [INFO] [stdout] 618 | None [INFO] [stdout] 619 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl detection_result_row_indicator_column::DetectionRXingResultRowIndicatorColumn + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/pdf417/decoder/pdf_417_scanning_decoder.rs:365:6 [INFO] [stdout] | [INFO] [stdout] 365 | ) -> impl DetectionRXingResultRowIndicatorColumn + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/pdf417/decoder/pdf_417_scanning_decoder.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | image: &BitMatrix, [INFO] [stdout] | ^ [INFO] [stdout] 360 | boundingBox: &BoundingBox, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 365 | ) -> impl DetectionRXingResultRowIndicatorColumn + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 201 | return Ok(res); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 235 | return Ok(res); [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 241 | return Ok(res); [INFO] [stdout] 242 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_use_multi_format_reader.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 268 | return Ok(res); [INFO] [stdout] 269 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 166 | return Ok(res); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 202 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 203 | return Ok(res); [INFO] [stdout] 204 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 208 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 209 | return Ok(res); [INFO] [stdout] 210 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Ok(res) = self.one_d_reader.decode_with_hints(image, &self.hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/multi_format_reader.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.one_d_reader.decode_with_hints(image, &self.hints) { Ok(res) => { [INFO] [stdout] 238 | return Ok(res); [INFO] [stdout] 239 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/filtered_image_reader.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(mut res) = self.0.decode_with_hints(&mut b, hints) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/filtered_image_reader.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match self.0.decode_with_hints(&mut b, hints) { Ok(mut res) => { [INFO] [stdout] 53 | res.putMetadata( [INFO] [stdout] ... [INFO] [stdout] 62 | return Ok(res); [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | continue; [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/common/multiimage_span.rs (4 fixes) [INFO] [stderr] Migrating tests/cropped_transposed_luma.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/common/abstract_black_box_test_case.rs (1 fix) [INFO] [stderr] Fixed tests/common/mod.rs (1 fix) [INFO] [stderr] Migrating tests/code_128_blackbox.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ean_8_black_box_1_testcase.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/code_93_blackbox_1_testcase.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/benchmarks.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/maxicode_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/pdf_417_black_box_4_testcase.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dx_film_edge.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `MultiImageSpanAbstractBlackBoxTestCase` in `common` [INFO] [stdout] --> tests/pdf_417_black_box_4_testcase.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `MultiImageSpanAbstractBlackBoxTestCase` in `common` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::common::multiimage_span::MultiImageSpanAbstractBlackBoxTestCase` exists but is inaccessible [INFO] [stdout] --> tests/common/multiimage_span.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct MultiImageSpanAbstractBlackBoxTestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abstract_black_box_test_case::*` [INFO] [stdout] --> tests/common/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use abstract_black_box_test_case::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rxing` (test "pdf_417_black_box_4_testcase") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `image, experimental_features` [INFO] [stdout] --> tests/dx_film_edge.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg(feature = "image, experimental_features")] [INFO] [stdout] | ^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"experimental_features"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `allow_forced_iso_ied_18004_compliance`, `client_support`, `default`, `experimental_features`, `image`, `image_formats`, `otsu_level`, `reverse_pyramid_layers`, `serde`, `svg_read`, `svg_write`, and `wasm_support` [INFO] [stdout] = help: consider adding `image, experimental_features` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/telepen_blackbox_1_test_case.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/itf_blackbox.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/code_39_blackbox_reader.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/upc_e_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/inverted_data_matrix_black_box_testcase.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/datamatrix_black_box_test_cases.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/pdf_417_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/rss_expanded_blackbox.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/rss_14_blackbox.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/qr_code_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cpp_qr_code_blackbox_tests.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `MultiImageSpanAbstractBlackBoxTestCase` in `common` [INFO] [stdout] --> tests/cpp_qr_code_blackbox_tests.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `MultiImageSpanAbstractBlackBoxTestCase` in `common` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::common::multiimage_span::MultiImageSpanAbstractBlackBoxTestCase` exists but is inaccessible [INFO] [stdout] --> tests/common/multiimage_span.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct MultiImageSpanAbstractBlackBoxTestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/upc_ean_extension_black_box_1_testcase.rs from 2021 edition to 2024 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rxing` (test "cpp_qr_code_blackbox_tests") due to 2 previous errors [INFO] [stderr] Migrating tests/github_issues.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/codabar_blackbox_1_test_case.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "33f23668c8dca930c992e8d1db71751214046bfa999223f771b6a67936eb6b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f23668c8dca930c992e8d1db71751214046bfa999223f771b6a67936eb6b2e", kill_on_drop: false }` [INFO] [stdout] 33f23668c8dca930c992e8d1db71751214046bfa999223f771b6a67936eb6b2e