[INFO] cloning repository https://github.com/ancos2505/expression-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ancos2505/expression-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fexpression-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fexpression-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 793c5095146f3a45cf2eba2f26a1c23cbad66ec6 [INFO] checking ancos2505/expression-parser/793c5095146f3a45cf2eba2f26a1c23cbad66ec6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fexpression-parser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ancos2505/expression-parser on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ancos2505/expression-parser [INFO] finished tweaking git repo https://github.com/ancos2505/expression-parser [INFO] tweaked toml for git repo https://github.com/ancos2505/expression-parser written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ancos2505/expression-parser 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7a9a1288edb3c85d6b0f02afa814f468f66af249759106d7b3df26610bb0c13 [INFO] running `Command { std: "docker" "start" "-a" "a7a9a1288edb3c85d6b0f02afa814f468f66af249759106d7b3df26610bb0c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7a9a1288edb3c85d6b0f02afa814f468f66af249759106d7b3df26610bb0c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a9a1288edb3c85d6b0f02afa814f468f66af249759106d7b3df26610bb0c13", kill_on_drop: false }` [INFO] [stdout] a7a9a1288edb3c85d6b0f02afa814f468f66af249759106d7b3df26610bb0c13 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32e78672750d8c686ab7f4ad4ebe2e070da9d273a3e26b5da01512ed08c91bf [INFO] running `Command { std: "docker" "start" "-a" "d32e78672750d8c686ab7f4ad4ebe2e070da9d273a3e26b5da01512ed08c91bf", kill_on_drop: false }` [INFO] [stderr] Checking expression-parser v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::VecDeque` and `format` [INFO] [stdout] --> src/ast_parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | fmt::{format, Debug, Display}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast_parser::AstToken` [INFO] [stdout] --> src/tokens.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast_parser::AstToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque` and `format` [INFO] [stdout] --> src/ast_parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | fmt::{format, Debug, Display}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast_parser::AstToken` [INFO] [stdout] --> src/tokens.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ast_parser::AstToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AST` is never constructed [INFO] [stdout] --> src/ast_parser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct AST { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/ast_parser.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/ast_parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Token(Box); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_operation` is never used [INFO] [stdout] --> src/ast_parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn get_operation(&self) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AstToken` is never used [INFO] [stdout] --> src/ast_parser.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) trait AstToken: Any + Debug + Display { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus` is never used [INFO] [stdout] --> src/ast_parser.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn plus(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minus` is never used [INFO] [stdout] --> src/ast_parser.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn minus(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/ast_parser.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn multiply(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> src/ast_parser.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn divide(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power` is never used [INFO] [stdout] --> src/ast_parser.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn power(base: Node, expoent: Node) -> Node { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/ast_parser.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn number(n: f64) -> Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/lexer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | input: &'a str, [INFO] [stdout] 16 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` 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 function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl Plus { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 107 | impl Minus { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl Multiply { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl Divide { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 158 | impl Power { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minus` is never used [INFO] [stdout] --> src/ast_parser.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn minus(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> src/ast_parser.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn divide(left: Node, right: Node) -> Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/lexer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | input: &'a str, [INFO] [stdout] 16 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` 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 function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl Plus { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 107 | impl Minus { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl Multiply { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl Divide { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub const fn as_str() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_str` is never used [INFO] [stdout] --> src/tokens.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 158 | impl Power { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn as_str() -> &'static str { [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.40s [INFO] running `Command { std: "docker" "inspect" "d32e78672750d8c686ab7f4ad4ebe2e070da9d273a3e26b5da01512ed08c91bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32e78672750d8c686ab7f4ad4ebe2e070da9d273a3e26b5da01512ed08c91bf", kill_on_drop: false }` [INFO] [stdout] d32e78672750d8c686ab7f4ad4ebe2e070da9d273a3e26b5da01512ed08c91bf