[INFO] cloning repository https://github.com/davidspies/rsatsolver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidspies/rsatsolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidspies%2Frsatsolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidspies%2Frsatsolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35a28c3011b362d6a02d0b8ad23577f22f72d89c [INFO] checking davidspies/rsatsolver/35a28c3011b362d6a02d0b8ad23577f22f72d89c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidspies%2Frsatsolver" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidspies/rsatsolver 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/davidspies/rsatsolver [INFO] finished tweaking git repo https://github.com/davidspies/rsatsolver [INFO] tweaked toml for git repo https://github.com/davidspies/rsatsolver written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidspies/rsatsolver 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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 752c0b215862fc90b2b1d373bf5ed93ea37fc5ad2da11a74d805f66ca754692f [INFO] running `Command { std: "docker" "start" "-a" "752c0b215862fc90b2b1d373bf5ed93ea37fc5ad2da11a74d805f66ca754692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "752c0b215862fc90b2b1d373bf5ed93ea37fc5ad2da11a74d805f66ca754692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752c0b215862fc90b2b1d373bf5ed93ea37fc5ad2da11a74d805f66ca754692f", kill_on_drop: false }` [INFO] [stdout] 752c0b215862fc90b2b1d373bf5ed93ea37fc5ad2da11a74d805f66ca754692f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 095498b84f865dc7135cbe1271ea01611d3f18d34ec2720c97af8fffd150ae64 [INFO] running `Command { std: "docker" "start" "-a" "095498b84f865dc7135cbe1271ea01611d3f18d34ec2720c97af8fffd150ae64", kill_on_drop: false }` [INFO] [stderr] Checking rsatsolver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `state::State` [INFO] [stdout] --> src/solver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use state::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped::WrappedProblem` [INFO] [stdout] --> src/solver.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped::WrappedProblem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::State` [INFO] [stdout] --> src/solver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use state::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped::WrappedProblem` [INFO] [stdout] --> src/solver.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wrapped::WrappedProblem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Literal` is never constructed [INFO] [stdout] --> src/problem.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Literal(pub Variable, pub Sign); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DisjunctionIter` is never used [INFO] [stdout] --> src/problem.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type DisjunctionIter<'a> = hash_map::Iter<'a, Variable, Sign>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Literal` is never constructed [INFO] [stdout] --> src/problem.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Literal(pub Variable, pub Sign); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `iter` are never used [INFO] [stdout] --> src/problem.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Disjunction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 21 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn iter(&self) -> DisjunctionIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DisjunctionIter` is never used [INFO] [stdout] --> src/problem.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type DisjunctionIter<'a> = hash_map::Iter<'a, Variable, Sign>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/problem.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `iter` are never used [INFO] [stdout] --> src/problem.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Disjunction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 21 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn iter(&self) -> DisjunctionIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/problem.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vars` is never used [INFO] [stdout] --> src/problem.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Problem { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 42 | pub fn vars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vars` is never used [INFO] [stdout] --> src/problem.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Problem { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 42 | pub fn vars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/problem.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl SignMap { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 68 | pub fn new V>(init: F) -> SignMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/problem.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl SignMap { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 68 | pub fn new V>(init: F) -> SignMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/solver.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/solver.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjunctionIndex` is never constructed [INFO] [stdout] --> src/solver/state.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct DisjunctionIndex(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjunctionIndex` is never constructed [INFO] [stdout] --> src/solver/state.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct DisjunctionIndex(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/solver/state.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct State<'problem> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/solver/state.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct State<'problem> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solver/state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'problem> State<'problem> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(problem: &'problem Problem) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_set(&self, v: Variable) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn sign_of(&self, v: Variable) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_disjunction(&mut self, disjunction: &'problem Disjunction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn assign(&mut self, var: Variable, sig: Sign) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn unassign(&mut self, var: Variable) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_and_clear_propagators(&mut self) -> Vec<&'problem Disjunction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_and_clear_pures(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solver/state.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'problem> State<'problem> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(problem: &'problem Problem) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_set(&self, v: Variable) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn sign_of(&self, v: Variable) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_disjunction(&mut self, disjunction: &'problem Disjunction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn assign(&mut self, var: Variable, sig: Sign) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn unassign(&mut self, var: Variable) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_and_clear_propagators(&mut self) -> Vec<&'problem Disjunction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_and_clear_pures(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignInfo` is never constructed [INFO] [stdout] --> src/solver/state.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct AssignInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignInfo` is never constructed [INFO] [stdout] --> src/solver/state.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct AssignInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjunctionInfo` is never constructed [INFO] [stdout] --> src/solver/state.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | struct DisjunctionInfo<'problem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjunctionInfo` is never constructed [INFO] [stdout] --> src/solver/state.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | struct DisjunctionInfo<'problem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/solver/state.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'problem> DisjunctionInfo<'problem> { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 125 | fn new(state: &State, disjunction: &'problem Disjunction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/solver/state.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'problem> DisjunctionInfo<'problem> { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 125 | fn new(state: &State, disjunction: &'problem Disjunction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrappedProblem` is never constructed [INFO] [stdout] --> src/solver/wrapped.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WrappedProblem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrappedProblem` is never constructed [INFO] [stdout] --> src/solver/wrapped.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WrappedProblem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AllDisjunctionsIter` is never used [INFO] [stdout] --> src/solver/wrapped.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AllDisjunctionsIter<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AllDisjunctionsIter` is never used [INFO] [stdout] --> src/solver/wrapped.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AllDisjunctionsIter<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disjunctions` is never used [INFO] [stdout] --> src/solver/wrapped.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WrappedProblem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 15 | pub fn disjunctions(&self) -> AllDisjunctionsIter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disjunctions` is never used [INFO] [stdout] --> src/solver/wrapped.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WrappedProblem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 15 | pub fn disjunctions(&self) -> AllDisjunctionsIter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "095498b84f865dc7135cbe1271ea01611d3f18d34ec2720c97af8fffd150ae64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095498b84f865dc7135cbe1271ea01611d3f18d34ec2720c97af8fffd150ae64", kill_on_drop: false }` [INFO] [stdout] 095498b84f865dc7135cbe1271ea01611d3f18d34ec2720c97af8fffd150ae64