[INFO] fetching crate yasna 0.5.2... [INFO] checking yasna-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate yasna 0.5.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate yasna 0.5.2 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 yasna 0.5.2 [INFO] finished tweaking crates.io crate yasna 0.5.2 [INFO] tweaked toml for crates.io crate yasna 0.5.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [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-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] 11bc70e1a9b3462957511b9e1d3581be4bd4506cdd295a8e0e02a4689c4733eb [INFO] running `Command { std: "docker" "start" "-a" "11bc70e1a9b3462957511b9e1d3581be4bd4506cdd295a8e0e02a4689c4733eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11bc70e1a9b3462957511b9e1d3581be4bd4506cdd295a8e0e02a4689c4733eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11bc70e1a9b3462957511b9e1d3581be4bd4506cdd295a8e0e02a4689c4733eb", kill_on_drop: false }` [INFO] [stdout] 11bc70e1a9b3462957511b9e1d3581be4bd4506cdd295a8e0e02a4689c4733eb [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] a84fafdd438a80ffdf7e32dab0907bf817b0ffc6222d55cf21bf3d7c06b47120 [INFO] running `Command { std: "docker" "start" "-a" "a84fafdd438a80ffdf7e32dab0907bf817b0ffc6222d55cf21bf3d7c06b47120", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking yasna v0.5.2 (/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/reader/mod.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn read_optional(&mut self, callback: F) -> ASN1Result> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | match callback(self) { [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/reader/mod.rs:1067:41 [INFO] [stdout] | [INFO] [stdout] 1064 | pub fn read_sequence(self, callback: F) -> ASN1Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1067 | self.read_general(TAG_SEQUENCE, |contents| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1068 | | let inner = match contents { [INFO] [stdout] 1069 | | Contents::Primitive(_) => { [INFO] [stdout] 1070 | | return Err(ASN1Error::new(ASN1ErrorKind::Invalid)); [INFO] [stdout] ... | [INFO] [stdout] 1074 | | return callback(&mut BERReaderSeq { inner, }); [INFO] [stdout] 1075 | | }) [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/reader/mod.rs:1173:36 [INFO] [stdout] | [INFO] [stdout] 1170 | pub fn read_set(self, callback: F) -> ASN1Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1173 | self.read_general(TAG_SET, |contents| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 1174 | | let inner = match contents { [INFO] [stdout] 1175 | | Contents::Primitive(_) => { [INFO] [stdout] 1176 | | return Err(ASN1Error::new(ASN1ErrorKind::Invalid)); [INFO] [stdout] ... | [INFO] [stdout] 1208 | | return Ok(result); [INFO] [stdout] 1209 | | }) [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/reader/mod.rs:1523:32 [INFO] [stdout] | [INFO] [stdout] 1521 | pub fn read_tagged(self, tag: Tag, callback: F) -> ASN1Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1522 | where F: for<'c> FnOnce(BERReader<'a, 'c>) -> ASN1Result { [INFO] [stdout] 1523 | self.read_general(tag, |contents| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1524 | | let inner = match contents { [INFO] [stdout] 1525 | | Contents::Primitive(_) => { [INFO] [stdout] 1526 | | return Err(ASN1Error::new(ASN1ErrorKind::Invalid)); [INFO] [stdout] ... | [INFO] [stdout] 1530 | | callback(BERReader::new(inner)) [INFO] [stdout] 1531 | | }) [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/reader/mod.rs:1589:37 [INFO] [stdout] | [INFO] [stdout] 1585 | pub fn read_with_buffer(self, callback: F) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1589 | self.inner.read_with_buffer(|inner| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 1590 | | callback(BERReader { [INFO] [stdout] 1591 | | inner, [INFO] [stdout] 1592 | | implicit_tag, [INFO] [stdout] 1593 | | }) [INFO] [stdout] 1594 | | }) [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/reader/mod.rs:1700:34 [INFO] [stdout] | [INFO] [stdout] 1697 | pub fn read_optional(&mut self, callback: F) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1700 | self.inner.read_optional(|inner| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 1701 | | callback(BERReader::new(inner)) [INFO] [stdout] 1702 | | }) [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/reader/mod.rs:1733:15 [INFO] [stdout] | [INFO] [stdout] 1729 | pub fn read_default(&mut self, default: T, callback: F) [INFO] [stdout] | ---------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1733 | match self.read_optional(callback)? { [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/reader/mod.rs:1749:37 [INFO] [stdout] | [INFO] [stdout] 1745 | pub fn read_with_buffer(&mut self, callback: F) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1749 | self.inner.read_with_buffer(|inner| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 1750 | | callback(&mut BERReaderSeq { inner, }) [INFO] [stdout] 1751 | | }) [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/reader/mod.rs:1875:15 [INFO] [stdout] | [INFO] [stdout] 1870 | (&mut self, tag_hint: &[Tag], default: T, callback: F) [INFO] [stdout] | ---------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1875 | match self.read_optional(tag_hint, callback)? { [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yasna` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a84fafdd438a80ffdf7e32dab0907bf817b0ffc6222d55cf21bf3d7c06b47120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84fafdd438a80ffdf7e32dab0907bf817b0ffc6222d55cf21bf3d7c06b47120", kill_on_drop: false }` [INFO] [stdout] a84fafdd438a80ffdf7e32dab0907bf817b0ffc6222d55cf21bf3d7c06b47120