[INFO] cloning repository https://github.com/ZillaZ/NoirLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZillaZ/NoirLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12f34b1ac2d9f5e3b537bba3ae71f29b2f9e7cca [INFO] checking ZillaZ/NoirLang/12f34b1ac2d9f5e3b537bba3ae71f29b2f9e7cca 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%2FZillaZ%2FNoirLang" "/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/ZillaZ/NoirLang 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/ZillaZ/NoirLang [INFO] finished tweaking git repo https://github.com/ZillaZ/NoirLang [INFO] tweaked toml for git repo https://github.com/ZillaZ/NoirLang written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZillaZ/NoirLang 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-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] 6174e2e97f32052f8ce36b4ffee3f939f9d21b537d357f4631d0b55d2f8707c7 [INFO] running `Command { std: "docker" "start" "-a" "6174e2e97f32052f8ce36b4ffee3f939f9d21b537d357f4631d0b55d2f8707c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6174e2e97f32052f8ce36b4ffee3f939f9d21b537d357f4631d0b55d2f8707c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6174e2e97f32052f8ce36b4ffee3f939f9d21b537d357f4631d0b55d2f8707c7", kill_on_drop: false }` [INFO] [stdout] 6174e2e97f32052f8ce36b4ffee3f939f9d21b537d357f4631d0b55d2f8707c7 [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] d356d09987a468956f218d193c9b3f65bf2f8a0549f4c99033fffdba780f0627 [INFO] running `Command { std: "docker" "start" "-a" "d356d09987a468956f218d193c9b3f65bf2f8a0549f4c99033fffdba780f0627", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking gccjit_sys v0.1.0 [INFO] [stderr] Checking gccjit v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking noir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Function` and `Struct` [INFO] [stdout] --> src/modules/gcc.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | BinaryOp, Block, ComparisonOp, Context, Function, LValue, Parameter, RValue, Struct, ToLValue, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/modules/gcc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/modules/gcc.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::modules::structs::{Field, Otherwise}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GccContext` [INFO] [stdout] --> src/modules/memory.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use super::gcc::{GccContext, GccValues}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function` and `Struct` [INFO] [stdout] --> src/modules/gcc.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | BinaryOp, Block, ComparisonOp, Context, Function, LValue, Parameter, RValue, Struct, ToLValue, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/modules/gcc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/modules/gcc.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::modules::structs::{Field, Otherwise}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GccContext` [INFO] [stdout] --> src/modules/memory.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use super::gcc::{GccContext, GccValues}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/modules/gcc.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new_with_context(context: &'a Context<'a>, ast: Ast) -> GccContext<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/modules/gcc.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn type_of(&'a self, argument: Type<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:224:56 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_trait(&'a self, r#trait: &structs::Trait, block: &mut Block<'a>, memory: &mut Memory<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/modules/gcc.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new_with_context(context: &'a Context<'a>, ast: Ast) -> GccContext<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/modules/gcc.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn type_of(&'a self, argument: Type<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:224:56 [INFO] [stdout] | [INFO] [stdout] 224 | fn parse_trait(&'a self, r#trait: &structs::Trait, block: &mut Block<'a>, memory: &mut Memory<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:1198:64 [INFO] [stdout] | [INFO] [stdout] 1198 | fn parse_name(&self, name: &Name, memory: &mut Memory<'a>, block: &mut Block<'a>) -> GccValues<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:142:56 [INFO] [stdout] | [INFO] [stdout] 142 | fn build_extension(&self, pairs: &mut Pairs, context: &mut AstContext) -> Extension { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:1198:64 [INFO] [stdout] | [INFO] [stdout] 1198 | fn parse_name(&self, name: &Name, memory: &mut Memory<'a>, block: &mut Block<'a>) -> GccValues<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:494:44 [INFO] [stdout] | [INFO] [stdout] 494 | fn build_char(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:582:44 [INFO] [stdout] | [INFO] [stdout] 582 | fn build_bool(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:142:56 [INFO] [stdout] | [INFO] [stdout] 142 | fn build_extension(&self, pairs: &mut Pairs, context: &mut AstContext) -> Extension { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:642:54 [INFO] [stdout] | [INFO] [stdout] 642 | fn build_function_kind(&self, pair: &Pair, context: &mut AstContext) -> FunctionKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:701:52 [INFO] [stdout] | [INFO] [stdout] 701 | fn build_string_value(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:727:47 [INFO] [stdout] | [INFO] [stdout] 727 | fn build_integer(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:731:45 [INFO] [stdout] | [INFO] [stdout] 731 | fn build_float(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:735:51 [INFO] [stdout] | [INFO] [stdout] 735 | fn build_name(&self, pairs: &mut Pairs, context: &mut AstContext) -> Name { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn build_struct_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:824:55 [INFO] [stdout] | [INFO] [stdout] 824 | fn build_int_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:840:57 [INFO] [stdout] | [INFO] [stdout] 840 | fn build_float_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:494:44 [INFO] [stdout] | [INFO] [stdout] 494 | fn build_char(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:582:44 [INFO] [stdout] | [INFO] [stdout] 582 | fn build_bool(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:642:54 [INFO] [stdout] | [INFO] [stdout] 642 | fn build_function_kind(&self, pair: &Pair, context: &mut AstContext) -> FunctionKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:701:52 [INFO] [stdout] | [INFO] [stdout] 701 | fn build_string_value(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:727:47 [INFO] [stdout] | [INFO] [stdout] 727 | fn build_integer(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:731:45 [INFO] [stdout] | [INFO] [stdout] 731 | fn build_float(&self, pair: Pair, context: &mut AstContext) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:735:51 [INFO] [stdout] | [INFO] [stdout] 735 | fn build_name(&self, pairs: &mut Pairs, context: &mut AstContext) -> Name { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn build_struct_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:824:55 [INFO] [stdout] | [INFO] [stdout] 824 | fn build_int_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:840:57 [INFO] [stdout] | [INFO] [stdout] 840 | fn build_float_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/structs.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/modules/structs.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 239 | Exported => FunctionType::Exported, [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 240 | External => FunctionType::Extern, [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 241 | Native => FunctionType::Internal, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 242 | _ => unreachable!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/modules/structs.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/modules/structs.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 239 | Exported => FunctionType::Exported, [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 240 | External => FunctionType::Extern, [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 241 | Native => FunctionType::Internal, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 242 | _ => unreachable!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_context`, `type_of`, and `parse_field` are never used [INFO] [stdout] --> src/modules/gcc.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a> GccContext<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 125 | pub fn new_with_context(context: &'a Context<'a>, ast: Ast) -> GccContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn type_of(&'a self, argument: Type<'a>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | fn parse_field( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `memory_tree`, and `extensions` are never read [INFO] [stdout] --> src/modules/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub memory_tree: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub extensions: HashMap)->GccValues>> [INFO] [stdout] | ^^^^^^^^^^ [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] --> src/modules/parser.rs:342:37 [INFO] [stdout] | [INFO] [stdout] 325 | .map_infix(|lhs, infix, rhs| { [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] 342 | Operation::BinaryOp(BinaryOp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 343 | | lhs: Box::new(lhs), [INFO] [stdout] 344 | | op, [INFO] [stdout] 345 | | rhs: Box::new(rhs), [INFO] [stdout] 346 | | }) [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] --> src/modules/parser.rs:354:36 [INFO] [stdout] | [INFO] [stdout] 348 | .map_prefix(|prefix, value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Operation::UnaryOp(UnaryOp { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 355 | | prefix, [INFO] [stdout] 356 | | value: Box::new(value), [INFO] [stdout] 357 | | }) [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] --> src/modules/parser.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 422 | let mut head: Option> = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | *head.unwrap_or_else(|| { [INFO] [stdout] | __________^ [INFO] [stdout] 444 | | Box::new(FieldAccess { [INFO] [stdout] 445 | | name: FieldAccessName::Name(Name { [INFO] [stdout] 446 | | name: String::new(), [INFO] [stdout] ... | [INFO] [stdout] 450 | | }) [INFO] [stdout] 451 | | }) [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] --> src/modules/parser.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 501 | let mut array_type = ArrayType { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let mut elements = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | array_type: Box::new(array_type), [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] --> src/modules/structs.rs:212:52 [INFO] [stdout] | [INFO] [stdout] 212 | expressions: self.expr.iter().map(|x| *x.clone()).collect::>(), [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: associated items `new_with_context`, `type_of`, and `parse_field` are never used [INFO] [stdout] --> src/modules/gcc.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a> GccContext<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 125 | pub fn new_with_context(context: &'a Context<'a>, ast: Ast) -> GccContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn type_of(&'a self, argument: Type<'a>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | fn parse_field( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `memory_tree`, and `extensions` are never read [INFO] [stdout] --> src/modules/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub memory_tree: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub extensions: HashMap)->GccValues>> [INFO] [stdout] | ^^^^^^^^^^ [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] --> src/modules/parser.rs:342:37 [INFO] [stdout] | [INFO] [stdout] 325 | .map_infix(|lhs, infix, rhs| { [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] 342 | Operation::BinaryOp(BinaryOp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 343 | | lhs: Box::new(lhs), [INFO] [stdout] 344 | | op, [INFO] [stdout] 345 | | rhs: Box::new(rhs), [INFO] [stdout] 346 | | }) [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] --> src/modules/parser.rs:354:36 [INFO] [stdout] | [INFO] [stdout] 348 | .map_prefix(|prefix, value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Operation::UnaryOp(UnaryOp { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 355 | | prefix, [INFO] [stdout] 356 | | value: Box::new(value), [INFO] [stdout] 357 | | }) [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] --> src/modules/parser.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 422 | let mut head: Option> = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | *head.unwrap_or_else(|| { [INFO] [stdout] | __________^ [INFO] [stdout] 444 | | Box::new(FieldAccess { [INFO] [stdout] 445 | | name: FieldAccessName::Name(Name { [INFO] [stdout] 446 | | name: String::new(), [INFO] [stdout] ... | [INFO] [stdout] 450 | | }) [INFO] [stdout] 451 | | }) [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] --> src/modules/parser.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 501 | let mut array_type = ArrayType { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let mut elements = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | array_type: Box::new(array_type), [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 5 previous errors; 25 warnings emitted [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] --> src/modules/structs.rs:212:52 [INFO] [stdout] | [INFO] [stdout] 212 | expressions: self.expr.iter().map(|x| *x.clone()).collect::>(), [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 `noir` (bin "noir" test) due to 6 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `noir` (bin "noir") due to 6 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d356d09987a468956f218d193c9b3f65bf2f8a0549f4c99033fffdba780f0627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d356d09987a468956f218d193c9b3f65bf2f8a0549f4c99033fffdba780f0627", kill_on_drop: false }` [INFO] [stdout] d356d09987a468956f218d193c9b3f65bf2f8a0549f4c99033fffdba780f0627