[INFO] cloning repository https://github.com/jazzycamel/rustymonkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jazzycamel/rustymonkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjazzycamel%2Frustymonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjazzycamel%2Frustymonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e3473e99a8a21554b7ae4756a37dfcdee08c773 [INFO] checking jazzycamel/rustymonkey against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjazzycamel%2Frustymonkey" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jazzycamel/rustymonkey on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jazzycamel/rustymonkey [INFO] finished tweaking git repo https://github.com/jazzycamel/rustymonkey [INFO] tweaked toml for git repo https://github.com/jazzycamel/rustymonkey written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jazzycamel/rustymonkey 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f5f2c740e042cdc0c4d1f3fe83faccdc0f32f2967691975b6072f6fa2c39121 [INFO] running `Command { std: "docker" "start" "-a" "7f5f2c740e042cdc0c4d1f3fe83faccdc0f32f2967691975b6072f6fa2c39121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f5f2c740e042cdc0c4d1f3fe83faccdc0f32f2967691975b6072f6fa2c39121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5f2c740e042cdc0c4d1f3fe83faccdc0f32f2967691975b6072f6fa2c39121", kill_on_drop: false }` [INFO] [stdout] 7f5f2c740e042cdc0c4d1f3fe83faccdc0f32f2967691975b6072f6fa2c39121 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c6c11588295dc3653ae0bc52ec8c00d631a757099252b378c4aa6d385ede8b [INFO] running `Command { std: "docker" "start" "-a" "17c6c11588295dc3653ae0bc52ec8c00d631a757099252b378c4aa6d385ede8b", kill_on_drop: false }` [INFO] [stderr] Checking as-any v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking rustymonkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/token.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl TokenType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 44 | pub fn as_str(&self) -> &'static str { [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/token.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 104 | pub fn new(token_type: TokenType, literal: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_concrete_statement` is never used [INFO] [stdout] --> src/ast.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_concrete_statement(statement: &Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_concrete_expression` is never used [INFO] [stdout] --> src/ast.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn to_concrete_expression(expression: &Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 101 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct IntegerLiteral { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 169 | pub token: Token, [INFO] [stdout] 170 | pub value: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntegerLiteral` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precedence_for_token_type` is never used [INFO] [stdout] --> src/parser.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn precedence_for_token_type(token_type: &TokenType) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(lexer: Lexer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn current_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn expect_peek(&mut self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn peek_error(&mut self, token_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn peek_precedence(&self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn current_precedence(&self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn parse_program(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn errors(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn parse_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn parse_let_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn parse_return_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn parse_expression_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn parse_expression(&mut self, precedence: Precedence) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn parse_identifier(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn parser_integer_literal(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn parse_prefix_expression(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn parse_infix_expression(&mut self, left: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "17c6c11588295dc3653ae0bc52ec8c00d631a757099252b378c4aa6d385ede8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c6c11588295dc3653ae0bc52ec8c00d631a757099252b378c4aa6d385ede8b", kill_on_drop: false }` [INFO] [stdout] 17c6c11588295dc3653ae0bc52ec8c00d631a757099252b378c4aa6d385ede8b