[INFO] fetching crate mochi-lang 0.1.1... [INFO] checking mochi-lang-0.1.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mochi-lang 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mochi-lang 0.1.1 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] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mochi-lang 0.1.1 [INFO] finished tweaking crates.io crate mochi-lang 0.1.1 [INFO] tweaked toml for crates.io crate mochi-lang 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate mochi-lang 0.1.1 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 287c003bb8930437abd5b6fdde300ce41ab19e8a71fa21a8aa8fcd5db3f05984 [INFO] running `Command { std: "docker" "start" "-a" "287c003bb8930437abd5b6fdde300ce41ab19e8a71fa21a8aa8fcd5db3f05984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287c003bb8930437abd5b6fdde300ce41ab19e8a71fa21a8aa8fcd5db3f05984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287c003bb8930437abd5b6fdde300ce41ab19e8a71fa21a8aa8fcd5db3f05984", kill_on_drop: false }` [INFO] [stdout] 287c003bb8930437abd5b6fdde300ce41ab19e8a71fa21a8aa8fcd5db3f05984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 160edfb148ecd33a7eda69c60dc3a277e55e549b3e9dd39f3a92b6cfc52fe207 [INFO] running `Command { std: "docker" "start" "-a" "160edfb148ecd33a7eda69c60dc3a277e55e549b3e9dd39f3a92b6cfc52fe207", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking mochi-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `(&Operator, expr_typ::Expr)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr/unary.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 17 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | match (&self.op.op, *self.expr) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 682 | let mutable = match self.matches(TokenKind::Keyword(Keyword::Mut)) { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | if let Ok(open) = self.matches(TokenKind::Marker(Marker::LeftBracket)) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/stmt/function.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 28 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | match types.insert(TypeId::new(&self.name.lexeme), typ) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/stmt/stub.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 24 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | match types.insert(TypeId::new(&self.name.lexeme), typ) { [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: this value of type `(&token::Operator, expr_typ::Expr)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr/unary.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 17 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | match (&self.op.op, *self.expr) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 682 | let mutable = match self.matches(TokenKind::Keyword(Keyword::Mut)) { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | if let Ok(open) = self.matches(TokenKind::Marker(Marker::LeftBracket)) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/stmt/function.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 28 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | match types.insert(TypeId::new(&self.name.lexeme), typ) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/stmt/stub.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 24 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | match types.insert(TypeId::new(&self.name.lexeme), typ) { [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: this value of type `r#type::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/type_id.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 323 | let maybe_typ = types.get(self).cloned(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Some(typ) => match typ { [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] warning: field `close` is never read [INFO] [stdout] --> src/ast/expr/block.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub open: Token, [INFO] [stdout] 15 | pub close: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | Cast { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 144 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | Unpack { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 147 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/expr/match.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MatchElseExpr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 33 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchElseExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/stmt/impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InterfaceImplStmt { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 21 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceImplStmt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `outputs`, and `generic_map` are never read [INFO] [stdout] --> src/types/function.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub body: TypedExpr, [INFO] [stdout] 56 | pub generic_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/function.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FunctionStub { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub generics: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub impl_on: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/type.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | RecordPreDeclaration { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 66 | token: Token, [INFO] [stdout] 67 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/types/type.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | Enum { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 105 | /// Token of the `enum` keyword [INFO] [stdout] 106 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> src/types/type.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | Stub { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 126 | func: FunctionStub, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi-lang` (bin "mochi") due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `r#type::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/type_id.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 323 | let maybe_typ = types.get(self).cloned(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Some(typ) => match typ { [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] warning: field `close` is never read [INFO] [stdout] --> src/ast/expr/block.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub open: Token, [INFO] [stdout] 15 | pub close: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | Cast { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 144 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | Unpack { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 147 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/expr/match.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MatchElseExpr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 33 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchElseExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/stmt/impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InterfaceImplStmt { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 21 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceImplStmt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `outputs`, and `generic_map` are never read [INFO] [stdout] --> src/types/function.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub body: TypedExpr, [INFO] [stdout] 56 | pub generic_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/function.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FunctionStub { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub generics: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub impl_on: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/type.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | RecordPreDeclaration { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 66 | token: Token, [INFO] [stdout] 67 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/types/type.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | Enum { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 105 | /// Token of the `enum` keyword [INFO] [stdout] 106 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> src/types/type.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | Stub { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 126 | func: FunctionStub, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi-lang` (bin "mochi" test) due to 6 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "160edfb148ecd33a7eda69c60dc3a277e55e549b3e9dd39f3a92b6cfc52fe207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "160edfb148ecd33a7eda69c60dc3a277e55e549b3e9dd39f3a92b6cfc52fe207", kill_on_drop: false }` [INFO] [stdout] 160edfb148ecd33a7eda69c60dc3a277e55e549b3e9dd39f3a92b6cfc52fe207