[INFO] cloning repository https://github.com/chibits42/chai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chibits42/chai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchibits42%2Fchai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchibits42%2Fchai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bffe42f477ef3f8e0aa133a30694c3e88873fd9f [INFO] checking chibits42/chai against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchibits42%2Fchai" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chibits42/chai [INFO] finished tweaking git repo https://github.com/chibits42/chai [INFO] tweaked toml for git repo https://github.com/chibits42/chai written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chibits42/chai on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chibits42/chai 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb920f9a26cd2c55cdaf2df4329e3a874740ad13671869e10ba0143e27732ead [INFO] running `Command { std: "docker" "start" "-a" "fb920f9a26cd2c55cdaf2df4329e3a874740ad13671869e10ba0143e27732ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb920f9a26cd2c55cdaf2df4329e3a874740ad13671869e10ba0143e27732ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb920f9a26cd2c55cdaf2df4329e3a874740ad13671869e10ba0143e27732ead", kill_on_drop: false }` [INFO] [stdout] fb920f9a26cd2c55cdaf2df4329e3a874740ad13671869e10ba0143e27732ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4b153ff8181d981d5bb7f809f4b7564229db7254581e8972a69694cfa90ab7b [INFO] running `Command { std: "docker" "start" "-a" "f4b153ff8181d981d5bb7f809f4b7564229db7254581e8972a69694cfa90ab7b", kill_on_drop: false }` [INFO] [stderr] Checking chai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `lParen` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rParen` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lBrack` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LBrack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rBrack` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RBrack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lCurl` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LCurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rCurl` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RCurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lParen` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rParen` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lBrack` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LBrack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rBrack` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RBrack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lCurl` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LCurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rCurl` should have an upper camel case name [INFO] [stdout] --> src/token.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | lParen, rParen, lBrack, rBrack, lCurl, rCurl, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RCurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scanner.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | Some(i) => self.add_token_type(typ.unwrap().clone()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scanner.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | Some(i) => self.add_token_type(typ.unwrap().clone()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut toks = scan.scan_tokens(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut nodes = parse.parse(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 3 - Int(i64), [INFO] [stdout] 3 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are 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] 4 - Float(f64), [INFO] [stdout] 4 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are 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] 5 - Str(String), [INFO] [stdout] 5 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Char`, `ForEach`, `Block`, and `Arr` are never constructed [INFO] [stdout] --> src/token.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Identifier, String, Int, Float, Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Def, Set, For, ForEach, While, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Expr, Block, Arr, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `had_error` is never read [INFO] [stdout] --> src/token.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub had_error: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tok` is never read [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | tok: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outidx` is never read [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | out: Vec, [INFO] [stdout] 27 | outidx: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut toks = scan.scan_tokens(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut nodes = parse.parse(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 3 - Int(i64), [INFO] [stdout] 3 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are 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] 4 - Float(f64), [INFO] [stdout] 4 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are 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] 5 - Str(String), [INFO] [stdout] 5 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Char`, `ForEach`, `Block`, and `Arr` are never constructed [INFO] [stdout] --> src/token.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Identifier, String, Int, Float, Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Def, Set, For, ForEach, While, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Expr, Block, Arr, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `had_error` is never read [INFO] [stdout] --> src/token.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub had_error: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tok` is never read [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | tok: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outidx` is never read [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | out: Vec, [INFO] [stdout] 27 | outidx: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "f4b153ff8181d981d5bb7f809f4b7564229db7254581e8972a69694cfa90ab7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b153ff8181d981d5bb7f809f4b7564229db7254581e8972a69694cfa90ab7b", kill_on_drop: false }` [INFO] [stdout] f4b153ff8181d981d5bb7f809f4b7564229db7254581e8972a69694cfa90ab7b