[INFO] cloning repository https://github.com/lemolatoon/formula_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lemolatoon/formula_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemolatoon%2Fformula_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemolatoon%2Fformula_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c02ac3ff97f119a8163dfe7e174714ee9dfa8f7 [INFO] checking lemolatoon/formula_parser against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemolatoon%2Fformula_parser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lemolatoon/formula_parser on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lemolatoon/formula_parser [INFO] finished tweaking git repo https://github.com/lemolatoon/formula_parser [INFO] tweaked toml for git repo https://github.com/lemolatoon/formula_parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lemolatoon/formula_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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57ad0c108214de9631fcf18a41255223c01b4f3466e1cf2ca37d374cd91e498b [INFO] running `Command { std: "docker" "start" "-a" "57ad0c108214de9631fcf18a41255223c01b4f3466e1cf2ca37d374cd91e498b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57ad0c108214de9631fcf18a41255223c01b4f3466e1cf2ca37d374cd91e498b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ad0c108214de9631fcf18a41255223c01b4f3466e1cf2ca37d374cd91e498b", kill_on_drop: false }` [INFO] [stdout] 57ad0c108214de9631fcf18a41255223c01b4f3466e1cf2ca37d374cd91e498b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f2f227bcfd7372452d440cb67a15136b1c045f223b318550383f596276d9fd6 [INFO] running `Command { std: "docker" "start" "-a" "7f2f227bcfd7372452d440cb67a15136b1c045f223b318550383f596276d9fd6", kill_on_drop: false }` [INFO] [stderr] Checking formula_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/formula.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/formula.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/formula.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | for (name, b) in last.iter() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/formula.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | for (name, b) in last.iter() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | for (name, b) in last.iter() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | for (name, b) in last.iter() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/lib.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/lib.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn tokenize(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/lib.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/lib.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_then`, `new_and`, `new_or`, `new_not`, and `new_letter` are never used [INFO] [stdout] --> src/lib.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 86 | fn new_then(lhs: Box, rhs: Box) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn new_and(lhs: Box, rhs: Box) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn new_or(lhs: Box, rhs: Box) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn new_not(operand: Box) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn new_letter(name: String) -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calc`, and `calc_expr` are never used [INFO] [stdout] --> src/lib.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 113 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 114 | pub const fn new(node: Box, vars: BTreeSet>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn calc(&self, input: BTreeMap) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn calc_expr(node: &Node, input: &BTreeMap) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `calc_then`, `calc_and`, `calc_or`, and `calc_not` are never used [INFO] [stdout] --> src/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 146 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 147 | fn calc_then(lhs: bool, rhs: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn calc_and(lhs: bool, rhs: bool) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn calc_or(lhs: bool, rhs: bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn calc_not(expr: bool) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 181 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn consume(&mut self, punct: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn expect_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn get_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn parse(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn parse_expr(&mut self, vars: &mut BTreeSet>) -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn parse_and_or(&mut self, vars: &mut BTreeSet>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn parse_not(&mut self, vars: &mut BTreeSet>) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn parse_primary(&mut self, vars: &mut BTreeSet>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_table` is never used [INFO] [stdout] --> src/lib.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | fn gen_table(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_table` is never used [INFO] [stdout] --> src/formula.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn gen_table(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, and `HashSet` [INFO] [stdout] --> examples/main.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | collections::{BTreeMap, BTreeSet, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/formula.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | for (name, b) in last.iter() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/formula.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | for (name, b) in last.iter() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | for (name, b) in last.iter() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | for (name, b) in last.iter() {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_table` is never used [INFO] [stdout] --> src/lib.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | fn gen_table(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_table` is never used [INFO] [stdout] --> src/formula.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn gen_table(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "7f2f227bcfd7372452d440cb67a15136b1c045f223b318550383f596276d9fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2f227bcfd7372452d440cb67a15136b1c045f223b318550383f596276d9fd6", kill_on_drop: false }` [INFO] [stdout] 7f2f227bcfd7372452d440cb67a15136b1c045f223b318550383f596276d9fd6