[INFO] fetching crate z3 0.10.0... [INFO] checking z3-0.10.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate z3 0.10.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate z3 0.10.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate z3 0.10.0 [INFO] finished tweaking crates.io crate z3 0.10.0 [INFO] tweaked toml for crates.io crate z3 0.10.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded z3-sys v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6663850653c08c6b81ef575a7af630ff1a4180b421cedcff2888c3db9bc9780 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6663850653c08c6b81ef575a7af630ff1a4180b421cedcff2888c3db9bc9780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6663850653c08c6b81ef575a7af630ff1a4180b421cedcff2888c3db9bc9780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6663850653c08c6b81ef575a7af630ff1a4180b421cedcff2888c3db9bc9780", kill_on_drop: false }` [INFO] [stdout] c6663850653c08c6b81ef575a7af630ff1a4180b421cedcff2888c3db9bc9780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa0da22bcbdb411c852bba329edee0cb782a3f1e803fe15142946e74f3b600a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa0da22bcbdb411c852bba329edee0cb782a3f1e803fe15142946e74f3b600a1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling z3-sys v0.6.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking z3 v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/optimize.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | / impl_sealed! { [INFO] [stdout] 308 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 309 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | assert!(*self >= 0, "Weight cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(self.0 >= 0, "Weight numerator cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(self.1 >= 0, "Weight denominator cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | assert!(*self >= 0, "Weight cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> tests/objectives.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/optimize.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | / impl_sealed! { [INFO] [stdout] 308 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 309 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solver` [INFO] [stdout] --> tests/lib.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | let solver = Solver::new(&ctx); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_set_membership` [INFO] [stdout] --> tests/lib.rs:924:4 [INFO] [stdout] | [INFO] [stdout] 924 | fn test_set_membership() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_issue_94` [INFO] [stdout] --> tests/lib.rs:1294:4 [INFO] [stdout] | [INFO] [stdout] 1294 | fn test_issue_94() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | assert!(*self >= 0, "Weight cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(self.0 >= 0, "Weight numerator cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(self.1 >= 0, "Weight denominator cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/optimize.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | assert!(*self >= 0, "Weight cannot be negative"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / impl_weight! { [INFO] [stdout] 256 | | u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.94s [INFO] running `Command { std: "docker" "inspect" "fa0da22bcbdb411c852bba329edee0cb782a3f1e803fe15142946e74f3b600a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0da22bcbdb411c852bba329edee0cb782a3f1e803fe15142946e74f3b600a1", kill_on_drop: false }` [INFO] [stdout] fa0da22bcbdb411c852bba329edee0cb782a3f1e803fe15142946e74f3b600a1