[INFO] updating cached repository https://github.com/DPDmancul/srs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c857166e224a92f4ccbf36901e6efa6cbe3c079f [INFO] checking DPDmancul/srs/c857166e224a92f4ccbf36901e6efa6cbe3c079f 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%2FDPDmancul%2Fsrs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DPDmancul/srs 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/DPDmancul/srs [INFO] finished tweaking git repo https://github.com/DPDmancul/srs [INFO] tweaked toml for git repo https://github.com/DPDmancul/srs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DPDmancul/srs 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] 44fb1972e98405219f245b5d8eeb6d362e116fa27a3aa313cb24d1bdd1b123cd [INFO] running `Command { std: "docker" "start" "-a" "44fb1972e98405219f245b5d8eeb6d362e116fa27a3aa313cb24d1bdd1b123cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44fb1972e98405219f245b5d8eeb6d362e116fa27a3aa313cb24d1bdd1b123cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fb1972e98405219f245b5d8eeb6d362e116fa27a3aa313cb24d1bdd1b123cd", kill_on_drop: false }` [INFO] [stdout] 44fb1972e98405219f245b5d8eeb6d362e116fa27a3aa313cb24d1bdd1b123cd [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] 4eecf755e24f2706c65c64bf823fbc7da075f00afe4b9c2fb9cfe9ac21aa896e [INFO] running `Command { std: "docker" "start" "-a" "4eecf755e24f2706c65c64bf823fbc7da075f00afe4b9c2fb9cfe9ac21aa896e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking pretty_assertions v1.2.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking srs v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused variable: `lineno` [INFO] [stdout] --> lib/src/rustify/fn.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | if let Sexp::Atom { val, lineno } = l.next().ok_or(Error { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `lineno: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/src/parser.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 99 | input: impl Iterator>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | / input [INFO] [stdout] 127 | | .enumerate() [INFO] [stdout] 128 | | .batching(move |iterator| loop { [INFO] [stdout] 129 | | match iterator.next() { [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | }) [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] --> lib/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | interspere_token_stream!(a)?, [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 `interspere_token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | res.extend(interspere_token_stream!(a)?); [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 `interspere_token_stream` (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/src/rustify/macros.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | TokenStream::from_iter([ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 11 | | $(token_tree!($variant($($args)*))),+ [INFO] [stdout] 12 | | ]) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let mut body = token_stream![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | token_stream![Group(Delimiter::Brace, body)] [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 `token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | interspere_token_stream!(args)?, [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 `interspere_token_stream` (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/src/rustify/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / TokenStream::from_iter([ [INFO] [stdout] 11 | | $(token_tree!($variant($($args)*))),+ [INFO] [stdout] 12 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn block_to_token_stream<'a>(l: impl Iterator, returns: bool) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | Ok(token_stream![Group( [INFO] [stdout] | ________- [INFO] [stdout] 163 | | Delimiter::Brace, [INFO] [stdout] 164 | | TokenStream::from_iter( [INFO] [stdout] 165 | | l.peekable() [INFO] [stdout] ... | [INFO] [stdout] 172 | | ) [INFO] [stdout] 173 | | )]) [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 `token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | interspere_token_stream!(l[1..].iter(), "::", |p| path_to_token_stream(p, *lineno)) [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 `interspere_token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | interspere_token_stream!(l, ',', |p| path_to_token_stream(p, lineno))? [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 `interspere_token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify/ops.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / interspere_token_stream!(operands, op, |x| exp_to_token_stream(x, false, { [INFO] [stdout] 95 | | let p = precedence; [INFO] [stdout] 96 | | if assoc != 0 { [INFO] [stdout] 97 | | precedence += assoc; [INFO] [stdout] ... | [INFO] [stdout] 100 | | p [INFO] [stdout] 101 | | }))? [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 `interspere_token_stream` (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/src/rustify/macros.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | .intersperse_with(|| Ok($separator.punct_as_token_stream())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/rustify/types.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | Group(Delimiter::Brace, interspere_token_stream!(l)?) [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 `interspere_token_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srs` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4eecf755e24f2706c65c64bf823fbc7da075f00afe4b9c2fb9cfe9ac21aa896e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eecf755e24f2706c65c64bf823fbc7da075f00afe4b9c2fb9cfe9ac21aa896e", kill_on_drop: false }` [INFO] [stdout] 4eecf755e24f2706c65c64bf823fbc7da075f00afe4b9c2fb9cfe9ac21aa896e