[INFO] cloning repository https://github.com/RogenDong/mines-ext [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RogenDong/mines-ext" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRogenDong%2Fmines-ext", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRogenDong%2Fmines-ext'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a89669387780b16589442e1b8f83f222f10f933d [INFO] checking RogenDong/mines-ext/a89669387780b16589442e1b8f83f222f10f933d 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%2FRogenDong%2Fmines-ext" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RogenDong/mines-ext 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/RogenDong/mines-ext [INFO] finished tweaking git repo https://github.com/RogenDong/mines-ext [INFO] tweaked toml for git repo https://github.com/RogenDong/mines-ext written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RogenDong/mines-ext 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: /workspace/builds/worker-7-tc2/source/jni_macro/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a896c7a3b410c10184e279a40f96ea8dc95daf2e33f98dc6dceff932908856c7 [INFO] running `Command { std: "docker" "start" "-a" "a896c7a3b410c10184e279a40f96ea8dc95daf2e33f98dc6dceff932908856c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a896c7a3b410c10184e279a40f96ea8dc95daf2e33f98dc6dceff932908856c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a896c7a3b410c10184e279a40f96ea8dc95daf2e33f98dc6dceff932908856c7", kill_on_drop: false }` [INFO] [stdout] a896c7a3b410c10184e279a40f96ea8dc95daf2e33f98dc6dceff932908856c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] eceb68ab6ec2c58c6aa5e83215a177a8e2283d74af76ecfd748a1207456e9841 [INFO] running `Command { std: "docker" "start" "-a" "eceb68ab6ec2c58c6aa5e83215a177a8e2283d74af76ecfd748a1207456e9841", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/jni_macro/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling mines-ext v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking proc-macro2 v1.0.84 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking mines v0.1.0 (https://github.com/RogenDong/mines-rs.git#8d32e4a3) [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking jni_macro v0.1.0 (/opt/rustwide/workdir/jni_macro) [INFO] [stderr] Compiling thiserror-impl v1.0.61 [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] --> jni_macro/src/jni.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn collect(self) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | self.body.to_token_stream().into() [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] --> jni_macro/src/jni.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn proc_fun(attr: TokenStream, body: ItemFn) -> TokenStream { [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] 110 | // println!("----- fun {}", body.sig.ident.to_string()); [INFO] [stdout] 111 | / FnProcessor::new(attr, body) [INFO] [stdout] 112 | | .add_attributes() [INFO] [stdout] 113 | | .set_visibility() [INFO] [stdout] 114 | | .update_name() [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] --> jni_macro/src/jni.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn proc_mod(attr: TokenStream, mut mm: ItemMod) -> Option { [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] 179 | Some(TokenStream::from(quote! { #mm })) [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 3 previous errors [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] --> jni_macro/src/jni.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn collect(self) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | self.body.to_token_stream().into() [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] --> jni_macro/src/jni.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn proc_fun(attr: TokenStream, body: ItemFn) -> TokenStream { [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] 110 | // println!("----- fun {}", body.sig.ident.to_string()); [INFO] [stdout] 111 | / FnProcessor::new(attr, body) [INFO] [stdout] 112 | | .add_attributes() [INFO] [stdout] 113 | | .set_visibility() [INFO] [stdout] 114 | | .update_name() [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] [stderr] error: could not compile `jni_macro` (lib test) due to 4 previous errors [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] --> jni_macro/src/jni.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn proc_mod(attr: TokenStream, mut mm: ItemMod) -> Option { [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] 179 | Some(TokenStream::from(quote! { #mm })) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jni_macro` (lib) due to 4 previous errors [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] --> jni_macro/src/jni.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn collect(self) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | self.body.to_token_stream().into() [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] --> jni_macro/src/jni.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn proc_fun(attr: TokenStream, body: ItemFn) -> TokenStream { [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] 110 | // println!("----- fun {}", body.sig.ident.to_string()); [INFO] [stdout] 111 | / FnProcessor::new(attr, body) [INFO] [stdout] 112 | | .add_attributes() [INFO] [stdout] 113 | | .set_visibility() [INFO] [stdout] 114 | | .update_name() [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] --> jni_macro/src/jni.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn proc_mod(attr: TokenStream, mut mm: ItemMod) -> Option { [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] 179 | Some(TokenStream::from(quote! { #mm })) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jni_macro` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "eceb68ab6ec2c58c6aa5e83215a177a8e2283d74af76ecfd748a1207456e9841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eceb68ab6ec2c58c6aa5e83215a177a8e2283d74af76ecfd748a1207456e9841", kill_on_drop: false }` [INFO] [stdout] eceb68ab6ec2c58c6aa5e83215a177a8e2283d74af76ecfd748a1207456e9841