[INFO] fetching crate graph-algo-ptas 0.1.0... [INFO] checking graph-algo-ptas-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate graph-algo-ptas 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate graph-algo-ptas 0.1.0 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 graph-algo-ptas 0.1.0 [INFO] finished tweaking crates.io crate graph-algo-ptas 0.1.0 [INFO] tweaked toml for crates.io crate graph-algo-ptas 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate graph-algo-ptas 0.1.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3bf1ecf8b0ce9ff2cd64117abec5f572cc10967ea9ff273c4c4f826a925a3819 [INFO] running `Command { std: "docker" "start" "-a" "3bf1ecf8b0ce9ff2cd64117abec5f572cc10967ea9ff273c4c4f826a925a3819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bf1ecf8b0ce9ff2cd64117abec5f572cc10967ea9ff273c4c4f826a925a3819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf1ecf8b0ce9ff2cd64117abec5f572cc10967ea9ff273c4c4f826a925a3819", kill_on_drop: false }` [INFO] [stdout] 3bf1ecf8b0ce9ff2cd64117abec5f572cc10967ea9ff273c4c4f826a925a3819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] db82447882c7b4dbe961feecc7ec12c02a566a67a16b20be70bec2da6b2be215 [INFO] running `Command { std: "docker" "start" "-a" "db82447882c7b4dbe961feecc7ec12c02a566a67a16b20be70bec2da6b2be215", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking arboretum-td v0.1.0 [INFO] [stderr] Checking graph-algo-ptas v0.1.0 (/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/algorithm/dynamic_programming/solve.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_forget(val: i32, child_id: usize, child_subset: BitVec) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | children: vec![(child_id, child_subset)].into_iter().collect(), [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/algorithm/dynamic_programming/solve.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 68 | child_subset: BitVec, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | children: vec![(child_id, child_subset)].into_iter().collect(), [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/algorithm/dynamic_programming/solve.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new_join(val: i32, left_id: usize, right_id: usize, subset: BitVec) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | children: vec![(left_id, subset.clone()), (right_id, subset)] [INFO] [stdout] | _______________________^ [INFO] [stdout] 83 | | .into_iter() [INFO] [stdout] 84 | | .collect(), [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/algorithm/dynamic_programming/solve.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 178 | td: Option, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | dp_solve_hashmap_graph(&to_hash_map_graph(graph), td, prob) [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/algorithm/nice_tree_decomposition.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(mut td: TreeDecomposition) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | td: td.to_owned(), [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/data_structure/link_graph.rs:82:59 [INFO] [stdout] | [INFO] [stdout] 82 | .field("dart", &self.dart.as_ref().map(|dart| dart.0.borrow().id)) [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/data_structure/link_graph.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 128 | &self.next.as_ref().map(|next| next.0.borrow().id), [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/data_structure/link_graph.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | &self.prev.as_ref().map(|prev| prev.0.borrow().id), [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/data_structure/link_graph.rs:136:48 [INFO] [stdout] | [INFO] [stdout] 136 | &self.twin.as_ref().map(|twin| twin.0.borrow().id), [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/data_structure/link_graph.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | &self.face.as_ref().map(|twin| twin.0.borrow().id), [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/data_structure/link_graph.rs:431:34 [INFO] [stdout] | [INFO] [stdout] 431 | .and_then(|next| next.0.borrow().prev.clone()) [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/data_structure/link_graph.rs:511:31 [INFO] [stdout] | [INFO] [stdout] 511 | next.and_then(|n| n.0.borrow().twin.clone()), [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/data_structure/link_graph.rs:512:31 [INFO] [stdout] | [INFO] [stdout] 512 | prev.and_then(|n| n.0.borrow().twin.clone()), [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/data_structure/ring_segment.rs:61:66 [INFO] [stdout] | [INFO] [stdout] 61 | .flat_map(|(i, ring)| ring.iter().map(move |vertex| (vertex.clone(), i))) [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/data_structure/ring_segment.rs:205:40 [INFO] [stdout] | [INFO] [stdout] 205 | .or_insert_with(|| self.inner_vertex.clone().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/data_structure/ring_segment.rs:227:72 [INFO] [stdout] | [INFO] [stdout] 227 | Mode::Prev => |graph: &G, dart: &D| graph.dart_target(&graph.prev(dart)), [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph-algo-ptas` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "db82447882c7b4dbe961feecc7ec12c02a566a67a16b20be70bec2da6b2be215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db82447882c7b4dbe961feecc7ec12c02a566a67a16b20be70bec2da6b2be215", kill_on_drop: false }` [INFO] [stdout] db82447882c7b4dbe961feecc7ec12c02a566a67a16b20be70bec2da6b2be215