[INFO] fetching crate quickraw 0.2.1-alpha.1... [INFO] checking quickraw-0.2.1-alpha.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate quickraw 0.2.1-alpha.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate quickraw 0.2.1-alpha.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 quickraw 0.2.1-alpha.1 [INFO] finished tweaking crates.io crate quickraw 0.2.1-alpha.1 [INFO] tweaked toml for crates.io crate quickraw 0.2.1-alpha.1 written to /workspace/builds/worker-5-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 41 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.2) [INFO] [stderr] Adding phf v0.10.1 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_macros v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b8e3b277eb722707919c3191ca3daf5e828b9039b2bc64419e0effa658ee42b1 [INFO] running `Command { std: "docker" "start" "-a" "b8e3b277eb722707919c3191ca3daf5e828b9039b2bc64419e0effa658ee42b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8e3b277eb722707919c3191ca3daf5e828b9039b2bc64419e0effa658ee42b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e3b277eb722707919c3191ca3daf5e828b9039b2bc64419e0effa658ee42b1", kill_on_drop: false }` [INFO] [stdout] b8e3b277eb722707919c3191ca3daf5e828b9039b2bc64419e0effa658ee42b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b1b1a16162f4d5df9e95fb8ad16e7e87af8c4f5f5930f1d0986902f16d57adc4 [INFO] running `Command { std: "docker" "start" "-a" "b1b1a16162f4d5df9e95fb8ad16e7e87af8c4f5f5930f1d0986902f16d57adc4", 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] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking quickexif v0.1.5 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling fn-util v0.1.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking quickraw v0.2.1-alpha.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 `quickraw` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/maker/adobe.rs [INFO] [stderr] * src/maker/decode_utility/bit_pump.rs [INFO] [stderr] * src/maker/decode_utility/byte_stream.rs [INFO] [stderr] * src/maker/decode_utility/ljpeg/mod.rs [INFO] [stderr] * src/maker/nikon.rs [INFO] [stderr] * src/maker/utility.rs [INFO] [stderr] * src/pass/demosaicing/linear.rs [INFO] [stderr] * src/pass/demosaicing/mod.rs [INFO] [stderr] * src/pass/mod.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/pass/demosaicing/linear.rs:306:10 [INFO] [stderr] | [INFO] [stderr] 306 | ($i: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/pass/demosaicing/linear.rs:464:10 [INFO] [stderr] | [INFO] [stderr] 464 | ($i: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/pass/demosaicing/mod.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | ($name:ident, $fn: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/pass/mod.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | [@acc($($x:tt)*) [$target:expr_2021] { $($rules:tt)* } $($body:tt)*] => { [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/pass/mod.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $... [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/pass/mod.rs:43:49 [INFO] [stderr] | [INFO] [stderr] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*)] => { [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/maker/utility.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | ($t:tt, $len: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/maker/utility.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | ($t:ty, $n: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/maker/adobe.rs:215:14 [INFO] [stderr] | [INFO] [stderr] 215 | ($iter: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/maker/nikon.rs:146:14 [INFO] [stderr] | [INFO] [stderr] 146 | ($iter: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: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stderr] | [INFO] [stderr] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stderr] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stderr] | [INFO] [stderr] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stderr] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stderr] | [INFO] [stderr] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 169 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 173 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/demosaicing/linear.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | ($i: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] 306 | ($i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/demosaicing/linear.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | ($i: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] 464 | ($i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/demosaicing/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | ($name:ident, $fn: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] 12 | ($name:ident, $fn:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | [@acc($($x:tt)*) [$target:expr] { $($rules:tt)* } $($body:tt)*] => { [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] 16 | [@acc($($x:tt)*) [$target:expr_2021] { $($rules:tt)* } $($body:tt)*] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/mod.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $($rul... [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] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $($rules:tt)* ] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/mod.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr) @match_acc($($r:tt)*)] => { [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] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*)] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/utility.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($t:tt, $len: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] 17 | ($t:tt, $len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | ($t:ty, $n: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] 58 | ($t:ty, $n:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/adobe.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | ($iter: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] 215 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 12 | impl<'a> ByteStream<'a> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ByteStream<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/nikon.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | ($iter: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] 146 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] warning: function `color_convert_rgba` is never used [INFO] [stdout] --> src/pass/color.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn color_convert_rgba<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: function `elinear_rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | gen_linear!(elinear_rggb, enhanced_linear::rggb); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: function `elinear_bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | gen_linear!(elinear_bggr, enhanced_linear::bggr); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: function `elinear_grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | gen_linear!(elinear_grbg, enhanced_linear::grbg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stdout] warning: function `elinear_gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | gen_linear!(elinear_gbrg, enhanced_linear::gbrg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: function `get_window` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_window(image: &[u16], i: usize, w: usize) -> [i32; 9] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn clamp(x: i32) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: constant `DIFF_ALPHA` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DIFF_ALPHA: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: function `calc_pixel_at_rb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calc_pixel_at_rb(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 141 | ) -> Result { [INFO] [stdout] warning: function `calc_pixel_at_g` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn calc_pixel_at_g(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: function `rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(super) fn rggb(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: function `bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(super) fn bggr(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 10 previous errors; 8 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: function `grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub(super) fn grbg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn gbrg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16rgb_to_u8rgb` is never used [INFO] [stdout] --> src/pass/general.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn u16rgb_to_u8rgb(iter: impl Iterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_thumbnail` is never used [INFO] [stdout] --> src/maker/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) trait RawDecoder { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_thumbnail<'a>(&self, buffer: &'a [u8]) -> Result<&'a [u8], DecodingError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_and_decode_thumbnail` is never used [INFO] [stdout] --> src/maker/selector.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(in super::super) fn select_and_decode_thumbnail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u16be`, `i32`, and `r64` are never used [INFO] [stdout] --> src/maker/utility.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) trait GetNumFromBytes { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn u16be(&self, start: usize) -> u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn i32(&self, is_le: bool, start: usize) -> i32; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn r64(&self, is_le: bool, start: usize) -> f64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetBytesFromInt` is never used [INFO] [stdout] --> src/maker/utility.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait GetBytesFromInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/adobe.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ibits_sextended` is never used [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub(in super::super) trait BitPump { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/fujifilm.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/nikon.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/olympus.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/panasonic.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/sony.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_thumbnail` is never used [INFO] [stdout] --> src/decode.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub(super) fn get_thumbnail(buffer: &[u8]) -> Result<(&[u8], Orientation), RawFileReadingError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib_c.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `quickraw` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/maker/adobe.rs [INFO] [stderr] * src/maker/decode_utility/bit_pump.rs [INFO] [stderr] * src/maker/decode_utility/byte_stream.rs [INFO] [stderr] * src/maker/decode_utility/ljpeg/mod.rs [INFO] [stderr] * src/maker/nikon.rs [INFO] [stderr] * src/maker/utility.rs [INFO] [stderr] * src/pass/demosaicing/linear.rs [INFO] [stderr] * src/pass/demosaicing/mod.rs [INFO] [stderr] * src/pass/mod.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/pass/demosaicing/linear.rs:306:10 [INFO] [stderr] | [INFO] [stderr] 306 | ($i: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/pass/demosaicing/linear.rs:464:10 [INFO] [stderr] | [INFO] [stderr] 464 | ($i: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/pass/demosaicing/mod.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | ($name:ident, $fn: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/pass/mod.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | [@acc($($x:tt)*) [$target:expr_2021] { $($rules:tt)* } $($body:tt)*] => { [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/pass/mod.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $... [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/pass/mod.rs:43:49 [INFO] [stderr] | [INFO] [stderr] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*)] => { [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/maker/utility.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | ($t:tt, $len: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/maker/utility.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | ($t:ty, $n: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/maker/adobe.rs:215:14 [INFO] [stderr] | [INFO] [stderr] 215 | ($iter: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/maker/nikon.rs:146:14 [INFO] [stderr] | [INFO] [stderr] 146 | ($iter: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: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 169 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stderr] | [INFO] [stderr] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stderr] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stderr] | [INFO] [stderr] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stderr] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stderr] | [INFO] [stderr] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stderr] | [INFO] [stderr] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stderr] | [INFO] [stderr] 12 | impl<'a> ByteStream<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stderr] | [INFO] [stderr] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 141 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 8 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 173 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/demosaicing/linear.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | ($i: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] 306 | ($i: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/pass/demosaicing/linear.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | ($i: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] 464 | ($i: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/pass/demosaicing/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | ($name:ident, $fn: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] 12 | ($name:ident, $fn: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/pass/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | [@acc($($x:tt)*) [$target:expr] { $($rules:tt)* } $($body:tt)*] => { [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] 16 | [@acc($($x:tt)*) [$target:expr_2021] { $($rules:tt)* } $($body:tt)*] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/mod.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $($rul... [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] 40 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*) $(,)? $p:pat => . $fn:ident ( $($params:tt)* ) $($rules:tt)* ] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pass/mod.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr) @match_acc($($r:tt)*)] => { [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] 43 | [@acc($($x:tt)*) @body($($body:tt)*) @match($target:expr_2021) @match_acc($($r:tt)*)] => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/utility.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($t:tt, $len: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] 17 | ($t:tt, $len: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/maker/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | ($t:ty, $n: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] 58 | ($t:ty, $n: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/maker/adobe.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | ($iter: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] 215 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ByteStream<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/maker/nikon.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | ($iter: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] 146 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_convert_rgba` is never used [INFO] [stdout] --> src/pass/color.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn color_convert_rgba<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | gen_linear!(elinear_rggb, enhanced_linear::rggb); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | gen_linear!(elinear_bggr, enhanced_linear::bggr); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | gen_linear!(elinear_grbg, enhanced_linear::grbg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | gen_linear!(elinear_gbrg, enhanced_linear::gbrg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_window` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_window(image: &[u16], i: usize, w: usize) -> [i32; 9] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn clamp(x: i32) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_ALPHA` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DIFF_ALPHA: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_rb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calc_pixel_at_rb(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_g` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn calc_pixel_at_g(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(super) fn rggb(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(super) fn bggr(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub(super) fn grbg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn gbrg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16rgb_to_u8rgb` is never used [INFO] [stdout] --> src/pass/general.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn u16rgb_to_u8rgb(iter: impl Iterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_thumbnail` is never used [INFO] [stdout] --> src/maker/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) trait RawDecoder { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_thumbnail<'a>(&self, buffer: &'a [u8]) -> Result<&'a [u8], DecodingError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_and_decode_thumbnail` is never used [INFO] [stdout] --> src/maker/selector.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(in super::super) fn select_and_decode_thumbnail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u16be`, `i32`, and `r64` are never used [INFO] [stdout] --> src/maker/utility.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) trait GetNumFromBytes { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn u16be(&self, start: usize) -> u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn i32(&self, is_le: bool, start: usize) -> i32; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn r64(&self, is_le: bool, start: usize) -> f64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetBytesFromInt` is never used [INFO] [stdout] --> src/maker/utility.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait GetBytesFromInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/adobe.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ibits_sextended` is never used [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub(in super::super) trait BitPump { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/fujifilm.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/nikon.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/olympus.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/panasonic.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/sony.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_thumbnail` is never used [INFO] [stdout] --> src/decode.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub(super) fn get_thumbnail(buffer: &[u8]) -> Result<(&[u8], Orientation), RawFileReadingError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib_c.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking quickraw v0.2.1-alpha.1 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 169 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 173 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 126 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 169 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib_c.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 173 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ByteStream<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> BitPumpMSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> BitPumpMSB32<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 31 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> BitPumpJPEG<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 74 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 150 | impl<'a> BitPumpLSB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 151 | pub(in super::super) fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 168 | impl<'a> BitPumpPanasonic<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 169 | pub(in super::super) fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/byte_stream.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ByteStream<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 13 | pub(in super::super) fn new(src: &'a [u8], is_le: bool) -> ByteStream { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 132 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/maker/decode_utility/ljpeg/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a> LjpegDecompressor<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quickraw` (lib) due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `quickraw` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b1b1a16162f4d5df9e95fb8ad16e7e87af8c4f5f5930f1d0986902f16d57adc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b1a16162f4d5df9e95fb8ad16e7e87af8c4f5f5930f1d0986902f16d57adc4", kill_on_drop: false }` [INFO] [stdout] b1b1a16162f4d5df9e95fb8ad16e7e87af8c4f5f5930f1d0986902f16d57adc4