[INFO] cloning repository https://github.com/shadept/rustcc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadept/rustcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadept%2Frustcc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadept%2Frustcc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7839d736decca9d7832548012499bfd39807931
[INFO] checking shadept/rustcc against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadept%2Frustcc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shadept/rustcc
[INFO] finished tweaking git repo https://github.com/shadept/rustcc
[INFO] tweaked toml for git repo https://github.com/shadept/rustcc written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shadept/rustcc on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shadept/rustcc 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking shadept/rustcc against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadept%2Frustcc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shadept/rustcc
[INFO] finished tweaking git repo https://github.com/shadept/rustcc
[INFO] tweaked toml for git repo https://github.com/shadept/rustcc written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shadept/rustcc on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shadept/rustcc 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a01a7b925e85af7e1597304da31dc4f63d3b5a3f41e2238708aef367462c83a7
[INFO] running `Command { std: "docker" "start" "-a" "a01a7b925e85af7e1597304da31dc4f63d3b5a3f41e2238708aef367462c83a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a01a7b925e85af7e1597304da31dc4f63d3b5a3f41e2238708aef367462c83a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a01a7b925e85af7e1597304da31dc4f63d3b5a3f41e2238708aef367462c83a7", kill_on_drop: false }`
[INFO] [stdout] a01a7b925e85af7e1597304da31dc4f63d3b5a3f41e2238708aef367462c83a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36b3cb5dda960b58903e889e99ee58dc1556dbccc0589f9615776fe5e8b4817c
[INFO] running `Command { std: "docker" "start" "-a" "36b3cb5dda960b58903e889e99ee58dc1556dbccc0589f9615776fe5e8b4817c", kill_on_drop: false }`
[INFO] [stderr]     Checking rustcc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/frontend/diagnostic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::frontend::source::SourceFile`
[INFO] [stdout]  --> src/frontend/diagnostic.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::frontend::source::SourceFile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SemanticError`
[INFO] [stdout]  --> src/main.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::backend::analysis::{SemanticError, resolve_program};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LexerError`
[INFO] [stdout]   --> src/main.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::frontend::lexer::{Lexer, LexerError};
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParserError`
[INFO] [stdout]   --> src/main.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::frontend::parser::{Parser, ParserError};
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileName`
[INFO] [stdout]   --> src/main.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::frontend::source::{FileName, SourceFile};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/main.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{Read, Write, stdout};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/frontend/diagnostic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::frontend::source::SourceFile`
[INFO] [stdout]  --> src/frontend/diagnostic.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::frontend::source::SourceFile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SemanticError`
[INFO] [stdout]  --> src/main.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::backend::analysis::{SemanticError, resolve_program};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LexerError`
[INFO] [stdout]   --> src/main.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::frontend::lexer::{Lexer, LexerError};
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParserError`
[INFO] [stdout]   --> src/main.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::frontend::parser::{Parser, ParserError};
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileName`
[INFO] [stdout]   --> src/main.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::frontend::source::{FileName, SourceFile};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/main.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{Read, Write, stdout};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/backend/analysis.rs:165:58
[INFO] [stdout]     |
[INFO] [stdout] 165 |             SemanticError::DuplicatedVariableDeclaration(name, span) => {
[INFO] [stdout]     |                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/backend/analysis.rs:171:47
[INFO] [stdout]     |
[INFO] [stdout] 171 |             SemanticError::UndeclaredVariable(name, span) => {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/backend/analysis.rs:181:64
[INFO] [stdout]     |
[INFO] [stdout] 181 |             SemanticError::DuplicatedVariableDeclaration(name, span) => {
[INFO] [stdout]     |                                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/backend/analysis.rs:185:53
[INFO] [stdout]     |
[INFO] [stdout] 185 |             SemanticError::UndeclaredVariable(name, span) => {
[INFO] [stdout]     |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/backend/analysis.rs:165:58
[INFO] [stdout]     |
[INFO] [stdout] 165 |             SemanticError::DuplicatedVariableDeclaration(name, span) => {
[INFO] [stdout]     |                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/backend/analysis.rs:171:47
[INFO] [stdout]     |
[INFO] [stdout] 171 |             SemanticError::UndeclaredVariable(name, span) => {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/backend/analysis.rs:181:64
[INFO] [stdout]     |
[INFO] [stdout] 181 |             SemanticError::DuplicatedVariableDeclaration(name, span) => {
[INFO] [stdout]     |                                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/backend/analysis.rs:185:53
[INFO] [stdout]     |
[INFO] [stdout] 185 |             SemanticError::UndeclaredVariable(name, span) => {
[INFO] [stdout]     |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_file`
[INFO] [stdout]    --> src/frontend/lexer.rs:257:30
[INFO] [stdout]     |
[INFO] [stdout] 257 |     pub fn diagnostic(&self, source_file: Arc<SourceFile>) -> Diagnostic {
[INFO] [stdout]     |                              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `close_brace` is never read
[INFO] [stdout]   --> src/frontend/parser.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut close_brace = None;
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/frontend/parser.rs:448:30
[INFO] [stdout]     |
[INFO] [stdout] 448 |             ParserError::EOF(span) => write!(f, "End of tokens"),
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits`
[INFO] [stdout]    --> src/frontend/token.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 |             TokenKind::IntNumber(number, bits) => write!(f, "{}", number),
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_file`
[INFO] [stdout]    --> src/main.rs:190:35
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn run_validate(program: Program, source_file: Arc<SourceFile>) -> Program {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `For` is never constructed
[INFO] [stdout]   --> src/frontend/ast.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub enum StmtKind {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 70 |     For(ForInit, Option<Box<Expr>>, Option<Box<Expr>>, Box<Stmt>, Identifier), // init, condition, post, body
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StmtKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Decl` and `Expr` are never constructed
[INFO] [stdout]   --> src/frontend/ast.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub enum ForInit {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 97 |     Decl(Decl),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 98 |     Expr(Option<Expr>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForInit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Warning` and `Note` are never constructed
[INFO] [stdout]   --> src/frontend/diagnostic.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum DiagnosticLevel {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 18 |     Error,
[INFO] [stdout] 19 |     Warning,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     Note,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiagnosticLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `warning` and `note` are never used
[INFO] [stdout]   --> src/frontend/diagnostic.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Diagnostic {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn warning(message: String, span: Span) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn note(message: String, span: Span) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_from_str` is never used
[INFO] [stdout]   --> src/frontend/lexer.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Lexer {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn new_from_str(source: &str) -> Lexer {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_identifier` and `peek2` are never used
[INFO] [stdout]    --> src/frontend/parser.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn parse_identifier(&mut self) -> Result<Expr, ParserError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     fn peek2(&self) -> Option<Token> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Anon` is never constructed
[INFO] [stdout]   --> src/frontend/source.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum FileName {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 14 |     Real(PathBuf),
[INFO] [stdout] 15 |     Anon(usize),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_anon` is never used
[INFO] [stdout]   --> src/frontend/source.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl SourceFile {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn new_anon<S: Into<String>>(content: S) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `For` is never constructed
[INFO] [stdout]   --> src/frontend/token.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum Keyword {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     For,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Comma` and `Dot` are never constructed
[INFO] [stdout]   --> src/frontend/token.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum Symbol {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |     Comma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Dot,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Char`, `FloatNumber`, and `String` are never constructed
[INFO] [stdout]    --> src/frontend/token.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub enum TokenKind {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 156 |     Char(char),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 157 |     IntNumber(i64, Bits),
[INFO] [stdout] 158 |     FloatNumber(f64),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 159 |     String(String),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_file`
[INFO] [stdout]    --> src/frontend/lexer.rs:257:30
[INFO] [stdout]     |
[INFO] [stdout] 257 |     pub fn diagnostic(&self, source_file: Arc<SourceFile>) -> Diagnostic {
[INFO] [stdout]     |                              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `close_brace` is never read
[INFO] [stdout]   --> src/frontend/parser.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut close_brace = None;
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/frontend/parser.rs:448:30
[INFO] [stdout]     |
[INFO] [stdout] 448 |             ParserError::EOF(span) => write!(f, "End of tokens"),
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits`
[INFO] [stdout]    --> src/frontend/token.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 |             TokenKind::IntNumber(number, bits) => write!(f, "{}", number),
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_file`
[INFO] [stdout]    --> src/main.rs:190:35
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn run_validate(program: Program, source_file: Arc<SourceFile>) -> Program {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `For` is never constructed
[INFO] [stdout]   --> src/frontend/ast.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub enum StmtKind {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 70 |     For(ForInit, Option<Box<Expr>>, Option<Box<Expr>>, Box<Stmt>, Identifier), // init, condition, post, body
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StmtKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Decl` and `Expr` are never constructed
[INFO] [stdout]   --> src/frontend/ast.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub enum ForInit {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 97 |     Decl(Decl),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 98 |     Expr(Option<Expr>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForInit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Warning` and `Note` are never constructed
[INFO] [stdout]   --> src/frontend/diagnostic.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum DiagnosticLevel {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 18 |     Error,
[INFO] [stdout] 19 |     Warning,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     Note,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiagnosticLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `warning` and `note` are never used
[INFO] [stdout]   --> src/frontend/diagnostic.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Diagnostic {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn warning(message: String, span: Span) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn note(message: String, span: Span) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_identifier` and `peek2` are never used
[INFO] [stdout]    --> src/frontend/parser.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn parse_identifier(&mut self) -> Result<Expr, ParserError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 351 |     fn peek2(&self) -> Option<Token> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `For` is never constructed
[INFO] [stdout]   --> src/frontend/token.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum Keyword {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     For,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Comma` and `Dot` are never constructed
[INFO] [stdout]   --> src/frontend/token.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum Symbol {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |     Comma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Dot,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Char`, `FloatNumber`, and `String` are never constructed
[INFO] [stdout]    --> src/frontend/token.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub enum TokenKind {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 156 |     Char(char),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 157 |     IntNumber(i64, Bits),
[INFO] [stdout] 158 |     FloatNumber(f64),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 159 |     String(String),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "36b3cb5dda960b58903e889e99ee58dc1556dbccc0589f9615776fe5e8b4817c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36b3cb5dda960b58903e889e99ee58dc1556dbccc0589f9615776fe5e8b4817c", kill_on_drop: false }`
[INFO] [stdout] 36b3cb5dda960b58903e889e99ee58dc1556dbccc0589f9615776fe5e8b4817c
