[INFO] cloning repository https://github.com/darshil-kaneria/tac0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darshil-kaneria/tac0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarshil-kaneria%2Ftac0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarshil-kaneria%2Ftac0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f702a8464407f1fffc187e3aaa9a6e15a034e83 [INFO] checking darshil-kaneria/tac0 against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarshil-kaneria%2Ftac0" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darshil-kaneria/tac0 on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darshil-kaneria/tac0 [INFO] finished tweaking git repo https://github.com/darshil-kaneria/tac0 [INFO] tweaked toml for git repo https://github.com/darshil-kaneria/tac0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darshil-kaneria/tac0 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v1.0.1 [INFO] [stderr] Downloaded lalrpop-util v0.22.1 [INFO] [stderr] Downloaded lalrpop-util v0.21.0 [INFO] [stderr] Downloaded lalrpop v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d475d44cdb2b61a320e3f4db696ca139ee18cae06ecd06534b2fd5d8f4a5db [INFO] running `Command { std: "docker" "start" "-a" "85d475d44cdb2b61a320e3f4db696ca139ee18cae06ecd06534b2fd5d8f4a5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d475d44cdb2b61a320e3f4db696ca139ee18cae06ecd06534b2fd5d8f4a5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d475d44cdb2b61a320e3f4db696ca139ee18cae06ecd06534b2fd5d8f4a5db", kill_on_drop: false }` [INFO] [stdout] 85d475d44cdb2b61a320e3f4db696ca139ee18cae06ecd06534b2fd5d8f4a5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b33a62a1cf63cb45002308508146983dadce9c9318144bd35c832afd609d17be [INFO] running `Command { std: "docker" "start" "-a" "b33a62a1cf63cb45002308508146983dadce9c9318144bd35c832afd609d17be", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling term v1.0.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking lalrpop-util v0.21.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling tac0 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `frontend::ast::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use frontend::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middle::ir::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use middle::ir::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frontend::ast::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use frontend::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middle::ir::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use middle::ir::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inc_temp` [INFO] [stdout] --> src/middle/irgen.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | let (inc_temp, mut inc_instrs) = self.lower_expr(increment); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inc_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/frontend/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | VarDecl { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 35 | typ: Type, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum BinOp { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Neg` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum UnaryOp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 61 | Not, [INFO] [stdout] 62 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/frontend/lexer.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: struct `Lexer` is never constructed [INFO] [stdout] --> src/frontend/lexer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Lexer<'input> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frontend/lexer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'input> Lexer<'input> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(input: &'input str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn skip_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn ignore_comments(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn lex_number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn lex_ident(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest` and `value` are never read [INFO] [stdout] --> src/middle/ir.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | LoadConst { dest: String, value: i32 }, [INFO] [stdout] | --------- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `op`, `left`, and `right` are never read [INFO] [stdout] --> src/middle/ir.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryOp { dest: String, op: BinOp, left: String, right: String }, [INFO] [stdout] | -------- ^^^^ ^^ ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest` and `src` are never read [INFO] [stdout] --> src/middle/ir.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Assign { dest: String, src: String }, [INFO] [stdout] | ------ ^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `src` are never read [INFO] [stdout] --> src/middle/ir.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | VarDecl { name: String, src: Option }, [INFO] [stdout] | ------- ^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middle/ir.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Label(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Label(String), [INFO] [stdout] 8 + Label(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middle/ir.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Jump(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Jump(String), [INFO] [stdout] 9 + Jump(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `true_label`, and `false_label` are never read [INFO] [stdout] --> src/middle/ir.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Branch { cond: String, true_label: String, false_label: String }, [INFO] [stdout] | ------ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inc_temp` [INFO] [stdout] --> src/middle/irgen.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | let (inc_temp, mut inc_instrs) = self.lower_expr(increment); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inc_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/frontend/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | VarDecl { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 35 | typ: Type, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum BinOp { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Neg` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum UnaryOp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 61 | Not, [INFO] [stdout] 62 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/frontend/lexer.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: struct `Lexer` is never constructed [INFO] [stdout] --> src/frontend/lexer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Lexer<'input> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frontend/lexer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'input> Lexer<'input> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(input: &'input str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn skip_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn ignore_comments(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn lex_number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn lex_ident(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest` and `value` are never read [INFO] [stdout] --> src/middle/ir.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | LoadConst { dest: String, value: i32 }, [INFO] [stdout] | --------- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `op`, `left`, and `right` are never read [INFO] [stdout] --> src/middle/ir.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryOp { dest: String, op: BinOp, left: String, right: String }, [INFO] [stdout] | -------- ^^^^ ^^ ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest` and `src` are never read [INFO] [stdout] --> src/middle/ir.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Assign { dest: String, src: String }, [INFO] [stdout] | ------ ^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `src` are never read [INFO] [stdout] --> src/middle/ir.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | VarDecl { name: String, src: Option }, [INFO] [stdout] | ------- ^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middle/ir.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Label(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Label(String), [INFO] [stdout] 8 + Label(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middle/ir.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Jump(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Jump(String), [INFO] [stdout] 9 + Jump(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `true_label`, and `false_label` are never read [INFO] [stdout] --> src/middle/ir.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Branch { cond: String, true_label: String, false_label: String }, [INFO] [stdout] | ------ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.31s [INFO] running `Command { std: "docker" "inspect" "b33a62a1cf63cb45002308508146983dadce9c9318144bd35c832afd609d17be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33a62a1cf63cb45002308508146983dadce9c9318144bd35c832afd609d17be", kill_on_drop: false }` [INFO] [stdout] b33a62a1cf63cb45002308508146983dadce9c9318144bd35c832afd609d17be