[INFO] fetching crate zjson 0.1.5... [INFO] checking zjson-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zjson 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate zjson 0.1.5 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 zjson 0.1.5 [INFO] finished tweaking crates.io crate zjson 0.1.5 [INFO] tweaked toml for crates.io crate zjson 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate zjson 0.1.5 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 828f377d1237c429d664ea776c481ccb5ea248ad19d272659e9d00306cffeb28 [INFO] running `Command { std: "docker" "start" "-a" "828f377d1237c429d664ea776c481ccb5ea248ad19d272659e9d00306cffeb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "828f377d1237c429d664ea776c481ccb5ea248ad19d272659e9d00306cffeb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828f377d1237c429d664ea776c481ccb5ea248ad19d272659e9d00306cffeb28", kill_on_drop: false }` [INFO] [stdout] 828f377d1237c429d664ea776c481ccb5ea248ad19d272659e9d00306cffeb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9b316f536ea20b019b1aee8174d96f5de6367b22e7166df572c3f4a35bd202d8 [INFO] running `Command { std: "docker" "start" "-a" "9b316f536ea20b019b1aee8174d96f5de6367b22e7166df572c3f4a35bd202d8", kill_on_drop: false }` [INFO] [stderr] Checking zjson v0.1.5 (/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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/array/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fff_impl! { [INFO] [stdout] 100 | | type: "array" [INFO] [stdout] 101 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyError>; [INFO] [stdout] 102 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 106 | | ParseAnyError::Array [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/document/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / fff_impl! { [INFO] [stdout] 105 | | type: "document" [INFO] [stdout] 106 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyDocumentError>; [INFO] [stdout] 107 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 111 | | ParseAnyDocumentError::Document [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/multi_document/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fff_impl! { [INFO] [stdout] 90 | | type: "multi-document" [INFO] [stdout] 91 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyMultiDocumentError>; [INFO] [stdout] 92 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 96 | | ParseAnyMultiDocumentError::MultiDocument [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/object/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / fff_impl! { [INFO] [stdout] 123 | | type: "object" [INFO] [stdout] 124 | | value: "key, value pair" [INFO] [stdout] 125 | | f(ParsedString<'json>, &mut Any<'json, '_>) -> Result<_, ParseAnyError>; [INFO] [stdout] ... | [INFO] [stdout] 130 | | ParseAnyError::Object [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zjson` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `number` and `literal` are never used [INFO] [stdout] --> lib/test_parent.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'json> TestParent<'json> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn number(&mut self) -> Number<'json, '_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn literal(&mut self) -> Literal<'json, '_> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/array/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fff_impl! { [INFO] [stdout] 100 | | type: "array" [INFO] [stdout] 101 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyError>; [INFO] [stdout] 102 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 106 | | ParseAnyError::Array [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/document/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / fff_impl! { [INFO] [stdout] 105 | | type: "document" [INFO] [stdout] 106 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyDocumentError>; [INFO] [stdout] 107 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 111 | | ParseAnyDocumentError::Document [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/multi_document/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fff_impl! { [INFO] [stdout] 90 | | type: "multi-document" [INFO] [stdout] 91 | | f(&mut Any<'json, '_>) -> Result<_, ParseAnyMultiDocumentError>; [INFO] [stdout] 92 | | accumulator, mut value => [INFO] [stdout] ... | [INFO] [stdout] 96 | | ParseAnyMultiDocumentError::MultiDocument [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::containers::fff_impl` which comes from the expansion of the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> lib/containers.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn find(&mut self, mut $f: F) -> Result, E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/object/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / fff_impl! { [INFO] [stdout] 123 | | type: "object" [INFO] [stdout] 124 | | value: "key, value pair" [INFO] [stdout] 125 | | f(ParsedString<'json>, &mut Any<'json, '_>) -> Result<_, ParseAnyError>; [INFO] [stdout] ... | [INFO] [stdout] 130 | | ParseAnyError::Object [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `fff_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zjson` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9b316f536ea20b019b1aee8174d96f5de6367b22e7166df572c3f4a35bd202d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b316f536ea20b019b1aee8174d96f5de6367b22e7166df572c3f4a35bd202d8", kill_on_drop: false }` [INFO] [stdout] 9b316f536ea20b019b1aee8174d96f5de6367b22e7166df572c3f4a35bd202d8