[INFO] cloning repository https://github.com/Hoblovski/stupid-smt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hoblovski/stupid-smt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoblovski%2Fstupid-smt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoblovski%2Fstupid-smt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5222d1095525fb6685d0e68e923d2299a1d165af [INFO] checking Hoblovski/stupid-smt/5222d1095525fb6685d0e68e923d2299a1d165af against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoblovski%2Fstupid-smt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hoblovski/stupid-smt 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 git repo https://github.com/Hoblovski/stupid-smt [INFO] finished tweaking git repo https://github.com/Hoblovski/stupid-smt [INFO] tweaked toml for git repo https://github.com/Hoblovski/stupid-smt written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Hoblovski/stupid-smt 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] bf7b9c8ef528f50e31cf54ac49e6327d804cdf90b649cebe2d3e15c01d7b76f2 [INFO] running `Command { std: "docker" "start" "-a" "bf7b9c8ef528f50e31cf54ac49e6327d804cdf90b649cebe2d3e15c01d7b76f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf7b9c8ef528f50e31cf54ac49e6327d804cdf90b649cebe2d3e15c01d7b76f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7b9c8ef528f50e31cf54ac49e6327d804cdf90b649cebe2d3e15c01d7b76f2", kill_on_drop: false }` [INFO] [stdout] bf7b9c8ef528f50e31cf54ac49e6327d804cdf90b649cebe2d3e15c01d7b76f2 [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] 5120b7d2ae2580616cde9df47d59303fbe3b6acbc89ecdd44ce19ed68b3df4d5 [INFO] running `Command { std: "docker" "start" "-a" "5120b7d2ae2580616cde9df47d59303fbe3b6acbc89ecdd44ce19ed68b3df4d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling minisat v0.4.3 [INFO] [stderr] Checking stupid-smt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/solver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, and `BitXor` [INFO] [stdout] --> src/logic.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{BitAnd, BitOr, BitXor, Not}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Not` [INFO] [stdout] --> src/logic.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{BitAnd, BitOr, BitXor, Not}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/solver.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(m) => CheckResult::Sat, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/solver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, and `BitXor` [INFO] [stdout] --> src/logic.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{BitAnd, BitOr, BitXor, Not}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/solver.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 129 | BVEq(a, b) => { [INFO] [stdout] | ---------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 136 | _ => unimplemented!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `name`, `low`, and `high` are never read [INFO] [stdout] --> src/solver.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct BVSymInfo<'c> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | width: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | name: &'c str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | low: isize, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | high: isize, // low..high are the isize's for Formula [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BVSymInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/solver.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Solver<'c> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 69 | sat_solver: RefCell, [INFO] [stdout] 70 | ctx: &'c Context<'c>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `m` is never read [INFO] [stdout] --> src/solver.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | m: HashMap, [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/solver.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut sat_solver = minisat::Solver::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | sat_solver: RefCell::new(sat_solver), [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stupid-smt` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Not` [INFO] [stdout] --> src/logic.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{BitAnd, BitOr, BitXor, Not}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/solver.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(m) => CheckResult::Sat, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/solver.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 129 | BVEq(a, b) => { [INFO] [stdout] | ---------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 136 | _ => unimplemented!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `name`, `low`, and `high` are never read [INFO] [stdout] --> src/solver.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct BVSymInfo<'c> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | width: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | name: &'c str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | low: isize, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | high: isize, // low..high are the isize's for Formula [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BVSymInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/solver.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Solver<'c> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 69 | sat_solver: RefCell, [INFO] [stdout] 70 | ctx: &'c Context<'c>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `m` is never read [INFO] [stdout] --> src/solver.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 79 | m: HashMap, [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/solver.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut sat_solver = minisat::Solver::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | sat_solver: RefCell::new(sat_solver), [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stupid-smt` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5120b7d2ae2580616cde9df47d59303fbe3b6acbc89ecdd44ce19ed68b3df4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5120b7d2ae2580616cde9df47d59303fbe3b6acbc89ecdd44ce19ed68b3df4d5", kill_on_drop: false }` [INFO] [stdout] 5120b7d2ae2580616cde9df47d59303fbe3b6acbc89ecdd44ce19ed68b3df4d5