[INFO] cloning repository https://github.com/rhit99900/unilang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rhit99900/unilang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhit99900%2Funilang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhit99900%2Funilang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7119530d0799f3d2efbf58b0da802043b0e0af9c [INFO] checking rhit99900/unilang against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhit99900%2Funilang" "/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/rhit99900/unilang 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/rhit99900/unilang [INFO] finished tweaking git repo https://github.com/rhit99900/unilang [INFO] tweaked toml for git repo https://github.com/rhit99900/unilang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rhit99900/unilang 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] 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] a23a98c7d431180df3739f4dd5b750714b888692f0390f4a8e8ac23c02a27167 [INFO] running `Command { std: "docker" "start" "-a" "a23a98c7d431180df3739f4dd5b750714b888692f0390f4a8e8ac23c02a27167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a23a98c7d431180df3739f4dd5b750714b888692f0390f4a8e8ac23c02a27167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23a98c7d431180df3739f4dd5b750714b888692f0390f4a8e8ac23c02a27167", kill_on_drop: false }` [INFO] [stdout] a23a98c7d431180df3739f4dd5b750714b888692f0390f4a8e8ac23c02a27167 [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] 2c37f74adfae272efd738b401cd86fd1c82c8e46a00678ccf7040b5a1722603d [INFO] running `Command { std: "docker" "start" "-a" "2c37f74adfae272efd738b401cd86fd1c82c8e46a00678ccf7040b5a1722603d", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking termion v3.0.0 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking unilang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/syntax/lexer.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/syntax/lexer.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/syntax/lexer.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | TokenType::BackSlash => write!(f, "\\"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/syntax/lexer.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let mut kind = TokenType::BadChar; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/evaluator.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/syntax/lexer.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | TokenType::BackSlash => write!(f, "\\"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/syntax/lexer.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let mut kind = TokenType::BadChar; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_unary_operator` and `parse_unary_expression` are never used [INFO] [stdout] --> src/syntax/parser.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn parse_unary_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_unary_expression(&mut self) -> SyntaxTreeExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/syntax/expression.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum SyntaxTreeExpressionKind { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> src/syntax/expression.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl SyntaxTreeExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unary(operator: UnaryOperator, operand: SyntaxTreeExpression) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/syntax/types/_variable.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl VariableExpression { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 8 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Power`, `BitwiseAnd`, `BitwiseOr`, and `BitwiseXor` are never constructed [INFO] [stdout] --> src/syntax/types/_binary.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BinaryOperatorKind { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | BitwiseXor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `BitwiseNot` are never constructed [INFO] [stdout] --> src/syntax/types/_unary.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum UnaryOperatorKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 8 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | BitwiseNot [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax/types/_unary.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl UnaryOperator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(kind: UnaryOperatorKind, token: Token) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/syntax/printer.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SyntaxTreePrinter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | pub indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_new_line` and `print_with_indent` are never used [INFO] [stdout] --> src/syntax/printer.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl SyntaxTreePrinter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn add_new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn print_with_indent(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub kind: DiagnosticKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 32 | impl DiagnosticGlossary { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/evaluator.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/test.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_unary_operator` and `parse_unary_expression` are never used [INFO] [stdout] --> src/syntax/parser.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn parse_unary_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_unary_expression(&mut self) -> SyntaxTreeExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/syntax/expression.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum SyntaxTreeExpressionKind { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> src/syntax/expression.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl SyntaxTreeExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unary(operator: UnaryOperator, operand: SyntaxTreeExpression) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Power`, `BitwiseAnd`, `BitwiseOr`, and `BitwiseXor` are never constructed [INFO] [stdout] --> src/syntax/types/_binary.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BinaryOperatorKind { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | BitwiseXor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `BitwiseNot` are never constructed [INFO] [stdout] --> src/syntax/types/_unary.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum UnaryOperatorKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 8 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | BitwiseNot [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax/types/_unary.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl UnaryOperator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(kind: UnaryOperatorKind, token: Token) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/syntax/printer.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SyntaxTreePrinter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | pub indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_new_line` and `print_with_indent` are never used [INFO] [stdout] --> src/syntax/printer.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl SyntaxTreePrinter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn add_new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn print_with_indent(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub kind: DiagnosticKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 32 | impl DiagnosticGlossary { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "2c37f74adfae272efd738b401cd86fd1c82c8e46a00678ccf7040b5a1722603d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c37f74adfae272efd738b401cd86fd1c82c8e46a00678ccf7040b5a1722603d", kill_on_drop: false }` [INFO] [stdout] 2c37f74adfae272efd738b401cd86fd1c82c8e46a00678ccf7040b5a1722603d [INFO] checking rhit99900/unilang against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhit99900%2Funilang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rhit99900/unilang on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rhit99900/unilang [INFO] finished tweaking git repo https://github.com/rhit99900/unilang [INFO] tweaked toml for git repo https://github.com/rhit99900/unilang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rhit99900/unilang 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c305f1894585d195de8453d7fb36c11b6f965e70d277d33ff562a2fc4960c0ab [INFO] running `Command { std: "docker" "start" "-a" "c305f1894585d195de8453d7fb36c11b6f965e70d277d33ff562a2fc4960c0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c305f1894585d195de8453d7fb36c11b6f965e70d277d33ff562a2fc4960c0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c305f1894585d195de8453d7fb36c11b6f965e70d277d33ff562a2fc4960c0ab", kill_on_drop: false }` [INFO] [stdout] c305f1894585d195de8453d7fb36c11b6f965e70d277d33ff562a2fc4960c0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c2836f37d1874b67857e7241ba41a053b12ac753917f3cb6f1694ffc3a1223e [INFO] running `Command { std: "docker" "start" "-a" "0c2836f37d1874b67857e7241ba41a053b12ac753917f3cb6f1694ffc3a1223e", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking termion v3.0.0 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking unilang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/syntax/lexer.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/syntax/lexer.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/syntax/lexer.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | TokenType::BackSlash => write!(f, "\\"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/syntax/lexer.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let mut kind = TokenType::BadChar; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/evaluator.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_unary_operator` and `parse_unary_expression` are never used [INFO] [stdout] --> src/syntax/parser.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn parse_unary_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_unary_expression(&mut self) -> SyntaxTreeExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/syntax/expression.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum SyntaxTreeExpressionKind { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> src/syntax/expression.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl SyntaxTreeExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unary(operator: UnaryOperator, operand: SyntaxTreeExpression) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/syntax/types/_variable.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl VariableExpression { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 8 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Power`, `BitwiseAnd`, `BitwiseOr`, and `BitwiseXor` are never constructed [INFO] [stdout] --> src/syntax/types/_binary.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BinaryOperatorKind { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | BitwiseXor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `BitwiseNot` are never constructed [INFO] [stdout] --> src/syntax/types/_unary.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum UnaryOperatorKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 8 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | BitwiseNot [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax/types/_unary.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl UnaryOperator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(kind: UnaryOperatorKind, token: Token) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/syntax/printer.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SyntaxTreePrinter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | pub indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_new_line` and `print_with_indent` are never used [INFO] [stdout] --> src/syntax/printer.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl SyntaxTreePrinter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn add_new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn print_with_indent(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub kind: DiagnosticKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 32 | impl DiagnosticGlossary { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/syntax/lexer.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | TokenType::BackSlash => write!(f, "\\"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/syntax/lexer.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let mut kind = TokenType::BadChar; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/evaluator.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/syntax/test.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_unary_operator` and `parse_unary_expression` are never used [INFO] [stdout] --> src/syntax/parser.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn parse_unary_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_unary_expression(&mut self) -> SyntaxTreeExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unary` is never constructed [INFO] [stdout] --> src/syntax/expression.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum SyntaxTreeExpressionKind { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> src/syntax/expression.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl SyntaxTreeExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unary(operator: UnaryOperator, operand: SyntaxTreeExpression) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Power`, `BitwiseAnd`, `BitwiseOr`, and `BitwiseXor` are never constructed [INFO] [stdout] --> src/syntax/types/_binary.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BinaryOperatorKind { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | BitwiseXor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `BitwiseNot` are never constructed [INFO] [stdout] --> src/syntax/types/_unary.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum UnaryOperatorKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 8 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | BitwiseNot [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperatorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/syntax/types/_unary.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl UnaryOperator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(kind: UnaryOperatorKind, token: Token) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/syntax/printer.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SyntaxTreePrinter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | pub indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_new_line` and `print_with_indent` are never used [INFO] [stdout] --> src/syntax/printer.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl SyntaxTreePrinter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn add_new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn print_with_indent(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub kind: DiagnosticKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 32 | impl DiagnosticGlossary { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "0c2836f37d1874b67857e7241ba41a053b12ac753917f3cb6f1694ffc3a1223e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2836f37d1874b67857e7241ba41a053b12ac753917f3cb6f1694ffc3a1223e", kill_on_drop: false }` [INFO] [stdout] 0c2836f37d1874b67857e7241ba41a053b12ac753917f3cb6f1694ffc3a1223e