[INFO] fetching crate ocrs 0.8.0... [INFO] checking ocrs-0.8.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate ocrs 0.8.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ocrs 0.8.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ocrs 0.8.0 [INFO] finished tweaking crates.io crate ocrs 0.8.0 [INFO] tweaked toml for crates.io crate ocrs 0.8.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate ocrs 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.59 [INFO] [stderr] Downloaded rten-imageproc v0.10.0 [INFO] [stderr] Downloaded rten-vecmath v0.10.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.59 [INFO] [stderr] Downloaded flatbuffers v22.12.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded image-webp v0.1.2 [INFO] [stderr] Downloaded png v0.17.10 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded lexopt v0.3.0 [INFO] [stderr] Downloaded rten v0.10.0 [INFO] [stderr] Downloaded rten-simd v0.10.0 [INFO] [stderr] Downloaded rten-tensor v0.10.0 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dee243dfed66f5c6e2a0a185a18ce5d1a4908c9c1cc283d745fecbbb99e65bb [INFO] running `Command { std: "docker" "start" "-a" "1dee243dfed66f5c6e2a0a185a18ce5d1a4908c9c1cc283d745fecbbb99e65bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dee243dfed66f5c6e2a0a185a18ce5d1a4908c9c1cc283d745fecbbb99e65bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dee243dfed66f5c6e2a0a185a18ce5d1a4908c9c1cc283d745fecbbb99e65bb", kill_on_drop: false }` [INFO] [stdout] 1dee243dfed66f5c6e2a0a185a18ce5d1a4908c9c1cc283d745fecbbb99e65bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f5c4f8c8c90b70bf253af5eb337dab799ee7af0211f4cb43d13b985928ecd61 [INFO] running `Command { std: "docker" "start" "-a" "0f5c4f8c8c90b70bf253af5eb337dab799ee7af0211f4cb43d13b985928ecd61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking rten-tensor v0.10.0 [INFO] [stderr] Checking rten-simd v0.10.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking rten-vecmath v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rten-imageproc v0.10.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking lexopt v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking rten v0.10.0 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking ocrs v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "0f5c4f8c8c90b70bf253af5eb337dab799ee7af0211f4cb43d13b985928ecd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5c4f8c8c90b70bf253af5eb337dab799ee7af0211f4cb43d13b985928ecd61", kill_on_drop: false }` [INFO] [stdout] 0f5c4f8c8c90b70bf253af5eb337dab799ee7af0211f4cb43d13b985928ecd61 [INFO] checking ocrs-0.8.0 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate ocrs 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ocrs 0.8.0 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ocrs 0.8.0 [INFO] finished tweaking crates.io crate ocrs 0.8.0 [INFO] tweaked toml for crates.io crate ocrs 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate ocrs 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dff6a9f3a6b917b5ca7c699f6257707d28949763bec5e11c09a4d2eac91246eb [INFO] running `Command { std: "docker" "start" "-a" "dff6a9f3a6b917b5ca7c699f6257707d28949763bec5e11c09a4d2eac91246eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dff6a9f3a6b917b5ca7c699f6257707d28949763bec5e11c09a4d2eac91246eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff6a9f3a6b917b5ca7c699f6257707d28949763bec5e11c09a4d2eac91246eb", kill_on_drop: false }` [INFO] [stdout] dff6a9f3a6b917b5ca7c699f6257707d28949763bec5e11c09a4d2eac91246eb [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9335296e76be465acae8cd2dc36f27328c9bdd288e47004150b15ab61a28035 [INFO] running `Command { std: "docker" "start" "-a" "b9335296e76be465acae8cd2dc36f27328c9bdd288e47004150b15ab61a28035", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking rten-tensor v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking rten-simd v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rten-vecmath v0.10.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rten-imageproc v0.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking lexopt v0.3.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking rten v0.10.0 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking ocrs v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(params: OcrEngineParams) -> anyhow::Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let detector = params [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let recognizer = params [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(OcrEngine { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | detector, [INFO] [stdout] 79 | | recognizer, [INFO] [stdout] 80 | | debug: params.debug, [INFO] [stdout] 81 | | decode_method: params.decode_method, [INFO] [stdout] 82 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/detection.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn from_model(model: Model, params: TextDetectorParams) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | .ok_or(anyhow!("model has no inputs"))?; [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | .ok_or(anyhow!("model does not specify expected input shape"))?; [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(TextDetector { [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | model, [INFO] [stdout] 88 | | params, [INFO] [stdout] 89 | | input_shape, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/recognition.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn from_model(model: Model) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | .ok_or(anyhow!("recognition model has no inputs"))?; [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | .ok_or(anyhow!("recognition model does not specify input shape"))?; [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | .ok_or(anyhow!("recognition model has no outputs"))?; [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | Ok(TextRecognizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 346 | | model, [INFO] [stdout] 347 | | input_id, [INFO] [stdout] 348 | | input_shape: input_shape.into_iter().collect(), [INFO] [stdout] 349 | | output_id, [INFO] [stdout] 350 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/recognition.rs:368:53 [INFO] [stdout] | [INFO] [stdout] 368 | .map_err(|err| ModelRunError::RunFailed(err.into()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ocrs` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(params: OcrEngineParams) -> anyhow::Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let detector = params [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let recognizer = params [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(OcrEngine { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | detector, [INFO] [stdout] 79 | | recognizer, [INFO] [stdout] 80 | | debug: params.debug, [INFO] [stdout] 81 | | decode_method: params.decode_method, [INFO] [stdout] 82 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/detection.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn from_model(model: Model, params: TextDetectorParams) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | .ok_or(anyhow!("model has no inputs"))?; [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | .ok_or(anyhow!("model does not specify expected input shape"))?; [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(TextDetector { [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | model, [INFO] [stdout] 88 | | params, [INFO] [stdout] 89 | | input_shape, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/recognition.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn from_model(model: Model) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | .ok_or(anyhow!("recognition model has no inputs"))?; [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | .ok_or(anyhow!("recognition model does not specify input shape"))?; [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | .ok_or(anyhow!("recognition model has no outputs"))?; [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | Ok(TextRecognizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 346 | | model, [INFO] [stdout] 347 | | input_id, [INFO] [stdout] 348 | | input_shape: input_shape.into_iter().collect(), [INFO] [stdout] 349 | | output_id, [INFO] [stdout] 350 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/recognition.rs:368:53 [INFO] [stdout] | [INFO] [stdout] 368 | .map_err(|err| ModelRunError::RunFailed(err.into()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 260 | let bias = Tensor::from_scalar(0.5); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Model::load(model_data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 306 | let squeeze_axes = Tensor::from_vec(vec![1]); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Model::load(model_data).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ocrs` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b9335296e76be465acae8cd2dc36f27328c9bdd288e47004150b15ab61a28035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9335296e76be465acae8cd2dc36f27328c9bdd288e47004150b15ab61a28035", kill_on_drop: false }` [INFO] [stdout] b9335296e76be465acae8cd2dc36f27328c9bdd288e47004150b15ab61a28035