[INFO] fetching crate z3 0.10.0... [INFO] checking z3-0.10.0 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate z3 0.10.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate z3 0.10.0 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7afbb62156876967573840a1d4acc636d050a3b570bb470dc8a592f4af827ef6 [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" "7afbb62156876967573840a1d4acc636d050a3b570bb470dc8a592f4af827ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7afbb62156876967573840a1d4acc636d050a3b570bb470dc8a592f4af827ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afbb62156876967573840a1d4acc636d050a3b570bb470dc8a592f4af827ef6", kill_on_drop: false }` [INFO] [stdout] 7afbb62156876967573840a1d4acc636d050a3b570bb470dc8a592f4af827ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd77e27ef8d31e424888759aa232898a40985ba43181f81b2db31d9df6004813 [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" "fd77e27ef8d31e424888759aa232898a40985ba43181f81b2db31d9df6004813", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling z3-sys v0.6.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking z3 v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking aho-corasick v0.7.18 [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] [stderr] Checking regex v1.5.4 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 5.73s [INFO] running `Command { std: "docker" "inspect" "fd77e27ef8d31e424888759aa232898a40985ba43181f81b2db31d9df6004813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd77e27ef8d31e424888759aa232898a40985ba43181f81b2db31d9df6004813", kill_on_drop: false }` [INFO] [stdout] fd77e27ef8d31e424888759aa232898a40985ba43181f81b2db31d9df6004813