[INFO] cloning repository https://github.com/willothy/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willothy/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillothy%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillothy%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 323ee2a476546bdd1a037a6525b16344d6d43d8f [INFO] checking willothy/rush against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillothy%2Frush" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willothy/rush on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willothy/rush [INFO] finished tweaking git repo https://github.com/willothy/rush [INFO] tweaked toml for git repo https://github.com/willothy/rush written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/willothy/rush 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3579ab6f0dcde810e2dde153520d01510cadead494ea6ebec48cf657b29a39e [INFO] running `Command { std: "docker" "start" "-a" "b3579ab6f0dcde810e2dde153520d01510cadead494ea6ebec48cf657b29a39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3579ab6f0dcde810e2dde153520d01510cadead494ea6ebec48cf657b29a39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3579ab6f0dcde810e2dde153520d01510cadead494ea6ebec48cf657b29a39e", kill_on_drop: false }` [INFO] [stdout] b3579ab6f0dcde810e2dde153520d01510cadead494ea6ebec48cf657b29a39e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6231c0b7c14853f3511ca25c0dde0276e9739cda4901608f00a4b07440f482bf [INFO] running `Command { std: "docker" "start" "-a" "6231c0b7c14853f3511ca25c0dde0276e9739cda4901608f00a4b07440f482bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking whoami v1.2.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `whoami` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use whoami; [INFO] [stdout] | ^^^^^^ the item `whoami` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor` [INFO] [stdout] --> src/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::{ExecutableCommand, cursor, terminal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `whoami` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use whoami; [INFO] [stdout] | ^^^^^^ the item `whoami` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor` [INFO] [stdout] --> src/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::{ExecutableCommand, cursor, terminal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `consumed_len` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | consumed_len += cap.len(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `consumed_len` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | ... consumed_len += index; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | Token::Identifier(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `consumed_len` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | consumed_len += cap.len(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `consumed_len` is never read [INFO] [stdout] --> src/tokenizer/mod.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | ... consumed_len += index; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/parser.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let command = self.expect(Token::Identifier(String::new())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | Token::Identifier(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:219:31 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn command(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let prompt = args [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_dir` is never used [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn current_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenValue` is never constructed [INFO] [stdout] --> src/tokenizer/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/tokenizer/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tokenizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `init`, `has_more_tokens`, `get_next_token`, and `exec` are never used [INFO] [stdout] --> src/tokenizer/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tokenizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from(input: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn init(&mut self, input: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn has_more_tokens(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_next_token(&mut self, consume: bool) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn exec(&mut self) -> &Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tokenizer/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | NumberLiteral(f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | BoolLiteral(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | BinaryOp(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | LogicalOp(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | AssignmentOp(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | OpenBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | CloseBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | Pipe, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Empty [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: method `to_string` is never used [INFO] [stdout] --> src/tokenizer/token.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 23 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SyntaxError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 10 | UnexpectedToken(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ASTNodeType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 24 | StatementList(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | Statement(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | Expression(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | VarDef(String, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | NumberLiteral(f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | BoolLiteral(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | Command(String, Vec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Argslist, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTNodeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn parse(&mut self, input: &str) -> ASTNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn update_lookahead(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn expect(&mut self, tok_type: Token) -> Token { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn statement_list(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn statement(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn command_expression(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn identifier(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn number_literal(&mut self, n: f64) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn string_literal(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn bool_literal(&mut self, b: bool) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn expression(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn parenthesized_expression(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn var_def(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn command(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn if_statement(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn fn_def(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_var` is never used [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn find_var(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | Token::Identifier(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/parser.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let command = self.expect(Token::Identifier(String::new())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | Token::Identifier(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:219:31 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn command(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let prompt = args [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_dir` is never used [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn current_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenValue` is never constructed [INFO] [stdout] --> src/tokenizer/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_more_tokens` and `exec` are never used [INFO] [stdout] --> src/tokenizer/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tokenizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn has_more_tokens(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn exec(&mut self) -> &Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Statement` and `Command` are never constructed [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ASTNodeType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 24 | StatementList(Vec), [INFO] [stdout] 25 | Statement(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | Command(String, Vec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTNodeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `command` is never used [INFO] [stdout] --> src/parser.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn command(&mut self, s: String) -> ASTNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_var` is never used [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn find_var(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "6231c0b7c14853f3511ca25c0dde0276e9739cda4901608f00a4b07440f482bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6231c0b7c14853f3511ca25c0dde0276e9739cda4901608f00a4b07440f482bf", kill_on_drop: false }` [INFO] [stdout] 6231c0b7c14853f3511ca25c0dde0276e9739cda4901608f00a4b07440f482bf [INFO] checking willothy/rush against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillothy%2Frush" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willothy/rush on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willothy/rush [INFO] finished tweaking git repo https://github.com/willothy/rush [INFO] tweaked toml for git repo https://github.com/willothy/rush written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/willothy/rush 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c30ecb7099d995ec5e7ecbd34e04728909c401bd61ec9545cd8268168ff2b15 [INFO] running `Command { std: "docker" "start" "-a" "5c30ecb7099d995ec5e7ecbd34e04728909c401bd61ec9545cd8268168ff2b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c30ecb7099d995ec5e7ecbd34e04728909c401bd61ec9545cd8268168ff2b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c30ecb7099d995ec5e7ecbd34e04728909c401bd61ec9545cd8268168ff2b15", kill_on_drop: false }` [INFO] [stdout] 5c30ecb7099d995ec5e7ecbd34e04728909c401bd61ec9545cd8268168ff2b15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d5fe7f152265df4fa4291ba0c05b467eaca5bc7a8a15f387319f75e6f2fd197 [INFO] running `Command { std: "docker" "start" "-a" "6d5fe7f152265df4fa4291ba0c05b467eaca5bc7a8a15f387319f75e6f2fd197", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking whoami v1.2.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/signal-hook-registry-1.4.0/src/half_lock.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { libc::abort() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `signal-hook-registry` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6d5fe7f152265df4fa4291ba0c05b467eaca5bc7a8a15f387319f75e6f2fd197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d5fe7f152265df4fa4291ba0c05b467eaca5bc7a8a15f387319f75e6f2fd197", kill_on_drop: false }` [INFO] [stdout] 6d5fe7f152265df4fa4291ba0c05b467eaca5bc7a8a15f387319f75e6f2fd197