[INFO] cloning repository https://github.com/AestheticIntegration/batsmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AestheticIntegration/batsmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAestheticIntegration%2Fbatsmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAestheticIntegration%2Fbatsmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1eac8ce809bfee345bd8f4eb6aea2531db37ac7 [INFO] checking AestheticIntegration/batsmt against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAestheticIntegration%2Fbatsmt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AestheticIntegration/batsmt on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AestheticIntegration/batsmt [INFO] finished tweaking git repo https://github.com/AestheticIntegration/batsmt [INFO] tweaked toml for git repo https://github.com/AestheticIntegration/batsmt written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AestheticIntegration/batsmt 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0920704a50cce947a5191026cfca0b113fcf921e58831146ee1895d01e351f3c [INFO] running `Command { std: "docker" "start" "-a" "0920704a50cce947a5191026cfca0b113fcf921e58831146ee1895d01e351f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0920704a50cce947a5191026cfca0b113fcf921e58831146ee1895d01e351f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0920704a50cce947a5191026cfca0b113fcf921e58831146ee1895d01e351f3c", kill_on_drop: false }` [INFO] [stdout] 0920704a50cce947a5191026cfca0b113fcf921e58831146ee1895d01e351f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42399f514e9c9c30ed76804060c8bdeb16658f6910c71f449ca1aa9e31ab79d3 [INFO] running `Command { std: "docker" "start" "-a" "42399f514e9c9c30ed76804060c8bdeb16658f6910c71f449ca1aa9e31ab79d3", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking pretty v0.5.2 [INFO] [stderr] Checking colored v1.7.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking batsmt-logger v0.1.0 (/opt/rustwide/workdir/src/logger) [INFO] [stderr] Checking batsat v0.3.1 (https://github.com/c-cube/batsat#3b91e4db) [INFO] [stderr] Checking batsmt-pretty v0.1.0 (/opt/rustwide/workdir/src/pretty) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pretty/src/lib.rs:445:6 [INFO] [stdout] | [INFO] [stdout] 445 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pretty/src/lib.rs:454:6 [INFO] [stdout] | [INFO] [stdout] 454 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking batsmt-core v0.1.0 (/opt/rustwide/workdir/src/core) [INFO] [stderr] Checking batsmt-parser v0.1.0 (/opt/rustwide/workdir/src/parser) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/src/parser.rs:211:34 [INFO] [stdout] | [INFO] [stdout] 211 | let s: Atom = str.into();; // now convert to utf8 [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/src/parser.rs:211:34 [INFO] [stdout] | [INFO] [stdout] 211 | let s: Atom = str.into();; // now convert to utf8 [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Result = result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub type Result = result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn mk_err(s: String) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn mk_err(s: String) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Result = result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub type Result = result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn mk_err(s: String) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn mk_err(s: String) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/src/parser.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Sub` instead of cloning the inner type [INFO] [stdout] --> src/core/src/ast.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | let f = &f.clone(); // separate pointer [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking batsmt-theory v0.1.0 (/opt/rustwide/workdir/src/theory) [INFO] [stderr] Checking batsmt-hast v0.1.0 (/opt/rustwide/workdir/src/hast) [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/theory/src/lib.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | mk_lit: Box C::B>, // FIXME: actual litmap or something? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 | mk_lit: Box C::B>, // FIXME: actual litmap or something? [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/theory/src/lib.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | mk_lit: Box C::B>, // FIXME: actual litmap or something? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 | mk_lit: Box C::B>, // FIXME: actual litmap or something? [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/hast/src/lib.rs:199:39 [INFO] [stdout] | [INFO] [stdout] 199 | pub const fn ast_idx(t: AST) -> u32 { (t.idx() >> 2) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - pub const fn ast_idx(t: AST) -> u32 { (t.idx() >> 2) } [INFO] [stdout] 199 + pub const fn ast_idx(t: AST) -> u32 { t.idx() >> 2 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hast/src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | const AST_MAX_IDX : u32 = (u32::MAX >> 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - const AST_MAX_IDX : u32 = (u32::MAX >> 2); [INFO] [stdout] 202 + const AST_MAX_IDX : u32 = u32::MAX >> 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/examples/smtcat.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking batsmt-cc v0.1.0 (/opt/rustwide/workdir/src/cc) [INFO] [stderr] Checking batsmt-tseitin v0.1.0 (/opt/rustwide/workdir/src/tseitin) [INFO] [stderr] Checking batsmt-solver v0.1.0 (/opt/rustwide/workdir/src/solver) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `acts` is never read [INFO] [stdout] --> src/cc/src/cc.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct MergePhase<'a,'b:'a, C:Ctx> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 418 | acts: &'a mut Option<&'b mut dyn Actions>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/cc/src/cc.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | drop(na); [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut cc::NodeDef::B>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/cc/src/cc.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | drop(nb); [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut cc::NodeDef::B>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/cc/src/theories/th_constructor_select.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | drop(st1); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&&th_constructor_select::ReprState<>::F>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/cc/src/theories/th_constructor_select.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | drop(st2); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&&th_constructor_select::ReprState<>::F>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking batsmt-run v0.1.0 (/opt/rustwide/workdir/src/run) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run/src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run/src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `c` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/run/src/main.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] 71 | for lit in lits { [INFO] [stdout] 72 | trace!("add side lit {}", pp::pp1(lit, &c)); [INFO] [stdout] | ^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `solver` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 73 | solver.add_lit(&mut c, lit.clone()); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 74 | } [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `c` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 73 | solver.add_lit(&mut c, lit.clone()); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 74 | } [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `solver` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] 76 | solver.add_clause(&mut c, clause); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `c` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] 76 | solver.add_clause(&mut c, clause); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.0.7 [INFO] [stderr] error: could not compile `batsmt-run` (bin "batsmt-run") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `c` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/run/src/main.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] 71 | for lit in lits { [INFO] [stdout] 72 | trace!("add side lit {}", pp::pp1(lit, &c)); [INFO] [stdout] | ^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `solver` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 73 | solver.add_lit(&mut c, lit.clone()); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 74 | } [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `c` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 73 | solver.add_lit(&mut c, lit.clone()); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 74 | } [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `solver` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] 76 | solver.add_clause(&mut c, clause); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `c` as mutable more than once at a time [INFO] [stdout] --> src/run/src/main.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 70 | let (cs, lits) = tseitin.clauses(&mut c, solver.lit_map_mut(), *t); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 75 | for clause in cs { [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] 76 | solver.add_clause(&mut c, clause); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `batsmt-run` (bin "batsmt-run" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "42399f514e9c9c30ed76804060c8bdeb16658f6910c71f449ca1aa9e31ab79d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42399f514e9c9c30ed76804060c8bdeb16658f6910c71f449ca1aa9e31ab79d3", kill_on_drop: false }` [INFO] [stdout] 42399f514e9c9c30ed76804060c8bdeb16658f6910c71f449ca1aa9e31ab79d3