[INFO] fetching crate kalosm-ocr 0.3.2... [INFO] checking kalosm-ocr-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kalosm-ocr 0.3.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate kalosm-ocr 0.3.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kalosm-ocr 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kalosm-ocr 0.3.2 [INFO] tweaked toml for crates.io crate kalosm-ocr 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate kalosm-ocr 0.3.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 955012840bebfdaf167aa036d3a39f3c955278f980b4da968036743daf5ab1e0 [INFO] running `Command { std: "docker" "start" "-a" "955012840bebfdaf167aa036d3a39f3c955278f980b4da968036743daf5ab1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "955012840bebfdaf167aa036d3a39f3c955278f980b4da968036743daf5ab1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955012840bebfdaf167aa036d3a39f3c955278f980b4da968036743daf5ab1e0", kill_on_drop: false }` [INFO] [stdout] 955012840bebfdaf167aa036d3a39f3c955278f980b4da968036743daf5ab1e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c03ae0da1a06dddd60046bc052c8bb0bb2744c7402b1d3f828864d4e0fa5555 [INFO] running `Command { std: "docker" "start" "-a" "4c03ae0da1a06dddd60046bc052c8bb0bb2744c7402b1d3f828864d4e0fa5555", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.13 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking safetensors v0.4.4 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking tokenizers v0.19.1 [INFO] [stderr] Checking candle-core v0.6.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking candle-nn v0.6.0 [INFO] [stderr] Checking kalosm-common v0.3.2 [INFO] [stderr] Checking candle-transformers v0.6.0 [INFO] [stderr] Checking kalosm-ocr v0.3.2 (/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/image_processor.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|image| self.resize(image.clone(), None).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] = 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/image_processor.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|image| self.resize(image.clone(), None).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] = 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/image_processor.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|image| self.normalize(image.clone(), None, None, device).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/image_processor.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|image| self.normalize(image.clone(), None, None, device).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/image_processor.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mean = Tensor::from_vec(mean, (3, 1, 1), device)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let std = Tensor::from_vec(std, (3, 1, 1), device)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let data = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | / (data.to_dtype(DType::F32)? / 255.)? [INFO] [stdout] 139 | | .broadcast_sub(&mean)? [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] | | 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] [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/image_processor.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mean = Tensor::from_vec(mean, (3, 1, 1), device)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let std = Tensor::from_vec(std, (3, 1, 1), device)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let data = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | / (data.to_dtype(DType::F32)? / 255.)? [INFO] [stdout] 139 | | .broadcast_sub(&mean)? [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] | | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kalosm-ocr` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kalosm-ocr` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4c03ae0da1a06dddd60046bc052c8bb0bb2744c7402b1d3f828864d4e0fa5555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c03ae0da1a06dddd60046bc052c8bb0bb2744c7402b1d3f828864d4e0fa5555", kill_on_drop: false }` [INFO] [stdout] 4c03ae0da1a06dddd60046bc052c8bb0bb2744c7402b1d3f828864d4e0fa5555