[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 master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZillaZ/NoirLang on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gccjit v2.0.0 [INFO] [stderr] Downloaded gccjit_sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5b138b69829d904042aa667a710327c20f89a01626f64812bb69b8c4d70871 [INFO] running `Command { std: "docker" "start" "-a" "cf5b138b69829d904042aa667a710327c20f89a01626f64812bb69b8c4d70871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5b138b69829d904042aa667a710327c20f89a01626f64812bb69b8c4d70871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5b138b69829d904042aa667a710327c20f89a01626f64812bb69b8c4d70871", kill_on_drop: false }` [INFO] [stdout] cf5b138b69829d904042aa667a710327c20f89a01626f64812bb69b8c4d70871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc5f7330c4941d4cb854f866a942b27936491b88a6774e7b0217492da7463489 [INFO] running `Command { std: "docker" "start" "-a" "bc5f7330c4941d4cb854f866a942b27936491b88a6774e7b0217492da7463489", 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: `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: `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: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: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: `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: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: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: 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: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: `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: 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: 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: 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] warning: 25 warnings emitted [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] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.50s [INFO] running `Command { std: "docker" "inspect" "bc5f7330c4941d4cb854f866a942b27936491b88a6774e7b0217492da7463489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc5f7330c4941d4cb854f866a942b27936491b88a6774e7b0217492da7463489", kill_on_drop: false }` [INFO] [stdout] bc5f7330c4941d4cb854f866a942b27936491b88a6774e7b0217492da7463489