[INFO] cloning repository https://github.com/EINS-TUDa/PSCC2024-SwitchSelection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EINS-TUDa/PSCC2024-SwitchSelection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEINS-TUDa%2FPSCC2024-SwitchSelection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEINS-TUDa%2FPSCC2024-SwitchSelection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1f7faa63491062f15d7962faf7b8f705b81b2c3 [INFO] checking EINS-TUDa/PSCC2024-SwitchSelection/d1f7faa63491062f15d7962faf7b8f705b81b2c3 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%2FEINS-TUDa%2FPSCC2024-SwitchSelection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EINS-TUDa/PSCC2024-SwitchSelection 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/EINS-TUDa/PSCC2024-SwitchSelection [INFO] finished tweaking git repo https://github.com/EINS-TUDa/PSCC2024-SwitchSelection [INFO] tweaked toml for git repo https://github.com/EINS-TUDa/PSCC2024-SwitchSelection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EINS-TUDa/PSCC2024-SwitchSelection 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9f1676e2aa36b06e9c6520ac2b137d16c49edce1af6ec0ea23535a92748d457c [INFO] running `Command { std: "docker" "start" "-a" "9f1676e2aa36b06e9c6520ac2b137d16c49edce1af6ec0ea23535a92748d457c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1676e2aa36b06e9c6520ac2b137d16c49edce1af6ec0ea23535a92748d457c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1676e2aa36b06e9c6520ac2b137d16c49edce1af6ec0ea23535a92748d457c", kill_on_drop: false }` [INFO] [stdout] 9f1676e2aa36b06e9c6520ac2b137d16c49edce1af6ec0ea23535a92748d457c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 678a7e03ebabe52f388de18d0368295c2ca0cc86e8ebcaeb96197109207b0ee6 [INFO] running `Command { std: "docker" "start" "-a" "678a7e03ebabe52f388de18d0368295c2ca0cc86e8ebcaeb96197109207b0ee6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking const-cstr v0.3.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking arboretum-td v0.1.0 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking cplex_dynamic v0.1.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking crabnets v0.1.0 (https://github.com/jointpoints/CrabNets.git?rev=7c316c0#7c316c0f) [INFO] [stderr] Checking switch-selection v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_bag_size` is never read [INFO] [stdout] --> src/tree_decomposition.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TreeDecomposition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 27 | graph: graph!(A ---X--> A with VertexAttributeCollectionType = Bag), [INFO] [stdout] 28 | pub max_bag_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeDecomposition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/switch_selection_instance.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 29 | let tap_position_data = self.tap_position.is_some().then( [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / once(AttributeToken { name: "p", value: StaticDispatchAttributeValue::Float64(self.p) }) [INFO] [stdout] 34 | | .chain(once(AttributeToken { name: "q", value: StaticDispatchAttributeValue::Float64(self.q) })) [INFO] [stdout] 35 | | .chain(tap_position_data) [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/switch_selection_instance.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | || once(AttributeToken { name: "tap position", value: StaticDispatchAttributeValue::Int8(self.tap_position.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/tree_decomposition.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 49 | let mut arboretum_graph = HashMapGraph::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | match TamakiPid::with_graph(&arboretum_graph).compute() { [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/solver/tree_decomposition_solver.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 311 | let td = match TreeDecomposition::for_switch_selection_graph(&dg_kernel) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Ok(value) => value, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(TreeDecompositionSolver { [INFO] [stdout] | ____________^ [INFO] [stdout] 316 | | dg_kernel, [INFO] [stdout] 317 | | input: Arc::new(input), [INFO] [stdout] 318 | | td: Arc::new(td), [INFO] [stdout] 319 | | memos: None, [INFO] [stdout] 320 | | thread_count: num_cpus::get() - 1, [INFO] [stdout] 321 | | }) [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/solver/tree_decomposition_solver.rs:367:128 [INFO] [stdout] | [INFO] [stdout] 367 | ... let mut thread_data = self.td.dfs_postordering().into_iter().map(|id: usize| ThreadMetadata { bag_id: id, join_handle: None, tx: No... [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/solver/tree_decomposition_solver.rs:367:138 [INFO] [stdout] | [INFO] [stdout] 367 | ...(|id: usize| ThreadMetadata { bag_id: id, join_handle: None, tx: None }).collect_vec(); [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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_bag_size` is never read [INFO] [stdout] --> src/tree_decomposition.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TreeDecomposition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 27 | graph: graph!(A ---X--> A with VertexAttributeCollectionType = Bag), [INFO] [stdout] 28 | pub max_bag_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeDecomposition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `switch-selection` (bin "switch-selection" test) due to 7 previous errors; 1 warning emitted [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/switch_selection_instance.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 29 | let tap_position_data = self.tap_position.is_some().then( [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / once(AttributeToken { name: "p", value: StaticDispatchAttributeValue::Float64(self.p) }) [INFO] [stdout] 34 | | .chain(once(AttributeToken { name: "q", value: StaticDispatchAttributeValue::Float64(self.q) })) [INFO] [stdout] 35 | | .chain(tap_position_data) [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/switch_selection_instance.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | || once(AttributeToken { name: "tap position", value: StaticDispatchAttributeValue::Int8(self.tap_position.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/tree_decomposition.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 49 | let mut arboretum_graph = HashMapGraph::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | match TamakiPid::with_graph(&arboretum_graph).compute() { [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/solver/tree_decomposition_solver.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 311 | let td = match TreeDecomposition::for_switch_selection_graph(&dg_kernel) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Ok(value) => value, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(TreeDecompositionSolver { [INFO] [stdout] | ____________^ [INFO] [stdout] 316 | | dg_kernel, [INFO] [stdout] 317 | | input: Arc::new(input), [INFO] [stdout] 318 | | td: Arc::new(td), [INFO] [stdout] 319 | | memos: None, [INFO] [stdout] 320 | | thread_count: num_cpus::get() - 1, [INFO] [stdout] 321 | | }) [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/solver/tree_decomposition_solver.rs:367:128 [INFO] [stdout] | [INFO] [stdout] 367 | ... let mut thread_data = self.td.dfs_postordering().into_iter().map(|id: usize| ThreadMetadata { bag_id: id, join_handle: None, tx: No... [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/solver/tree_decomposition_solver.rs:367:138 [INFO] [stdout] | [INFO] [stdout] 367 | ...(|id: usize| ThreadMetadata { bag_id: id, join_handle: None, tx: None }).collect_vec(); [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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `switch-selection` (bin "switch-selection") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "678a7e03ebabe52f388de18d0368295c2ca0cc86e8ebcaeb96197109207b0ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678a7e03ebabe52f388de18d0368295c2ca0cc86e8ebcaeb96197109207b0ee6", kill_on_drop: false }` [INFO] [stdout] 678a7e03ebabe52f388de18d0368295c2ca0cc86e8ebcaeb96197109207b0ee6