[INFO] cloning repository https://github.com/suguni/lox-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suguni/lox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Flox-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Flox-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c157eaa587716d5296f1949fe7323e2bd7acf44 [INFO] checking suguni/lox-rs against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Flox-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suguni/lox-rs on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suguni/lox-rs [INFO] finished tweaking git repo https://github.com/suguni/lox-rs [INFO] tweaked toml for git repo https://github.com/suguni/lox-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/suguni/lox-rs 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c895a0e78a73fa42bf189f681bbcbe854ec20b8fa8c1cf1863fc756f2d8c47cc [INFO] running `Command { std: "docker" "start" "-a" "c895a0e78a73fa42bf189f681bbcbe854ec20b8fa8c1cf1863fc756f2d8c47cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c895a0e78a73fa42bf189f681bbcbe854ec20b8fa8c1cf1863fc756f2d8c47cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c895a0e78a73fa42bf189f681bbcbe854ec20b8fa8c1cf1863fc756f2d8c47cc", kill_on_drop: false }` [INFO] [stdout] c895a0e78a73fa42bf189f681bbcbe854ec20b8fa8c1cf1863fc756f2d8c47cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 627c20c781634612b530a84a1767265ede2f5b34fde00a90d76a76698cf41b65 [INFO] running `Command { std: "docker" "start" "-a" "627c20c781634612b530a84a1767265ede2f5b34fde00a90d76a76698cf41b65", kill_on_drop: false }` [INFO] [stderr] Checking lox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::token::Token` [INFO] [stdout] --> src/expressions/ast_printer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/parser.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/parser.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `True`, `False`, and `Nil` are never constructed [INFO] [stdout] --> src/token.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum TokenLiteral { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 82 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `minus` and `star` are never used [INFO] [stdout] --> src/token.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn minus(line: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn star(line: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_error` is never used [INFO] [stdout] --> src/error.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn has_error() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/expressions/ast_printer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AstPrinter { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 10 | pub fn print(&self, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Binary`, `Grouping`, `Literal`, and `Unary` are never constructed [INFO] [stdout] --> src/expressions/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Literal(TokenLiteral), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Unary(Token, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `number` is never used [INFO] [stdout] --> src/expressions/expr.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Expr { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn number(num: f64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parse` is never constructed [INFO] [stdout] --> src/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parse { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn match_tokens(&mut self, token_types: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn previous(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn check(&self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/parser.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/parser.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `True`, `False`, and `Nil` are never constructed [INFO] [stdout] --> src/token.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum TokenLiteral { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 82 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parse` is never constructed [INFO] [stdout] --> src/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parse { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn consume(&mut self, token_type: TokenType, message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn match_tokens(&mut self, token_types: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn previous(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn check(&self, token_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "627c20c781634612b530a84a1767265ede2f5b34fde00a90d76a76698cf41b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627c20c781634612b530a84a1767265ede2f5b34fde00a90d76a76698cf41b65", kill_on_drop: false }` [INFO] [stdout] 627c20c781634612b530a84a1767265ede2f5b34fde00a90d76a76698cf41b65