[INFO] fetching crate bgpfu-lib 0.1.0... [INFO] checking bgpfu-lib-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bgpfu-lib 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bgpfu-lib 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 bgpfu-lib 0.1.0 [INFO] finished tweaking crates.io crate bgpfu-lib 0.1.0 [INFO] tweaked toml for crates.io crate bgpfu-lib 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (latest: v0.12.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding toml v0.7.8 (latest: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aa25d2c62dbf5a2ddcbdc6e075647aa4485eb7f31b9554a882d7122e954c81b [INFO] running `Command { std: "docker" "start" "-a" "6aa25d2c62dbf5a2ddcbdc6e075647aa4485eb7f31b9554a882d7122e954c81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa25d2c62dbf5a2ddcbdc6e075647aa4485eb7f31b9554a882d7122e954c81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa25d2c62dbf5a2ddcbdc6e075647aa4485eb7f31b9554a882d7122e954c81b", kill_on_drop: false }` [INFO] [stdout] 6aa25d2c62dbf5a2ddcbdc6e075647aa4485eb7f31b9554a882d7122e954c81b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c9f1d5699ea78959d5041a22861da3f4978aba4a8f0b0eaef3e3c15f80e1461 [INFO] running `Command { std: "docker" "start" "-a" "3c9f1d5699ea78959d5041a22861da3f4978aba4a8f0b0eaef3e3c15f80e1461", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking generic-ip v0.1.1 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rpsl v0.1.1 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stderr] Checking irrc v0.1.0 [INFO] [stderr] Checking bgpfu-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | #![warn(pointer_structural_match)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | #![warn(pointer_structural_match)] [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/query.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 132 | .find_map(|resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | / this.collect_result(resp.map_err(Error::from).and_then(|item| { [INFO] [stdout] 134 | | let obj = item.into_content(); [INFO] [stdout] 135 | | if let RpslObject::FilterSet(ref filter_set_obj) = obj { [INFO] [stdout] 136 | | filter_set_obj [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | })) [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/query.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | .unwrap_or_else(|| Ok("NOT ANY".parse()?)) [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/query.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 169 | conn.pipeline_from_initial(Query::AsSetMembersRecursive(as_set.clone()), |resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | / this.collect_result::<_, _, Error>(resp.map(|item| { [INFO] [stdout] 171 | | let autnum = item.into_content(); [INFO] [stdout] 172 | | [Query::Ipv4Routes(autnum), Query::Ipv6Routes(autnum)] [INFO] [stdout] 173 | | })) [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/query.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 180 | .and_then(|mut pipeline| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | this.collect_results( [INFO] [stdout] 182 | / pipeline [INFO] [stdout] 183 | | .responses::<'_, Prefix>() [INFO] [stdout] 184 | | .map(|resp| resp.map(ResponseItem::into_content)), [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bgpfu-lib` (lib) due to 5 previous errors; 2 warnings emitted [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/query.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 132 | .find_map(|resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | / this.collect_result(resp.map_err(Error::from).and_then(|item| { [INFO] [stdout] 134 | | let obj = item.into_content(); [INFO] [stdout] 135 | | if let RpslObject::FilterSet(ref filter_set_obj) = obj { [INFO] [stdout] 136 | | filter_set_obj [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | })) [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/query.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | .unwrap_or_else(|| Ok("NOT ANY".parse()?)) [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/query.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 169 | conn.pipeline_from_initial(Query::AsSetMembersRecursive(as_set.clone()), |resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | / this.collect_result::<_, _, Error>(resp.map(|item| { [INFO] [stdout] 171 | | let autnum = item.into_content(); [INFO] [stdout] 172 | | [Query::Ipv4Routes(autnum), Query::Ipv6Routes(autnum)] [INFO] [stdout] 173 | | })) [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/query.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 180 | .and_then(|mut pipeline| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | this.collect_results( [INFO] [stdout] 182 | / pipeline [INFO] [stdout] 183 | | .responses::<'_, Prefix>() [INFO] [stdout] 184 | | .map(|resp| resp.map(ResponseItem::into_content)), [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bgpfu-lib` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3c9f1d5699ea78959d5041a22861da3f4978aba4a8f0b0eaef3e3c15f80e1461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9f1d5699ea78959d5041a22861da3f4978aba4a8f0b0eaef3e3c15f80e1461", kill_on_drop: false }` [INFO] [stdout] 3c9f1d5699ea78959d5041a22861da3f4978aba4a8f0b0eaef3e3c15f80e1461