[INFO] cloning repository https://github.com/skius/imp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skius/imp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fimp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fimp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9c23c6192b4bb442f8daebf7a3bd37343913dc [INFO] testing skius/imp against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fimp" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skius/imp on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/skius/imp [INFO] finished tweaking git repo https://github.com/skius/imp [INFO] tweaked toml for git repo https://github.com/skius/imp written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/skius/imp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symbolic_expressions v5.0.3 [INFO] [stderr] Downloaded egg v0.6.0 [INFO] [stderr] Downloaded z3 v0.11.2 [INFO] [stderr] Downloaded z3-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed50abbdeeb0a2c35231ca18a4fbc96999a60982909b147b64a07ef8e906d264 [INFO] running `Command { std: "docker" "start" "-a" "ed50abbdeeb0a2c35231ca18a4fbc96999a60982909b147b64a07ef8e906d264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed50abbdeeb0a2c35231ca18a4fbc96999a60982909b147b64a07ef8e906d264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed50abbdeeb0a2c35231ca18a4fbc96999a60982909b147b64a07ef8e906d264", kill_on_drop: false }` [INFO] [stdout] ed50abbdeeb0a2c35231ca18a4fbc96999a60982909b147b64a07ef8e906d264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eca117f94206a4dc3a697c9a24679ccf9860942e431928472a3552f77bd2462 [INFO] running `Command { std: "docker" "start" "-a" "6eca117f94206a4dc3a697c9a24679ccf9860942e431928472a3552f77bd2462", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling symbolic_expressions v5.0.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling egg v0.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling z3-sys v0.7.1 [INFO] [stderr] Compiling imp v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling z3 v0.11.2 [INFO] [stdout] warning: unused import: `AxStm` [INFO] [stdout] --> src/lib.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Aexp, AxBlock, AxStm, Bexp, ImpFuncDef, Opcode, Ropcode, Stm}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error::ImpErrorInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner::*` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use error::ImpErrorInner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dynamic`, `Int` [INFO] [stdout] --> src/ast.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use z3::ast::{Ast, Dynamic, Int}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::state::*` [INFO] [stdout] --> src/axiomatic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncDecl` [INFO] [stdout] --> src/axiomatic.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use z3::{SatResult, FuncDecl, RecFuncDecl, Model}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `forall_const` [INFO] [stdout] --> src/axiomatic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/axiomatic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/axiomatic.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_post` [INFO] [stdout] --> src/ast.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let inner_post = inner_rem.last().unwrap().1.0.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/axiomatic.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | for (name, f) in &funcmap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_pre_chain` [INFO] [stdout] --> src/axiomatic.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_pre_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let my_expr: RecExpr = "(^ 2 (+ z 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let my_expr: RecExpr = "(* (^ 2 z) (^ 2 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `untrue_model` [INFO] [stdout] --> src/error.rs:82:96 [INFO] [stdout] | [INFO] [stdout] 82 | ImpErrorInner::EntailmentError { entailment_src, entailment_dst, is_unknown: true, untrue_model } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `untrue_model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let mut f = funcmap.get(&self.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/axiomatic.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut solver = z3::Solver::new(&ctx); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:105:112 [INFO] [stdout] | [INFO] [stdout] 105 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 105 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:108:104 [INFO] [stdout] | [INFO] [stdout] 108 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 108 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Bexp::Rop` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ast::Bexp::Rop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | axiomatic::verify_block_except_cons_partial(&prog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | axiomatic::verify_cons_partial(&cfg, &prog, &funcdefs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | axiomatic::verify_block_except_cons_total(&prog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | axiomatic::verify_cons_total(&cfg, &prog, &funcdefs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.91s [INFO] running `Command { std: "docker" "inspect" "6eca117f94206a4dc3a697c9a24679ccf9860942e431928472a3552f77bd2462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eca117f94206a4dc3a697c9a24679ccf9860942e431928472a3552f77bd2462", kill_on_drop: false }` [INFO] [stdout] 6eca117f94206a4dc3a697c9a24679ccf9860942e431928472a3552f77bd2462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70af5b3dd512575e2a037128b80852584102162440d28883d013477a5063d9d0 [INFO] running `Command { std: "docker" "start" "-a" "70af5b3dd512575e2a037128b80852584102162440d28883d013477a5063d9d0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `AxStm` [INFO] [stdout] --> src/lib.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Aexp, AxBlock, AxStm, Bexp, ImpFuncDef, Opcode, Ropcode, Stm}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error::ImpErrorInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner::*` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use error::ImpErrorInner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dynamic`, `Int` [INFO] [stdout] --> src/ast.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use z3::ast::{Ast, Dynamic, Int}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::state::*` [INFO] [stdout] --> src/axiomatic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncDecl` [INFO] [stdout] --> src/axiomatic.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use z3::{SatResult, FuncDecl, RecFuncDecl, Model}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `forall_const` [INFO] [stdout] --> src/axiomatic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/axiomatic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/axiomatic.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_post` [INFO] [stdout] --> src/ast.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let inner_post = inner_rem.last().unwrap().1.0.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/axiomatic.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | for (name, f) in &funcmap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_pre_chain` [INFO] [stdout] --> src/axiomatic.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_pre_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let my_expr: RecExpr = "(^ 2 (+ z 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let my_expr: RecExpr = "(* (^ 2 z) (^ 2 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `untrue_model` [INFO] [stdout] --> src/error.rs:82:96 [INFO] [stdout] | [INFO] [stdout] 82 | ImpErrorInner::EntailmentError { entailment_src, entailment_dst, is_unknown: true, untrue_model } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `untrue_model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let mut f = funcmap.get(&self.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/axiomatic.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut solver = z3::Solver::new(&ctx); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:105:112 [INFO] [stdout] | [INFO] [stdout] 105 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 105 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling imp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:108:104 [INFO] [stdout] | [INFO] [stdout] 108 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 108 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Bexp::Rop` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ast::Bexp::Rop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | axiomatic::verify_block_except_cons_partial(&prog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | axiomatic::verify_cons_partial(&cfg, &prog, &funcdefs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | axiomatic::verify_block_except_cons_total(&prog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | axiomatic::verify_cons_total(&cfg, &prog, &funcdefs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AxStm` [INFO] [stdout] --> src/lib.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{Aexp, AxBlock, AxStm, Bexp, ImpFuncDef, Opcode, Ropcode, Stm}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error::ImpErrorInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ImpErrorInner::*` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use error::ImpErrorInner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dynamic`, `Int` [INFO] [stdout] --> src/ast.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use z3::ast::{Ast, Dynamic, Int}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::state::*` [INFO] [stdout] --> src/axiomatic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncDecl` [INFO] [stdout] --> src/axiomatic.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use z3::{SatResult, FuncDecl, RecFuncDecl, Model}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `forall_const` [INFO] [stdout] --> src/axiomatic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/axiomatic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/axiomatic.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_post` [INFO] [stdout] --> src/ast.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let inner_post = inner_rem.last().unwrap().1.0.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/axiomatic.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | for (name, f) in &funcmap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_pre_chain` [INFO] [stdout] --> src/axiomatic.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_pre_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let my_expr: RecExpr = "(^ 2 (+ z 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_expr` [INFO] [stdout] --> src/entailment.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let my_expr: RecExpr = "(* (^ 2 z) (^ 2 1))".parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `untrue_model` [INFO] [stdout] --> src/error.rs:82:96 [INFO] [stdout] | [INFO] [stdout] 82 | ImpErrorInner::EntailmentError { entailment_src, entailment_dst, is_unknown: true, untrue_model } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `untrue_model: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let mut f = funcmap.get(&self.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/axiomatic.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut solver = z3::Solver::new(&ctx); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:105:112 [INFO] [stdout] | [INFO] [stdout] 105 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 105 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ast.rs:108:104 [INFO] [stdout] | [INFO] [stdout] 108 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 108 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "70af5b3dd512575e2a037128b80852584102162440d28883d013477a5063d9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70af5b3dd512575e2a037128b80852584102162440d28883d013477a5063d9d0", kill_on_drop: false }` [INFO] [stdout] 70af5b3dd512575e2a037128b80852584102162440d28883d013477a5063d9d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b281cce1a1c8298ae8412ca8e0d281342ff0ac31e565b43ab021dd8c2c4e216 [INFO] running `Command { std: "docker" "start" "-a" "7b281cce1a1c8298ae8412ca8e0d281342ff0ac31e565b43ab021dd8c2c4e216", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `AxStm` [INFO] [stderr] --> src/lib.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ast::{Aexp, AxBlock, AxStm, Bexp, ImpFuncDef, Opcode, Ropcode, Stm}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::ImpErrorInner` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use error::ImpErrorInner; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::ImpErrorInner::*` [INFO] [stderr] --> src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use error::ImpErrorInner::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stderr] --> src/ast.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::hint::unreachable_unchecked; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Dynamic`, `Int` [INFO] [stderr] --> src/ast.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use z3::ast::{Ast, Dynamic, Int}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryInto` [INFO] [stderr] --> src/ast.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::state::*` [INFO] [stderr] --> src/axiomatic.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use super::state::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FuncDecl` [INFO] [stderr] --> src/axiomatic.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use z3::{SatResult, FuncDecl, RecFuncDecl, Model}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `forall_const` [INFO] [stderr] --> src/axiomatic.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryInto` [INFO] [stderr] --> src/axiomatic.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Ast` [INFO] [stderr] --> src/axiomatic.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | use z3::ast::{forall_const, Ast}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cond` [INFO] [stderr] --> src/ast.rs:97:26 [INFO] [stderr] | [INFO] [stderr] 97 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_post` [INFO] [stderr] --> src/ast.rs:99:21 [INFO] [stderr] | [INFO] [stderr] 99 | let inner_post = inner_rem.last().unwrap().1.0.last().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_post` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/axiomatic.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | for (name, f) in &funcmap { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner_pre_chain` [INFO] [stderr] --> src/axiomatic.rs:248:55 [INFO] [stderr] | [INFO] [stderr] 248 | AxStm::While(cond, AxBlock(AssertionChain(inner_pre_chain), inner_rem)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_pre_chain` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_expr` [INFO] [stderr] --> src/entailment.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let my_expr: RecExpr = "(^ 2 (+ z 1))".parse().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_expr` [INFO] [stderr] --> src/entailment.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | let my_expr: RecExpr = "(* (^ 2 z) (^ 2 1))".parse().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_expr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `untrue_model` [INFO] [stderr] --> src/error.rs:82:96 [INFO] [stderr] | [INFO] [stderr] 82 | ImpErrorInner::EntailmentError { entailment_src, entailment_dst, is_unknown: true, untrue_model } => { [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `untrue_model: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ast.rs:467:13 [INFO] [stderr] | [INFO] [stderr] 467 | let mut f = funcmap.get(&self.name).unwrap(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/axiomatic.rs:505:9 [INFO] [stderr] | [INFO] [stderr] 505 | let mut solver = z3::Solver::new(&ctx); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/ast.rs:105:112 [INFO] [stderr] | [INFO] [stderr] 105 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 105 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/ast.rs:108:104 [INFO] [stderr] | [INFO] [stderr] 108 | ...equires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 108 | _ => panic!("{}", "A total correctness proof requires an inner pre-condition of the form { condition and ( P ) and variant = LOGICAL_VAR}"), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `imp` (lib) generated 22 warnings [INFO] [stderr] warning: `imp` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] warning: unused import: `ast::Bexp::Rop` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use ast::Bexp::Rop; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | axiomatic::verify_block_except_cons_partial(&prog); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | axiomatic::verify_cons_partial(&cfg, &prog, &funcdefs); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | axiomatic::verify_block_except_cons_total(&prog); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | axiomatic::verify_cons_total(&cfg, &prog, &funcdefs); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `imp` (bin "imp" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/imp-f6398d2499b3caef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/imp-0abafd73d79fa58b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests imp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b281cce1a1c8298ae8412ca8e0d281342ff0ac31e565b43ab021dd8c2c4e216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b281cce1a1c8298ae8412ca8e0d281342ff0ac31e565b43ab021dd8c2c4e216", kill_on_drop: false }` [INFO] [stdout] 7b281cce1a1c8298ae8412ca8e0d281342ff0ac31e565b43ab021dd8c2c4e216