[INFO] cloning repository https://github.com/baolong281/ilox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baolong281/ilox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaolong281%2Filox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaolong281%2Filox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c046a52226b3340e0b95e76f779bd8366be2b0a3
[INFO] checking baolong281/ilox against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaolong281%2Filox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/baolong281/ilox
[INFO] finished tweaking git repo https://github.com/baolong281/ilox
[INFO] tweaked toml for git repo https://github.com/baolong281/ilox written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/baolong281/ilox on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/baolong281/ilox 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7f259717965dfb70f7cc936fb060e97c9eeab5c4ee0b76c38db0f36a3f0e521
[INFO] running `Command { std: "docker" "start" "-a" "a7f259717965dfb70f7cc936fb060e97c9eeab5c4ee0b76c38db0f36a3f0e521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7f259717965dfb70f7cc936fb060e97c9eeab5c4ee0b76c38db0f36a3f0e521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7f259717965dfb70f7cc936fb060e97c9eeab5c4ee0b76c38db0f36a3f0e521", kill_on_drop: false }`
[INFO] [stdout] a7f259717965dfb70f7cc936fb060e97c9eeab5c4ee0b76c38db0f36a3f0e521
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1830b81039bea0b66a0bcd90b9640a9569efa391ce5c615d2cf88414de52aed0
[INFO] running `Command { std: "docker" "start" "-a" "1830b81039bea0b66a0bcd90b9640a9569efa391ce5c615d2cf88414de52aed0", kill_on_drop: false }`
[INFO] [stderr]     Checking ilox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/expr.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[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 imports: `LiteralValue` and `TokenType`
[INFO] [stdout]    --> src/parser.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |         scanner::{LiteralValue, Scanner, ScannerResult, TokenType},
[INFO] [stdout]     |                   ^^^^^^^^^^^^                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/expr.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[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 variable: `contents`
[INFO] [stdout]  --> src/lox.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let contents = std::fs::read_to_string(&file).unwrap_or_else(|err| {
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/scanner.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum LiteralValue {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 100 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` 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: field `line` is never read
[INFO] [stdout]    --> src/scanner.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct Token {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 117 |     line: usize,
[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: unused variable: `contents`
[INFO] [stdout]  --> src/lox.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let contents = std::fs::read_to_string(&file).unwrap_or_else(|err| {
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExprVisitor` is never used
[INFO] [stdout]  --> src/expr.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait ExprVisitor {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstPrinter` is never constructed
[INFO] [stdout]   --> src/expr.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AstPrinter;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print` is never used
[INFO] [stdout]   --> src/expr.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn print(expr: &Expression) -> String {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Visitable` is never used
[INFO] [stdout]   --> src/expr.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 | trait Visitable {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expression` is never used
[INFO] [stdout]   --> src/expr.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum Expression {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Binary` is never constructed
[INFO] [stdout]   --> src/expr.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct Binary {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/expr.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Binary {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 76 |     pub fn new(left: Box<Expression>, op: Token, right: Box<Expression>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grouping` is never constructed
[INFO] [stdout]   --> src/expr.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct Grouping {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Literal` is never constructed
[INFO] [stdout]   --> src/expr.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct Literal {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/expr.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl Literal {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 90 |     pub fn new(value: LiteralValue) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unary` is never constructed
[INFO] [stdout]   --> src/expr.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct Unary {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/expr.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Unary {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 101 |     pub fn new(op: Token, right: Box<Expression>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Parser {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/parser.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Parser {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     fn new(tokens: Vec<Token>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn next(&mut self) -> Option<Token> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn peek(&self) -> Option<&Token> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn expression(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn equality(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn comparison(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn term(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn factor(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn unary(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn primary(&mut self) -> Expression {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     fn match_token(&mut self, type1: TokenType, type2: TokenType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/scanner.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum LiteralValue {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 100 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` 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: fields `token_type`, `line`, and `value` are never read
[INFO] [stdout]    --> src/scanner.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct Token {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 115 |     pub token_type: TokenType,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 116 |     lexeme: String,
[INFO] [stdout] 117 |     line: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 118 |     pub value: Option<LiteralValue>,
[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: associated function `new` is never used
[INFO] [stdout]    --> src/scanner.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl Token {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 122 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "1830b81039bea0b66a0bcd90b9640a9569efa391ce5c615d2cf88414de52aed0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1830b81039bea0b66a0bcd90b9640a9569efa391ce5c615d2cf88414de52aed0", kill_on_drop: false }`
[INFO] [stdout] 1830b81039bea0b66a0bcd90b9640a9569efa391ce5c615d2cf88414de52aed0
