[INFO] cloning repository https://github.com/arashout/craftinginterperter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arashout/craftinginterperter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashout%2Fcraftinginterperter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashout%2Fcraftinginterperter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e58c8ee40d4289d943954ca6ba33f833d75f47dd [INFO] checking arashout/craftinginterperter against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashout%2Fcraftinginterperter" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arashout/craftinginterperter on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arashout/craftinginterperter [INFO] finished tweaking git repo https://github.com/arashout/craftinginterperter [INFO] tweaked toml for git repo https://github.com/arashout/craftinginterperter written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/arashout/craftinginterperter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] af47f168a3fea995e2d39e8526568a78923ed163ba23f19b67fca0b7a3e09875 [INFO] running `Command { std: "docker" "start" "-a" "af47f168a3fea995e2d39e8526568a78923ed163ba23f19b67fca0b7a3e09875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af47f168a3fea995e2d39e8526568a78923ed163ba23f19b67fca0b7a3e09875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af47f168a3fea995e2d39e8526568a78923ed163ba23f19b67fca0b7a3e09875", kill_on_drop: false }` [INFO] [stdout] af47f168a3fea995e2d39e8526568a78923ed163ba23f19b67fca0b7a3e09875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee661f07cbc31d1c5ae9bb62b8002b687502fd431715a4e2f8443724b6dd93a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee661f07cbc31d1c5ae9bb62b8002b687502fd431715a4e2f8443724b6dd93a1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stderr] Checking craft_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if (!self.is_at_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if (!self.is_at_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discriminant` [INFO] [stdout] --> src/scanner.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn discriminant(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Binary` [INFO] [stdout] --> src/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Binary(Operator, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Grouping` [INFO] [stdout] --> src/ast.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | Literal(Primitive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unary` [INFO] [stdout] --> src/ast.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Unary(Operator, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(tokens: Vec) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expression` [INFO] [stdout] --> src/parser.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equality` [INFO] [stdout] --> src/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comparison` [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addition` [INFO] [stdout] --> src/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn addition(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiplication` [INFO] [stdout] --> src/parser.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn multiplication(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unary` [INFO] [stdout] --> src/parser.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primary` [INFO] [stdout] --> src/parser.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/parser.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn check(&self, needle: &Token) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> src/parser.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `previous` [INFO] [stdout] --> src/parser.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn previous(&self) -> &TokenWrapper { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rpn` [INFO] [stdout] --> src/rpn.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn rpn(expr: &Expr) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `join_vec_debug` [INFO] [stdout] --> src/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn join_vec_debug(vec: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `s` [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn s(_s: &'static str) -> String { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(tokens: Vec) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expression` [INFO] [stdout] --> src/parser.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equality` [INFO] [stdout] --> src/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comparison` [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addition` [INFO] [stdout] --> src/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn addition(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiplication` [INFO] [stdout] --> src/parser.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn multiplication(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unary` [INFO] [stdout] --> src/parser.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primary` [INFO] [stdout] --> src/parser.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/parser.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn check(&self, needle: &Token) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> src/parser.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `previous` [INFO] [stdout] --> src/parser.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn previous(&self) -> &TokenWrapper { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.18s [INFO] running `Command { std: "docker" "inspect" "ee661f07cbc31d1c5ae9bb62b8002b687502fd431715a4e2f8443724b6dd93a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee661f07cbc31d1c5ae9bb62b8002b687502fd431715a4e2f8443724b6dd93a1", kill_on_drop: false }` [INFO] [stdout] ee661f07cbc31d1c5ae9bb62b8002b687502fd431715a4e2f8443724b6dd93a1