[INFO] fetching crate segment-anything-rs 0.3.2... [INFO] checking segment-anything-rs-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate segment-anything-rs 0.3.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate segment-anything-rs 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 segment-anything-rs 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate segment-anything-rs 0.3.2 [INFO] tweaked toml for crates.io crate segment-anything-rs 0.3.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate segment-anything-rs 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 301c6a966fe0e8a68e51bf09a301ef54e6c46399ae1eb777b91139e9708dfaf7 [INFO] running `Command { std: "docker" "start" "-a" "301c6a966fe0e8a68e51bf09a301ef54e6c46399ae1eb777b91139e9708dfaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "301c6a966fe0e8a68e51bf09a301ef54e6c46399ae1eb777b91139e9708dfaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301c6a966fe0e8a68e51bf09a301ef54e6c46399ae1eb777b91139e9708dfaf7", kill_on_drop: false }` [INFO] [stdout] 301c6a966fe0e8a68e51bf09a301ef54e6c46399ae1eb777b91139e9708dfaf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 20bc8ecc1a2460a119d3c07a2c19fa760dcedc41702f37020aae3232be3ac77f [INFO] running `Command { std: "docker" "start" "-a" "20bc8ecc1a2460a119d3c07a2c19fa760dcedc41702f37020aae3232be3ac77f", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [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 tiff v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [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 zerofrom-derive v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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 pulp v0.18.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking 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-f64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking safetensors v0.4.4 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking candle-core v0.6.0 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking candle-nn v0.6.0 [INFO] [stderr] Checking candle-transformers v0.6.0 [INFO] [stderr] Checking segment-anything-rs 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/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 169 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let api = api.model(source.model); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let vb = unsafe { VarBuilder::from_mmaped_safetensors(&[model], DType::F32, &device)? }; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let sam = if source.tiny { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok(Self { device, sam }) [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 169 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let api = api.model(source.model); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let vb = unsafe { VarBuilder::from_mmaped_safetensors(&[model], DType::F32, &device)? }; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let sam = if source.tiny { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok(Self { device, sam }) [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `segment-anything-rs` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `segment-anything-rs` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "20bc8ecc1a2460a119d3c07a2c19fa760dcedc41702f37020aae3232be3ac77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bc8ecc1a2460a119d3c07a2c19fa760dcedc41702f37020aae3232be3ac77f", kill_on_drop: false }` [INFO] [stdout] 20bc8ecc1a2460a119d3c07a2c19fa760dcedc41702f37020aae3232be3ac77f