[INFO] cloning repository https://github.com/Clay-6/ocrlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Clay-6/ocrlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClay-6%2Focrlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClay-6%2Focrlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96f9760a22e3c4ab66d30ad45a915f49e23cd3e2 [INFO] checking Clay-6/ocrlang/96f9760a22e3c4ab66d30ad45a915f49e23cd3e2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClay-6%2Focrlang" "/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/Clay-6/ocrlang on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Clay-6/ocrlang [INFO] finished tweaking git repo https://github.com/Clay-6/ocrlang [INFO] tweaked toml for git repo https://github.com/Clay-6/ocrlang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Clay-6/ocrlang 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c87918a3dc0fc1769aaf16f83955473e1d9a4549edc80e6e1b0904fc98a3dab [INFO] running `Command { std: "docker" "start" "-a" "2c87918a3dc0fc1769aaf16f83955473e1d9a4549edc80e6e1b0904fc98a3dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c87918a3dc0fc1769aaf16f83955473e1d9a4549edc80e6e1b0904fc98a3dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c87918a3dc0fc1769aaf16f83955473e1d9a4549edc80e6e1b0904fc98a3dab", kill_on_drop: false }` [INFO] [stdout] 2c87918a3dc0fc1769aaf16f83955473e1d9a4549edc80e6e1b0904fc98a3dab [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42342018c314af85f1995f8d5d04c6716cf15147c8ea8346fb39f2615cc8a2c7 [INFO] running `Command { std: "docker" "start" "-a" "42342018c314af85f1995f8d5d04c6716cf15147c8ea8346fb39f2615cc8a2c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking la-arena v0.3.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking rowan v0.15.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking line-index v0.1.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking ocrlang_lexer v1.2.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Checking ocrlang_syntax v1.2.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ocrlang_parser v1.2.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stderr] Checking ocrlang_ast v1.2.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stdout] error: this value of type `rowan::api::SyntaxNodeChildren` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ast/src/lib.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 214 | .and_then(|t| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | t.children() [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: this value of type `FilterMap, fn(rowan::utility_types::NodeOrToken, rowan::api::SyntaxToken>) -> Option> {rowan::utility_types::NodeOrToken::, rowan::api::SyntaxToken>::into_token}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ast/src/lib.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 217 | ... .map(|n| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | / ... n.children_with_tokens() [INFO] [stdout] 219 | | ... .filter_map(SyntaxElement::into_token) [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] [stderr] error: could not compile `ocrlang_ast` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `rowan::api::SyntaxNodeChildren` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ast/src/lib.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 214 | .and_then(|t| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | t.children() [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: this value of type `FilterMap, fn(rowan::utility_types::NodeOrToken, rowan::api::SyntaxToken>) -> Option> {rowan::utility_types::NodeOrToken::, rowan::api::SyntaxToken>::into_token}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ast/src/lib.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 217 | ... .map(|n| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | / ... n.children_with_tokens() [INFO] [stdout] 219 | | ... .filter_map(SyntaxElement::into_token) [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] [stderr] error: could not compile `ocrlang_ast` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "42342018c314af85f1995f8d5d04c6716cf15147c8ea8346fb39f2615cc8a2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42342018c314af85f1995f8d5d04c6716cf15147c8ea8346fb39f2615cc8a2c7", kill_on_drop: false }` [INFO] [stdout] 42342018c314af85f1995f8d5d04c6716cf15147c8ea8346fb39f2615cc8a2c7