[INFO] fetching crate logicng 0.1.0-alpha.3... [INFO] checking logicng-0.1.0-alpha.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate logicng 0.1.0-alpha.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate logicng 0.1.0-alpha.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate logicng 0.1.0-alpha.3 [INFO] removed 7 missing examples [INFO] removed 2 missing tests [INFO] finished tweaking crates.io crate logicng 0.1.0-alpha.3 [INFO] tweaked toml for crates.io crate logicng 0.1.0-alpha.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate logicng 0.1.0-alpha.3 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e8e6e4dc90545d087de3a3c5ddccf1908dabc86f5556bf3c6af263cff04314 [INFO] running `Command { std: "docker" "start" "-a" "39e8e6e4dc90545d087de3a3c5ddccf1908dabc86f5556bf3c6af263cff04314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e8e6e4dc90545d087de3a3c5ddccf1908dabc86f5556bf3c6af263cff04314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e8e6e4dc90545d087de3a3c5ddccf1908dabc86f5556bf3c6af263cff04314", kill_on_drop: false }` [INFO] [stdout] 39e8e6e4dc90545d087de3a3c5ddccf1908dabc86f5556bf3c6af263cff04314 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc377d63da308d7036a51d4ad361cb04ba927742e478e96cff5d002d64830977 [INFO] running `Command { std: "docker" "start" "-a" "bc377d63da308d7036a51d4ad361cb04ba927742e478e96cff5d002d64830977", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking pest v2.7.3 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Checking logicng v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `formula_on_solver_function::*` [INFO] [stdout] --> src/solver/functions/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use formula_on_solver_function::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `formula_on_solver_function::*` [INFO] [stdout] --> src/solver/functions/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use formula_on_solver_function::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/test_util.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn string_vars(elements: &'static str) -> BTreeSet> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 12 | pub fn string_vars(elements: &'static str) -> BTreeSet> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ReadDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/explanations/drup/tests/mod.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 68 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | for path_result in read_dir("resources/sat/unsat").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: this value of type `assignment::Assignment` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 66 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let model = Assignment::from(solver.model(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] [INFO] [stdout] [INFO] [stdout] error: this value of type `assignment::Assignment` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let model = Assignment::from(solver.model(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] [INFO] [stdout] [INFO] [stdout] error: this value of type `assignment::Assignment` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 113 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let model = Assignment::from(solver.model(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] [INFO] [stdout] [INFO] [stdout] error: this value of type `assignment::Assignment` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 129 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let model = Assignment::from(&models[0]); [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: this value of type `ReadDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 413 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 421 | for file in fs::read_dir("resources/sat").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: this value of type `ReadDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 664 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 665 | for file in fs::read_dir("resources/sat").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: this value of type `ReadDir` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solver/tests/sat_tests.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 756 | let f = &FormulaFactory::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | for file in fs::read_dir("resources/sat").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] warning: missing documentation for a method [INFO] [stdout] --> src/datastructures/ubtree.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn root_nodes(&self) -> &BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:57 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(clippy::all, clippy::pedantic, clippy::nursery, missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logicng` (lib test) due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc377d63da308d7036a51d4ad361cb04ba927742e478e96cff5d002d64830977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc377d63da308d7036a51d4ad361cb04ba927742e478e96cff5d002d64830977", kill_on_drop: false }` [INFO] [stdout] bc377d63da308d7036a51d4ad361cb04ba927742e478e96cff5d002d64830977