[INFO] cloning repository https://github.com/AtosLab/rust-tree-sitter-base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AtosLab/rust-tree-sitter-base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtosLab%2Frust-tree-sitter-base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtosLab%2Frust-tree-sitter-base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb5fbdd78700b20754da5e6b4f2b4317a912e2d2 [INFO] checking AtosLab/rust-tree-sitter-base/fb5fbdd78700b20754da5e6b4f2b4317a912e2d2 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%2FAtosLab%2Frust-tree-sitter-base" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AtosLab/rust-tree-sitter-base 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/AtosLab/rust-tree-sitter-base [INFO] finished tweaking git repo https://github.com/AtosLab/rust-tree-sitter-base [INFO] tweaked toml for git repo https://github.com/AtosLab/rust-tree-sitter-base written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AtosLab/rust-tree-sitter-base 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2ee549e2283f8ae4448c1a7984968b0cd38ae4da1d9e53fae7a94d0d5aae452a [INFO] running `Command { std: "docker" "start" "-a" "2ee549e2283f8ae4448c1a7984968b0cd38ae4da1d9e53fae7a94d0d5aae452a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ee549e2283f8ae4448c1a7984968b0cd38ae4da1d9e53fae7a94d0d5aae452a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee549e2283f8ae4448c1a7984968b0cd38ae4da1d9e53fae7a94d0d5aae452a", kill_on_drop: false }` [INFO] [stdout] 2ee549e2283f8ae4448c1a7984968b0cd38ae4da1d9e53fae7a94d0d5aae452a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 835856f028dfac41726f1fe852763c35508584dca82b265891ee0a39fb78821d [INFO] running `Command { std: "docker" "start" "-a" "835856f028dfac41726f1fe852763c35508584dca82b265891ee0a39fb78821d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 (/opt/rustwide/workdir/cli/loader) [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking utf8-width v0.1.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking smallbitvec v2.5.1 [INFO] [stderr] Checking html-escape v0.2.6 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tree-sitter v0.20.9 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking tree-sitter-highlight v0.20.1 (/opt/rustwide/workdir/highlight) [INFO] [stderr] Checking tree-sitter-tags v0.20.2 (/opt/rustwide/workdir/tags) [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] --> highlight/src/lib.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 198 | let mut query = Query::new(language, &query_source)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let mut combined_injections_query = Query::new(language, injection_query)?; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let combined_injections_query = if has_combined_queries { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(HighlightConfiguration { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | language, [INFO] [stdout] 266 | | query, [INFO] [stdout] 267 | | combined_injections_query, [INFO] [stdout] ... | [INFO] [stdout] 277 | | local_scope_capture_index, [INFO] [stdout] 278 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-sitter-highlight` (lib) due to 2 previous errors [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] --> tags/src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 118 | let query = Query::new(language, &format!("{}{}", locals_query, tags_query))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let mut syntax_type_names = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | let pattern_info = (0..query.pattern_count()) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(TagsConfiguration { [INFO] [stdout] | ____________^ [INFO] [stdout] 222 | | language, [INFO] [stdout] 223 | | query, [INFO] [stdout] 224 | | syntax_type_names, [INFO] [stdout] ... | [INFO] [stdout] 233 | | pattern_info, [INFO] [stdout] 234 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> tags/src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 270 | let tree = self.parser.parse(source, None).ok_or(Error::Cancelled)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 279 | | TagsIter { [INFO] [stdout] 280 | | _tree: tree, [INFO] [stdout] 281 | | matches, [INFO] [stdout] ... | [INFO] [stdout] 294 | | tree_ref.root_node().has_error(), [INFO] [stdout] 295 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 2 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] --> tags/src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 118 | let query = Query::new(language, &format!("{}{}", locals_query, tags_query))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let mut syntax_type_names = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | let pattern_info = (0..query.pattern_count()) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(TagsConfiguration { [INFO] [stdout] | ____________^ [INFO] [stdout] 222 | | language, [INFO] [stdout] 223 | | query, [INFO] [stdout] 224 | | syntax_type_names, [INFO] [stdout] ... | [INFO] [stdout] 233 | | pattern_info, [INFO] [stdout] 234 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> tags/src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 270 | let tree = self.parser.parse(source, None).ok_or(Error::Cancelled)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 279 | | TagsIter { [INFO] [stdout] 280 | | _tree: tree, [INFO] [stdout] 281 | | matches, [INFO] [stdout] ... | [INFO] [stdout] 294 | | tree_ref.root_node().has_error(), [INFO] [stdout] 295 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 2 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] --> highlight/src/lib.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 198 | let mut query = Query::new(language, &query_source)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let mut combined_injections_query = Query::new(language, injection_query)?; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let combined_injections_query = if has_combined_queries { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(HighlightConfiguration { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | language, [INFO] [stdout] 266 | | query, [INFO] [stdout] 267 | | combined_injections_query, [INFO] [stdout] ... | [INFO] [stdout] 277 | | local_scope_capture_index, [INFO] [stdout] 278 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [stderr] error: could not compile `tree-sitter-tags` (lib test) due to 3 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-sitter-tags` (lib) due to 3 previous errors [INFO] [stderr] error: could not compile `tree-sitter-highlight` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "835856f028dfac41726f1fe852763c35508584dca82b265891ee0a39fb78821d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835856f028dfac41726f1fe852763c35508584dca82b265891ee0a39fb78821d", kill_on_drop: false }` [INFO] [stdout] 835856f028dfac41726f1fe852763c35508584dca82b265891ee0a39fb78821d