[INFO] cloning repository https://github.com/samueleresca/craftinginterpreters-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samueleresca/craftinginterpreters-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamueleresca%2Fcraftinginterpreters-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamueleresca%2Fcraftinginterpreters-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc0e0d9d13070984128421d60a87b19b809732b6
[INFO] checking samueleresca/craftinginterpreters-in-rust against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamueleresca%2Fcraftinginterpreters-in-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samueleresca/craftinginterpreters-in-rust
[INFO] finished tweaking git repo https://github.com/samueleresca/craftinginterpreters-in-rust
[INFO] tweaked toml for git repo https://github.com/samueleresca/craftinginterpreters-in-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samueleresca/craftinginterpreters-in-rust on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samueleresca/craftinginterpreters-in-rust 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 433305cef7f906de8b8c370fb1a19ee26557fd0867a37eac2d02ee688a1b08ec
[INFO] running `Command { std: "docker" "start" "-a" "433305cef7f906de8b8c370fb1a19ee26557fd0867a37eac2d02ee688a1b08ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "433305cef7f906de8b8c370fb1a19ee26557fd0867a37eac2d02ee688a1b08ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "433305cef7f906de8b8c370fb1a19ee26557fd0867a37eac2d02ee688a1b08ec", kill_on_drop: false }`
[INFO] [stdout] 433305cef7f906de8b8c370fb1a19ee26557fd0867a37eac2d02ee688a1b08ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47c530814785cf9eb17ac53615e69c19946d44e7631e104d2df81cfa53697312
[INFO] running `Command { std: "docker" "start" "-a" "47c530814785cf9eb17ac53615e69c19946d44e7631e104d2df81cfa53697312", kill_on_drop: false }`
[INFO] [stderr]     Checking lox-in-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `Literal` is never used
[INFO] [stdout]  --> src/expr.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Literal {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]   --> src/expr.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |               pub(crate) enum Expr{
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 | / generate_expr![
[INFO] [stdout] 30 | |         Binary => (Expr, Token, Expr),
[INFO] [stdout] 31 | |         Grouping => (Expr, Expr),
[INFO] [stdout] 32 | |         Unary => (Token, Expr)
[INFO] [stdout] 33 | | ];
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `generate_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/token.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) struct Token {
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub 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: struct `CompileError` is never constructed
[INFO] [stdout]  --> src/errors.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct CompileError {
[INFO] [stdout]   |                   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/errors.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CompileError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 12 |     pub(crate) fn new(line: usize, location: String, message: String) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `error` is never used
[INFO] [stdout]   --> src/errors.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) trait WithError {
[INFO] [stdout]    |                  --------- associated function in this trait
[INFO] [stdout] 22 |     fn error(error: CompileError) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Literal` is never used
[INFO] [stdout]  --> src/expr.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Literal {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]   --> src/expr.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |               pub(crate) enum Expr{
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 | / generate_expr![
[INFO] [stdout] 30 | |         Binary => (Expr, Token, Expr),
[INFO] [stdout] 31 | |         Grouping => (Expr, Expr),
[INFO] [stdout] 32 | |         Unary => (Token, Expr)
[INFO] [stdout] 33 | | ];
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `generate_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scanner` is never constructed
[INFO] [stdout]   --> src/scanner.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Scanner {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scanner.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout] 23  | impl Scanner {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 24  |     pub fn new(source: String) -> Scanner {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn scan_tokens(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76  |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     fn scan_token(&mut self) -> Result<(), CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn add_token(&mut self, r#type: token::TokenType) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     fn add_token_literal(&mut self, r#type: token::TokenType, literal: Option<Literal>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn advance(&mut self) -> char {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn parse_string(&mut self) -> Result<(), CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     fn parse_number(&mut self) -> Result<(), CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 250 |     fn parse_identifier(&mut self) -> Result<(), CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     fn match_token(&mut self, expected: char) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     fn is_digit(c: Option<char>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     fn is_alpha(c: Option<char>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     fn is_alphanumeric(c: Option<char>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn peek(&self) -> Option<char> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     fn peek_next(&self) -> Option<char> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]  --> src/token.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) enum TokenType {
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Literal` is never used
[INFO] [stdout]   --> src/token.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub enum Literal {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/token.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub(crate) struct Token {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "47c530814785cf9eb17ac53615e69c19946d44e7631e104d2df81cfa53697312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47c530814785cf9eb17ac53615e69c19946d44e7631e104d2df81cfa53697312", kill_on_drop: false }`
[INFO] [stdout] 47c530814785cf9eb17ac53615e69c19946d44e7631e104d2df81cfa53697312
