[INFO] cloning repository https://github.com/422404/Lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/422404/Lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F422404%2FLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F422404%2FLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 215df43cda38b563e67ce18be72b21cc23b34e63 [INFO] checking 422404/Lang/215df43cda38b563e67ce18be72b21cc23b34e63 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F422404%2FLang" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/422404/Lang 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/422404/Lang [INFO] finished tweaking git repo https://github.com/422404/Lang [INFO] tweaked toml for git repo https://github.com/422404/Lang written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/422404/Lang 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] warning: /workspace/builds/worker-0-tc1/source/parser/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/compiler/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded pest_meta v2.1.0 [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded pest v2.1.0 [INFO] [stderr] Downloaded syn v0.15.24 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 94775e29170cc091f75c9d651401b652aa401869f6b29e16e2040e8e5e356d7c [INFO] running `Command { std: "docker" "start" "-a" "94775e29170cc091f75c9d651401b652aa401869f6b29e16e2040e8e5e356d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94775e29170cc091f75c9d651401b652aa401869f6b29e16e2040e8e5e356d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94775e29170cc091f75c9d651401b652aa401869f6b29e16e2040e8e5e356d7c", kill_on_drop: false }` [INFO] [stdout] 94775e29170cc091f75c9d651401b652aa401869f6b29e16e2040e8e5e356d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 976d8113d8e514dcc0e7ceb8433888ac694569532b26753d81f53087d44673ef [INFO] running `Command { std: "docker" "start" "-a" "976d8113d8e514dcc0e7ceb8433888ac694569532b26753d81f53087d44673ef", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/compiler/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/parser/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking pest v2.1.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking lang-parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking lang-compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_attribute(&mut self, n: &mut Attribute) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_param(&mut self, n: &mut Param) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | fn visit_identifier(&mut self, n: &mut Identifier) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | fn visit_integer(&mut self, n: &mut Integer) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | fn visit_string_litteral(&mut self, n: &mut StringLitteral) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | fn visit_boolean(&mut self, n: &mut Boolean) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn visit_char(&mut self, n: &mut Char) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> compiler/src/ast_actions/modifiers/block_expander.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | for mut member in b.get_members() { [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: variable does not need to be mutable [INFO] [stdout] --> compiler/src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | Entry::Vacant(mut e) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> compiler/src/source_file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] 10 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` has derived impls for the traits `Debug` and `Clone`, 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: associated items `get_code` and `new` are never used [INFO] [stdout] --> compiler/src/source_file.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SourceFile { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_code(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(path: String, code: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AstFold` is never used [INFO] [stdout] --> compiler/src/ast_actions/ast_fold.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AstFold { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Class(String, Vec, (usize, usize), ClassSymbolTable), // (base class, implemented interfaces, pos, CST) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 24 | Class((), (), (), ()), // (base class, implemented interfaces, pos, CST) [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Fun(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 25 | Fun((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Field(String, (usize, usize)), // (type, pos) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 36 | Field((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | Method(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | ------ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 37 | Method((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | Param(String, (usize, usize)), // (type, pos) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 48 | Param((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Var(String, (usize, usize)), // (type, pos) [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 49 | Var((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Closure(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 50 | Closure((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_attribute(&mut self, n: &mut Attribute) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_param(&mut self, n: &mut Param) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | fn visit_identifier(&mut self, n: &mut Identifier) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | fn visit_integer(&mut self, n: &mut Integer) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | fn visit_string_litteral(&mut self, n: &mut StringLitteral) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | fn visit_boolean(&mut self, n: &mut Boolean) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> compiler/src/ast_actions/ast_visitor.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn visit_char(&mut self, n: &mut Char) -> () {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> compiler/src/ast_actions/modifiers/block_expander.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | for mut member in b.get_members() { [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: variable does not need to be mutable [INFO] [stdout] --> compiler/src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | Entry::Vacant(mut e) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> compiler/src/source_file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] 10 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` has derived impls for the traits `Debug` and `Clone`, 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: associated items `get_code` and `new` are never used [INFO] [stdout] --> compiler/src/source_file.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SourceFile { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_code(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(path: String, code: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AstFold` is never used [INFO] [stdout] --> compiler/src/ast_actions/ast_fold.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AstFold { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Class(String, Vec, (usize, usize), ClassSymbolTable), // (base class, implemented interfaces, pos, CST) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 24 | Class((), (), (), ()), // (base class, implemented interfaces, pos, CST) [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Fun(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 25 | Fun((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Field(String, (usize, usize)), // (type, pos) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 36 | Field((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | Method(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | ------ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 37 | Method((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | Param(String, (usize, usize)), // (type, pos) [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 48 | Param((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Var(String, (usize, usize)), // (type, pos) [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 49 | Var((), ()), // (type, pos) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> compiler/src/symbol_table.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Closure(String, (usize, usize), FunctionSymbolTable), // (return type, pos, FST) [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FSTEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] 50 | Closure((), (), ()), // (return type, pos, FST) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "976d8113d8e514dcc0e7ceb8433888ac694569532b26753d81f53087d44673ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976d8113d8e514dcc0e7ceb8433888ac694569532b26753d81f53087d44673ef", kill_on_drop: false }` [INFO] [stdout] 976d8113d8e514dcc0e7ceb8433888ac694569532b26753d81f53087d44673ef