[INFO] fetching crate rustsat-tools 0.3.1... [INFO] checking rustsat-tools-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rustsat-tools 0.3.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rustsat-tools 0.3.1 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 rustsat-tools 0.3.1 [INFO] finished tweaking crates.io crate rustsat-tools 0.3.1 [INFO] tweaked toml for crates.io crate rustsat-tools 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rustsat-tools 0.3.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 50918a76400728e5ff740a9ba6de77d845e35bfc6d6c48506c2c229341bea5b8 [INFO] running `Command { std: "docker" "start" "-a" "50918a76400728e5ff740a9ba6de77d845e35bfc6d6c48506c2c229341bea5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50918a76400728e5ff740a9ba6de77d845e35bfc6d6c48506c2c229341bea5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50918a76400728e5ff740a9ba6de77d845e35bfc6d6c48506c2c229341bea5b8", kill_on_drop: false }` [INFO] [stdout] 50918a76400728e5ff740a9ba6de77d845e35bfc6d6c48506c2c229341bea5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9edaaf166d0bc9831e672aa734721706652fc1e1b05cece9072d8d7940a120c9 [INFO] running `Command { std: "docker" "start" "-a" "9edaaf166d0bc9831e672aa734721706652fc1e1b05cece9072d8d7940a120c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking concolor v0.1.1 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling visibility v0.1.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking concolor-clap v0.1.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Checking rustsat v0.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling rustsat-minisat v0.3.1 [INFO] [stderr] Checking rustsat-tools v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/encodings/clustering.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | enum VarId { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Unary(u32, u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variant` is never read [INFO] [stdout] --> src/encodings/clustering.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct Encoding { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 151 | similarities: Vec, [INFO] [stdout] 152 | variant: Variant, [INFO] [stdout] | ^^^^^^^ [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/encodings/clustering.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 172 | |line: Result| -> Option> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Some(Ok(tup)) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsat-tools` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/encodings/clustering.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | enum VarId { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Unary(u32, u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variant` is never read [INFO] [stdout] --> src/encodings/clustering.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct Encoding { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 151 | similarities: Vec, [INFO] [stdout] 152 | variant: Variant, [INFO] [stdout] | ^^^^^^^ [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/encodings/clustering.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 172 | |line: Result| -> Option> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Some(Ok(tup)) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsat-tools` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9edaaf166d0bc9831e672aa734721706652fc1e1b05cece9072d8d7940a120c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9edaaf166d0bc9831e672aa734721706652fc1e1b05cece9072d8d7940a120c9", kill_on_drop: false }` [INFO] [stdout] 9edaaf166d0bc9831e672aa734721706652fc1e1b05cece9072d8d7940a120c9