[INFO] cloning repository https://github.com/Equilibris/Stack_base_langauge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Equilibris/Stack_base_langauge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquilibris%2FStack_base_langauge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquilibris%2FStack_base_langauge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c6ee0dbdca892fc9c7791d0f4ed721561d4caf8 [INFO] checking Equilibris/Stack_base_langauge against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquilibris%2FStack_base_langauge" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Equilibris/Stack_base_langauge on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Equilibris/Stack_base_langauge [INFO] finished tweaking git repo https://github.com/Equilibris/Stack_base_langauge [INFO] tweaked toml for git repo https://github.com/Equilibris/Stack_base_langauge written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Equilibris/Stack_base_langauge 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v100.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7cb384928151fe69e9529a9ad424d599dd449b988cb3de55e49ed244081ca6f [INFO] running `Command { std: "docker" "start" "-a" "f7cb384928151fe69e9529a9ad424d599dd449b988cb3de55e49ed244081ca6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7cb384928151fe69e9529a9ad424d599dd449b988cb3de55e49ed244081ca6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7cb384928151fe69e9529a9ad424d599dd449b988cb3de55e49ed244081ca6f", kill_on_drop: false }` [INFO] [stdout] f7cb384928151fe69e9529a9ad424d599dd449b988cb3de55e49ed244081ca6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68d7feb8c64ba01f8284b6a5633120a0ff7061649c69fc202d5dd9e66f47343 [INFO] running `Command { std: "docker" "start" "-a" "a68d7feb8c64ba01f8284b6a5633120a0ff7061649c69fc202d5dd9e66f47343", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#c0e13b70) [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling llvm-sys v100.2.3 [INFO] [stderr] Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#c0e13b70) [INFO] [stderr] Checking stack_base_langauge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `inkwell::types::BasicMetadataTypeEnum` [INFO] [stdout] --> src/compiler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use inkwell::types::BasicMetadataTypeEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicMetadataValueEnum`, `BasicValue`, `FloatValue`, `IntValue`, `PointerValue` [INFO] [stdout] --> src/compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BasicMetadataValueEnum, BasicValue, FloatValue, FunctionValue, IntValue, PointerValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FloatPredicate`, `OptimizationLevel` [INFO] [stdout] --> src/compiler.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use inkwell::{FloatPredicate, OptimizationLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkwell::types::BasicMetadataTypeEnum` [INFO] [stdout] --> src/compiler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use inkwell::types::BasicMetadataTypeEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicMetadataValueEnum`, `BasicValue`, `FloatValue`, `IntValue`, `PointerValue` [INFO] [stdout] --> src/compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BasicMetadataValueEnum, BasicValue, FloatValue, FunctionValue, IntValue, PointerValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FloatPredicate`, `OptimizationLevel` [INFO] [stdout] --> src/compiler.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use inkwell::{FloatPredicate, OptimizationLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/ast.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn parse_types(content: Vec) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_ptr` [INFO] [stdout] --> src/compiler.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stack_ptr = builder; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stack_ptr = builder; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/namemap.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_lexer_out` [INFO] [stdout] --> src/repl.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let debug_lexer_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_lexer_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_ast_out` [INFO] [stdout] --> src/repl.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let debug_ast_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_ast_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_comp_out` [INFO] [stdout] --> src/repl.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let debug_comp_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_comp_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/repl.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let builder = ccontext.create_builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accumulator` [INFO] [stdout] --> src/repl.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut accumulator: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/repl.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(res) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut accumulator: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TopLevelNode` is never used [INFO] [stdout] --> src/ast.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TopLevelNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FoldedStreamNode` is never used [INFO] [stdout] --> src/ast.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum FoldedStreamNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoldedStreamNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_until_sqend` is never used [INFO] [stdout] --> src/ast.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn fold_until_sqend(stream: &mut Iter) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_until_cuend` is never used [INFO] [stdout] --> src/ast.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn fold_until_cuend(stream: &mut Iter) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_stream` is never used [INFO] [stdout] --> src/ast.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn fold_stream(stream: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FoldedStream` is never used [INFO] [stdout] --> src/ast.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | type FoldedStream = std::iter::Peekable>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl ASTNode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 155 | pub fn new(node: &mut FoldedStream) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_component` is never used [INFO] [stdout] --> src/ast.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn parse_type_component() -> TypeComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_types` is never used [INFO] [stdout] --> src/ast.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn parse_types(content: Vec) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/ast.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn build_tree(stream: Vec) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Compiler` is never constructed [INFO] [stdout] --> src/compiler.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Compiler<'ctx, 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'ctx, 'a> Compiler<'ctx, 'a> { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NameMapNode` is never used [INFO] [stdout] --> src/namemap.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum NameMapNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameMapNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NameMap` is never used [INFO] [stdout] --> src/namemap.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type NameMap = HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_map` is never used [INFO] [stdout] --> src/namemap.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn extract_name_map(base: Vec) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Comment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Ident(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | NumericLiteral(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | NumericLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | CharLiteral(char), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | CharLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | StringLiteral(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | StringLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Square(bool), // True = open, False = close [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Square(()), // True = open, False = close [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Curly(bool), // True = open, False = close [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Curly(()), // True = open, False = close [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/ast.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn parse_types(content: Vec) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_ptr` [INFO] [stdout] --> src/compiler.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stack_ptr = builder; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stack_ptr = builder; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/namemap.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_lexer_out` [INFO] [stdout] --> src/repl.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let debug_lexer_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_lexer_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_ast_out` [INFO] [stdout] --> src/repl.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let debug_ast_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_ast_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_comp_out` [INFO] [stdout] --> src/repl.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let debug_comp_out = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_comp_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/repl.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let builder = ccontext.create_builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accumulator` [INFO] [stdout] --> src/repl.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut accumulator: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accumulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/repl.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(res) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut accumulator: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Typing(String, Vec), // ?ident type [INFO] [stdout] | ------ ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | Typing((), ()), // ?ident type [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_component` is never used [INFO] [stdout] --> src/ast.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn parse_type_component() -> TypeComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Compiler` is never constructed [INFO] [stdout] --> src/compiler.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Compiler<'ctx, 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'ctx, 'a> Compiler<'ctx, 'a> { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `implementation` and `depends_on` are never read [INFO] [stdout] --> src/namemap.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | Word { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 13 | implementation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | depends_on: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/namemap.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | AliasedWord(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | AliasedWord(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/namemap.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | StringConst(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | StringConst(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/namemap.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | NumericConst(NumericLiteral), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | NumericConst(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tokenizer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Comment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.69s [INFO] running `Command { std: "docker" "inspect" "a68d7feb8c64ba01f8284b6a5633120a0ff7061649c69fc202d5dd9e66f47343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68d7feb8c64ba01f8284b6a5633120a0ff7061649c69fc202d5dd9e66f47343", kill_on_drop: false }` [INFO] [stdout] a68d7feb8c64ba01f8284b6a5633120a0ff7061649c69fc202d5dd9e66f47343