[INFO] cloning repository https://github.com/TertialPilot550/silly_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TertialPilot550/silly_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTertialPilot550%2Fsilly_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTertialPilot550%2Fsilly_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b86a639c5a05dd66c22f3af37b48fa629bce93f [INFO] checking TertialPilot550/silly_compiler against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTertialPilot550%2Fsilly_compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TertialPilot550/silly_compiler [INFO] finished tweaking git repo https://github.com/TertialPilot550/silly_compiler [INFO] tweaked toml for git repo https://github.com/TertialPilot550/silly_compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TertialPilot550/silly_compiler on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TertialPilot550/silly_compiler 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417af20d216df893f7a8662f48d8b0f8cd55696eba8e3a77feca07f494528103 [INFO] running `Command { std: "docker" "start" "-a" "417af20d216df893f7a8662f48d8b0f8cd55696eba8e3a77feca07f494528103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417af20d216df893f7a8662f48d8b0f8cd55696eba8e3a77feca07f494528103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417af20d216df893f7a8662f48d8b0f8cd55696eba8e3a77feca07f494528103", kill_on_drop: false }` [INFO] [stdout] 417af20d216df893f7a8662f48d8b0f8cd55696eba8e3a77feca07f494528103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 186683a93e72bbd151334306f455fe9cd0b74127aaaa2ebd5c793999b95d379d [INFO] running `Command { std: "docker" "start" "-a" "186683a93e72bbd151334306f455fe9cd0b74127aaaa2ebd5c793999b95d379d", kill_on_drop: false }` [INFO] [stderr] Checking silly_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num1` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let num1 = Box::new(Node { parent: None, body: NodeBody::Number(5) }); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_num1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ast: AbstractSyntaxTree = AbstractSyntaxTree::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num1` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let num1 = Box::new(Node { parent: None, body: NodeBody::Number(5) }); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_num1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ast: AbstractSyntaxTree = AbstractSyntaxTree::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/tokenize.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn tokenize<'d, 'o, 'p>(input: String, defined_as_text: &'d str, operator_string: &'o str, punctuation_string: &'p str) -> Vec<(CharT... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tokens` is never used [INFO] [stdout] --> src/tokenize.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print_tokens(tokens: Vec<(CharType, String)>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharType` is never used [INFO] [stdout] --> src/tokenize.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum CharType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenize.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Tokenizer<'i, 'd, 'o, 'p> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, `has_next`, and `get_char_type` are never used [INFO] [stdout] --> src/tokenize.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'i, 'd, 'o, 'p> Tokenizer<'i, 'd, 'o, 'p> { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn new(input: &'i String, defined_as_text: &'d str, operator_string: &'o str, punctuation_string: &'p str) -> Tokenizer<'i, 'd, 'o, '... [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn next(&mut self) -> Option<(CharType, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn has_next(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_char_type(&self, byte_value: u8) -> CharType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `body` are never read [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | parent: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | body: NodeBody [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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/ast.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Number(usize), // (value) [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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] 22 - Number(usize), // (value) [INFO] [stdout] 22 + Number(()), // (value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Expression(Option>), // () [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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] 24 - Expression(Option>), // () [INFO] [stdout] 24 + Expression(()), // () [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable`, `BinaryOperator`, `UnaryOperator`, `Conditional`, `While`, and `For` are never constructed [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum NodeBody { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | [INFO] [stdout] 21 | Variable(String, Box), // (name, value) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | BinaryOperator(char, Option>, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | UnaryOperator(char, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | Conditional(char, Option>, Option>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | While(), For(), [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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 `head` is never read [INFO] [stdout] --> src/ast.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AbstractSyntaxTree { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 44 | head: Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbstractSyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/tokenize.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn tokenize<'d, 'o, 'p>(input: String, defined_as_text: &'d str, operator_string: &'o str, punctuation_string: &'p str) -> Vec<(CharT... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tokens` is never used [INFO] [stdout] --> src/tokenize.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print_tokens(tokens: Vec<(CharType, String)>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharType` is never used [INFO] [stdout] --> src/tokenize.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum CharType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenize.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Tokenizer<'i, 'd, 'o, 'p> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, `has_next`, and `get_char_type` are never used [INFO] [stdout] --> src/tokenize.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'i, 'd, 'o, 'p> Tokenizer<'i, 'd, 'o, 'p> { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn new(input: &'i String, defined_as_text: &'d str, operator_string: &'o str, punctuation_string: &'p str) -> Tokenizer<'i, 'd, 'o, '... [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn next(&mut self) -> Option<(CharType, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn has_next(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_char_type(&self, byte_value: u8) -> CharType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `body` are never read [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | parent: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | body: NodeBody [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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/ast.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Number(usize), // (value) [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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] 22 - Number(usize), // (value) [INFO] [stdout] 22 + Number(()), // (value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Expression(Option>), // () [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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] 24 - Expression(Option>), // () [INFO] [stdout] 24 + Expression(()), // () [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable`, `BinaryOperator`, `UnaryOperator`, `Conditional`, `While`, and `For` are never constructed [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum NodeBody { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | [INFO] [stdout] 21 | Variable(String, Box), // (name, value) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | BinaryOperator(char, Option>, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | UnaryOperator(char, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | Conditional(char, Option>, Option>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | While(), For(), [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeBody` 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 `head` is never read [INFO] [stdout] --> src/ast.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AbstractSyntaxTree { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 44 | head: Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbstractSyntaxTree` 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 0.09s [INFO] running `Command { std: "docker" "inspect" "186683a93e72bbd151334306f455fe9cd0b74127aaaa2ebd5c793999b95d379d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186683a93e72bbd151334306f455fe9cd0b74127aaaa2ebd5c793999b95d379d", kill_on_drop: false }` [INFO] [stdout] 186683a93e72bbd151334306f455fe9cd0b74127aaaa2ebd5c793999b95d379d