[INFO] cloning repository https://github.com/jufer002/lox-interpreter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jufer002/lox-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5306e472cacacce9e6eef880be21ccac1d3e3d6c
[INFO] checking jufer002/lox-interpreter against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jufer002/lox-interpreter
[INFO] finished tweaking git repo https://github.com/jufer002/lox-interpreter
[INFO] tweaked toml for git repo https://github.com/jufer002/lox-interpreter written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jufer002/lox-interpreter on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jufer002/lox-interpreter 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_cmd v2.0.4
[INFO] [stderr]   Downloaded wait-timeout v0.2.0
[INFO] [stderr]   Downloaded predicates-core v1.0.3
[INFO] [stderr]   Downloaded predicates-tree v1.0.5
[INFO] [stderr]   Downloaded termtree v0.2.4
[INFO] [stderr]   Downloaded doc-comment v0.3.3
[INFO] [stderr]   Downloaded predicates v2.1.1
[INFO] [stderr]   Downloaded itertools v0.10.3
[INFO] [stderr]   Downloaded bstr v0.2.17
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75f7fdc1f0a79e56c7607fea095ea51d591179e0c9ebf402ab10531d20b6ebb7
[INFO] running `Command { std: "docker" "start" "-a" "75f7fdc1f0a79e56c7607fea095ea51d591179e0c9ebf402ab10531d20b6ebb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75f7fdc1f0a79e56c7607fea095ea51d591179e0c9ebf402ab10531d20b6ebb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75f7fdc1f0a79e56c7607fea095ea51d591179e0c9ebf402ab10531d20b6ebb7", kill_on_drop: false }`
[INFO] [stdout] 75f7fdc1f0a79e56c7607fea095ea51d591179e0c9ebf402ab10531d20b6ebb7
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f14bba38f57b7561f0bcf438c4571271bb4e9875faf57250f7454fb3f709d39
[INFO] running `Command { std: "docker" "start" "-a" "8f14bba38f57b7561f0bcf438c4571271bb4e9875faf57250f7454fb3f709d39", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking predicates-core v1.0.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking termtree v0.2.4
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking lox-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking predicates-tree v1.0.5
[INFO] [stdout] warning: fields `tokens` and `curr` are never read
[INFO] [stdout]   --> src/parser.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 20 |     tokens: Vec<Token>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     curr: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/parser.rs:25:8
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl Parser {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  25 |     fn new(tokens: Vec<Token>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn advance(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     fn consume(&mut self, tok_types: &[TokenType]) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn check(&self, tok_type: &TokenType) -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     fn peek(&self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn prev(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn expression(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     fn equality(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn comparison(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn term(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn factor(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn unary(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn primary(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed
[INFO] [stdout]   --> src/lexer.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum LitType {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 57 |     False,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 58 |     True,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     Nil,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LitType` has a derived impl for the trait `Debug`, but this is 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: methods `op_type` and `str_val` are never used
[INFO] [stdout]    --> src/lexer.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn op_type(&self) -> Option<&OpType> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn str_val(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking predicates v2.1.1
[INFO] [stderr]     Checking assert_cmd v2.0.4
[INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed
[INFO] [stdout]   --> src/lexer.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum LitType {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 57 |     False,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 58 |     True,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     Nil,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LitType` has a derived impl for the trait `Debug`, but this is 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: methods `op_type` and `str_val` are never used
[INFO] [stdout]    --> src/lexer.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn op_type(&self) -> Option<&OpType> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn str_val(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tokens` and `curr` are never read
[INFO] [stdout]   --> src/parser.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 20 |     tokens: Vec<Token>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     curr: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/parser.rs:31:8
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn advance(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     fn consume(&mut self, tok_types: &[TokenType]) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn check(&self, tok_type: &TokenType) -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     fn peek(&self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn prev(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn expression(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     fn equality(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn comparison(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn term(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn factor(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn unary(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn primary(&mut self) -> Expr {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s
[INFO] running `Command { std: "docker" "inspect" "8f14bba38f57b7561f0bcf438c4571271bb4e9875faf57250f7454fb3f709d39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f14bba38f57b7561f0bcf438c4571271bb4e9875faf57250f7454fb3f709d39", kill_on_drop: false }`
[INFO] [stdout] 8f14bba38f57b7561f0bcf438c4571271bb4e9875faf57250f7454fb3f709d39
