[INFO] cloning repository https://github.com/Baseng0815/sat-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Baseng0815/sat-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaseng0815%2Fsat-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaseng0815%2Fsat-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d6636c654baa2ff95ffe43c7b4cbf353ced9461 [INFO] checking Baseng0815/sat-solver against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaseng0815%2Fsat-solver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Baseng0815/sat-solver [INFO] finished tweaking git repo https://github.com/Baseng0815/sat-solver [INFO] tweaked toml for git repo https://github.com/Baseng0815/sat-solver written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Baseng0815/sat-solver on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Baseng0815/sat-solver 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.23 [INFO] [stderr] Downloaded cc v1.1.36 [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.7 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 321499772f8ee53a4166585795f1b6937f0dd17a8d2018b41078e59f36005ada [INFO] running `Command { std: "docker" "start" "-a" "321499772f8ee53a4166585795f1b6937f0dd17a8d2018b41078e59f36005ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "321499772f8ee53a4166585795f1b6937f0dd17a8d2018b41078e59f36005ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321499772f8ee53a4166585795f1b6937f0dd17a8d2018b41078e59f36005ada", kill_on_drop: false }` [INFO] [stdout] 321499772f8ee53a4166585795f1b6937f0dd17a8d2018b41078e59f36005ada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7bca17a77ce69e8600058778a70a663794293f7e6a79ddd3eb4ffa859ac3e2e [INFO] running `Command { std: "docker" "start" "-a" "c7bca17a77ce69e8600058778a70a663794293f7e6a79ddd3eb4ffa859ac3e2e", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sat-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/instance.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | writeln!(f, "Instance containing {} variables", self.var_to_str.len())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `writeln! { f, "Instance containing {} variables", self.var_to_str.len() }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args_nl! [INFO] [stdout] ("Instance containing {} variables", self.var_to_str.len()))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/instance.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | write!(f, "Expression: {}", self.expression) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "Expression: {}", self.expression }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("Expression: {}", self.expression))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | Expression::Variable(var) => write!(f, "v{}", var), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "v{}", var }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("v{}", var))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | Expression::Constant(val) => write!(f, "{}", val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}", val }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{}", val))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color) }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | write!(f, "{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color) }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | write!(f, "-{}", expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "-{}", expr }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("-{}", expr))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/normal.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let mut remaining = vec![dnf_expr]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { dnf_expr }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([dnf_expr]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/normal.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let mut remaining = vec![cnf_expr]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { cnf_expr }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([cnf_expr]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let parsed_expression = prop_expr!((a & (b | c)) & (-d)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `prop_expr! { (a & (b | c)) & (-d) }` [INFO] [stdout] = note: to `ParsedExpression :: [INFO] [stdout] And(Box :: new(prop_expr! ((a & (b | c)))), Box :: new(prop_expr! ((-d))))` [INFO] [stdout] = note: expanding `prop_expr! { (a & (b | c)) }` [INFO] [stdout] = note: to `prop_expr! (a & (b | c))` [INFO] [stdout] = note: expanding `prop_expr! { a & (b | c) }` [INFO] [stdout] = note: to `ParsedExpression :: [INFO] [stdout] And(Box :: new(prop_expr! (a)), Box :: new(prop_expr! ((b | c))))` [INFO] [stdout] = note: expanding `prop_expr! { a }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (a)))` [INFO] [stdout] = note: expanding `prop_expr! { (b | c) }` [INFO] [stdout] = note: to `prop_expr! (b | c)` [INFO] [stdout] = note: expanding `prop_expr! { b | c }` [INFO] [stdout] = note: to `ParsedExpression :: Or(Box :: new(prop_expr! (b)), Box :: new(prop_expr! (c)))` [INFO] [stdout] = note: expanding `prop_expr! { b }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (b)))` [INFO] [stdout] = note: expanding `prop_expr! { c }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (c)))` [INFO] [stdout] = note: expanding `prop_expr! { (-d) }` [INFO] [stdout] = note: to `prop_expr! (-d)` [INFO] [stdout] = note: expanding `prop_expr! { -d }` [INFO] [stdout] = note: to `ParsedExpression :: Not(Box :: new(prop_expr! (d)))` [INFO] [stdout] = note: expanding `prop_expr! { d }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (d)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | eprintln!("instance = {:#?}", instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "instance = {:#?}", instance }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! ("instance = {:#?}", instance)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | eprintln!("instance.expression = {}", instance.expression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "instance.expression = {}", instance.expression }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! [INFO] [stdout] ("instance.expression = {}", instance.expression)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("solution = {:#?}", solution); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "solution = {:#?}", solution }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! ("solution = {:#?}", solution)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::SolverResult` [INFO] [stdout] --> src/main.rs:9:76 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{expression::expression::Assignment, solver::{dpll::solve_dpll, instance::SolverResult}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `container::Seq` and `error::Simple` [INFO] [stdout] --> src/parser.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use chumsky::{container::Seq, error::Simple, pratt::{infix, prefix, right}, primitive::{choice, just}, recursive::recursive, text, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/solver/dpll.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashSet, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/instance.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | writeln!(f, "Instance containing {} variables", self.var_to_str.len())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `writeln! { f, "Instance containing {} variables", self.var_to_str.len() }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args_nl! [INFO] [stdout] ("Instance containing {} variables", self.var_to_str.len()))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/instance.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | write!(f, "Expression: {}", self.expression) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "Expression: {}", self.expression }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("Expression: {}", self.expression))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/dpll.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | let mut cnf = DpllCNF::new(vec![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 254 | | DpllClause::new(vec![lit0, lit1], false), [INFO] [stdout] 255 | | DpllClause::new(vec![lit1, lit2], false), [INFO] [stdout] 256 | | DpllClause::new(vec![lit3], false), [INFO] [stdout] 257 | | ]); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { DpllClause::new(vec![lit0, lit1], false), [INFO] [stdout] DpllClause::new(vec![lit1, lit2], false), DpllClause::new(vec![lit3], false), }` [INFO] [stdout] = note: to `< [_] > :: [INFO] [stdout] into_vec($crate :: boxed :: [INFO] [stdout] box_new([DpllClause::new(vec![lit0, lit1], false), [INFO] [stdout] DpllClause::new(vec![lit1, lit2], false), [INFO] [stdout] DpllClause::new(vec![lit3], false)]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/dpll.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | DpllClause::new(vec![lit0, lit1], false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { lit0, lit1 }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([lit0, lit1]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/dpll.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | DpllClause::new(vec![lit1, lit2], false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { lit1, lit2 }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([lit1, lit2]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/solver/dpll.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | DpllClause::new(vec![lit3], false), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { lit3 }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([lit3]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | Expression::Variable(var) => write!(f, "v{}", var), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "v{}", var }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("v{}", var))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | Expression::Constant(val) => write!(f, "{}", val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}", val }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{}", val))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color) }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{}{} & {}{}", "(".color(color), lhs, rhs, ")".color(color)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | write!(f, "{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color) }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{}{} | {}{}", "(".color(color), lhs, rhs, ")".color(color)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/expression.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | write!(f, "-{}", expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "-{}", expr }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("-{}", expr))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/normal.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let mut remaining = vec![dnf_expr]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { dnf_expr }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([dnf_expr]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/expression/normal.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let mut remaining = vec![cnf_expr]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `vec! { cnf_expr }` [INFO] [stdout] = note: to `< [_] > :: into_vec($crate :: boxed :: box_new([cnf_expr]))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let parsed_expression = prop_expr!((a & (b | c)) & (-d)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `prop_expr! { (a & (b | c)) & (-d) }` [INFO] [stdout] = note: to `ParsedExpression :: [INFO] [stdout] And(Box :: new(prop_expr! ((a & (b | c)))), Box :: new(prop_expr! ((-d))))` [INFO] [stdout] = note: expanding `prop_expr! { (a & (b | c)) }` [INFO] [stdout] = note: to `prop_expr! (a & (b | c))` [INFO] [stdout] = note: expanding `prop_expr! { a & (b | c) }` [INFO] [stdout] = note: to `ParsedExpression :: [INFO] [stdout] And(Box :: new(prop_expr! (a)), Box :: new(prop_expr! ((b | c))))` [INFO] [stdout] = note: expanding `prop_expr! { a }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (a)))` [INFO] [stdout] = note: expanding `prop_expr! { (b | c) }` [INFO] [stdout] = note: to `prop_expr! (b | c)` [INFO] [stdout] = note: expanding `prop_expr! { b | c }` [INFO] [stdout] = note: to `ParsedExpression :: Or(Box :: new(prop_expr! (b)), Box :: new(prop_expr! (c)))` [INFO] [stdout] = note: expanding `prop_expr! { b }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (b)))` [INFO] [stdout] = note: expanding `prop_expr! { c }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (c)))` [INFO] [stdout] = note: expanding `prop_expr! { (-d) }` [INFO] [stdout] = note: to `prop_expr! (-d)` [INFO] [stdout] = note: expanding `prop_expr! { -d }` [INFO] [stdout] = note: to `ParsedExpression :: Not(Box :: new(prop_expr! (d)))` [INFO] [stdout] = note: expanding `prop_expr! { d }` [INFO] [stdout] = note: to `ParsedExpression :: Variable(String :: from(stringify! (d)))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | eprintln!("instance = {:#?}", instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "instance = {:#?}", instance }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! ("instance = {:#?}", instance)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | eprintln!("instance.expression = {}", instance.expression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "instance.expression = {}", instance.expression }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! [INFO] [stdout] ("instance.expression = {}", instance.expression)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("solution = {:#?}", solution); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `eprintln! { "solution = {:#?}", solution }` [INFO] [stdout] = note: to `{ [INFO] [stdout] $crate :: io :: [INFO] [stdout] _eprint($crate :: format_args_nl! ("solution = {:#?}", solution)); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::SolverResult` [INFO] [stdout] --> src/main.rs:9:76 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{expression::expression::Assignment, solver::{dpll::solve_dpll, instance::SolverResult}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `container::Seq` and `error::Simple` [INFO] [stdout] --> src/parser.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use chumsky::{container::Seq, error::Simple, pratt::{infix, prefix, right}, primitive::{choice, just}, recursive::recursive, text, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/solver/dpll.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashSet, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Container` [INFO] [stdout] --> src/solver/dpll.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use chumsky::container::{Container, Seq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnf` [INFO] [stdout] --> src/solver/dpll.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | fn choose_variable(cnf: &DpllCNF, max_id: VariableId, assignment: &Assignment) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Container` [INFO] [stdout] --> src/solver/dpll.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use chumsky::container::{Container, Seq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum ParsedExpression { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 37 | Variable(String), [INFO] [stdout] 38 | Constant(bool), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn parser<'a>() -> impl Parser<'a, &'a str, ParsedExpression> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_file(file: &Path) -> SATInstance { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `str_to_var` is never read [INFO] [stdout] --> src/solver/instance.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SATInstance { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub str_to_var: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SATInstance` 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: field `0` is never read [INFO] [stdout] --> src/solver/instance.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Sat(Option), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SolverResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Sat(Option), [INFO] [stdout] 16 + Sat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DNF` is never constructed [INFO] [stdout] --> src/expression/normal.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DNF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expression/normal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl DNF { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(clauses: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnf` [INFO] [stdout] --> src/solver/dpll.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | fn choose_variable(cnf: &DpllCNF, max_id: VariableId, assignment: &Assignment) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum ParsedExpression { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 37 | Variable(String), [INFO] [stdout] 38 | Constant(bool), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn parser<'a>() -> impl Parser<'a, &'a str, ParsedExpression> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_file(file: &Path) -> SATInstance { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `str_to_var` is never read [INFO] [stdout] --> src/solver/instance.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SATInstance { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub str_to_var: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SATInstance` 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: field `0` is never read [INFO] [stdout] --> src/solver/instance.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Sat(Option), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SolverResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Sat(Option), [INFO] [stdout] 16 + Sat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DNF` is never constructed [INFO] [stdout] --> src/expression/normal.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DNF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expression/normal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl DNF { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(clauses: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: chumsky v1.0.0-alpha.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c7bca17a77ce69e8600058778a70a663794293f7e6a79ddd3eb4ffa859ac3e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7bca17a77ce69e8600058778a70a663794293f7e6a79ddd3eb4ffa859ac3e2e", kill_on_drop: false }` [INFO] [stdout] c7bca17a77ce69e8600058778a70a663794293f7e6a79ddd3eb4ffa859ac3e2e