[INFO] fetching crate tidwall_geohash 0.9.1... [INFO] testing tidwall_geohash-0.9.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tidwall_geohash 0.9.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tidwall_geohash 0.9.1 [INFO] finished tweaking crates.io crate tidwall_geohash 0.9.1 [INFO] tweaked toml for crates.io crate tidwall_geohash 0.9.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tidwall_geohash 0.9.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13268b3088c050deaa39c29e8f077fd78edd1a3fcda9397c2ae0527ad746b989 [INFO] running `Command { std: "docker" "start" "-a" "13268b3088c050deaa39c29e8f077fd78edd1a3fcda9397c2ae0527ad746b989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13268b3088c050deaa39c29e8f077fd78edd1a3fcda9397c2ae0527ad746b989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13268b3088c050deaa39c29e8f077fd78edd1a3fcda9397c2ae0527ad746b989", kill_on_drop: false }` [INFO] [stdout] 13268b3088c050deaa39c29e8f077fd78edd1a3fcda9397c2ae0527ad746b989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 932e5f84c41b2f4d114eac469f10bba1bdb5b37ed2b9231d1e0d44905413c9e0 [INFO] running `Command { std: "docker" "start" "-a" "932e5f84c41b2f4d114eac469f10bba1bdb5b37ed2b9231d1e0d44905413c9e0", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tidwall_geohash v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "932e5f84c41b2f4d114eac469f10bba1bdb5b37ed2b9231d1e0d44905413c9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932e5f84c41b2f4d114eac469f10bba1bdb5b37ed2b9231d1e0d44905413c9e0", kill_on_drop: false }` [INFO] [stdout] 932e5f84c41b2f4d114eac469f10bba1bdb5b37ed2b9231d1e0d44905413c9e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12e9852e471c5e473fbd020aa5856b9c49dc0c61a66512b482ee700000f65cf6 [INFO] running `Command { std: "docker" "start" "-a" "12e9852e471c5e473fbd020aa5856b9c49dc0c61a66512b482ee700000f65cf6", kill_on_drop: false }` [INFO] [stderr] Compiling tidwall_geohash v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `lat` and `lng` are never read [INFO] [stdout] --> src/tests/neighbors_test_cases.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NeighborsTestCase { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 76 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | pub lng: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborsTestCase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / format!( [INFO] [stdout] 13 | | "incorrect encode string result for ({},{}): {} != {}", [INFO] [stdout] 14 | | c.lat, c.lng, c.hash, hash [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 12 ~ [INFO] [stdout] 13 | "incorrect encode string result for ({},{}): {} != {}", [INFO] [stdout] 14 | c.lat, c.lng, c.hash, hash [INFO] [stdout] 15 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | / format!( [INFO] [stdout] 27 | | "incorrect encode integer result for ({},{}): {} != {} xor {}", [INFO] [stdout] 28 | | c.lat, [INFO] [stdout] 29 | | c.lng, [INFO] [stdout] ... | [INFO] [stdout] 32 | | c.hash_int ^ hash_int [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 ~ [INFO] [stdout] 27 | "incorrect encode integer result for ({},{}): {} != {} xor {}", [INFO] [stdout] ... [INFO] [stdout] 32 | c.hash_int ^ hash_int [INFO] [stdout] 33 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | / format!( [INFO] [stdout] 47 | | "incorrect encode string result for ({},{}) at precision {}: {} != {}", [INFO] [stdout] 48 | | c.lat, c.lng, chars, pre, hash [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 ~ [INFO] [stdout] 47 | "incorrect encode string result for ({},{}) at precision {}: {} != {}", [INFO] [stdout] 48 | c.lat, c.lng, chars, pre, hash [INFO] [stdout] 49 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | format!("incorrect bounding box for {}", c.hash) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 - format!("incorrect bounding box for {}", c.hash) [INFO] [stdout] 62 + "incorrect bounding box for {}", c.hash [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | format!("incorrect bounding box for {}", c.hash_int) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - format!("incorrect bounding box for {}", c.hash_int) [INFO] [stdout] 74 + "incorrect bounding box for {}", c.hash_int [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | format!("large error in decoded latitude for {}", c.hash_int) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 86 - format!("large error in decoded latitude for {}", c.hash_int) [INFO] [stdout] 86 + "large error in decoded latitude for {}", c.hash_int [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | format!("large error in decoded longitude for {}", c.hash_int) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 - format!("large error in decoded longitude for {}", c.hash_int) [INFO] [stdout] 90 + "large error in decoded longitude for {}", c.hash_int [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | / format!( [INFO] [stdout] 103 | | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stdout] 104 | | c.hash, lat, lng, c.r#box [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 102 ~ [INFO] [stdout] 103 | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stdout] 104 | c.hash, lat, lng, c.r#box [INFO] [stdout] 105 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | / format!( [INFO] [stdout] 118 | | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stdout] 119 | | c.hash, lat, lng, c.r#box [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 ~ [INFO] [stdout] 118 | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stdout] 119 | c.hash, lat, lng, c.r#box [INFO] [stdout] 120 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/extensive.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | format!("hash {} decoded and re-encoded to {}", c.hash, rehashed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 134 - format!("hash {} decoded and re-encoded to {}", c.hash, rehashed) [INFO] [stdout] 134 + "hash {} decoded and re-encoded to {}", c.hash, rehashed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/geohash.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | format!("contains {},{} should be {}", c.0, c.1, c.2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 - format!("contains {},{} should be {}", c.0, c.1, c.2) [INFO] [stdout] 98 + "contains {},{} should be {}", c.0, c.1, c.2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/geohash.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 124 - format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stdout] 124 + "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/geohash.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | / format!( [INFO] [stdout] 154 | | "neighbor: {} does not match expected: {}", [INFO] [stdout] 155 | | neighbor, expected [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 153 ~ [INFO] [stdout] 154 | "neighbor: {} does not match expected: {}", [INFO] [stdout] 155 | neighbor, expected [INFO] [stdout] 156 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/geohash.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 170 - format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stdout] 170 + "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "12e9852e471c5e473fbd020aa5856b9c49dc0c61a66512b482ee700000f65cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e9852e471c5e473fbd020aa5856b9c49dc0c61a66512b482ee700000f65cf6", kill_on_drop: false }` [INFO] [stdout] 12e9852e471c5e473fbd020aa5856b9c49dc0c61a66512b482ee700000f65cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0361d2d5c4a85d1c8c5819a399fdcfffc68576bcb3341eafbc3f9b90398a9dba [INFO] running `Command { std: "docker" "start" "-a" "0361d2d5c4a85d1c8c5819a399fdcfffc68576bcb3341eafbc3f9b90398a9dba", kill_on_drop: false }` [INFO] [stderr] warning: fields `lat` and `lng` are never read [INFO] [stderr] --> src/tests/neighbors_test_cases.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct NeighborsTestCase { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 76 | pub lat: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 77 | pub lng: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NeighborsTestCase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | / format!( [INFO] [stderr] 13 | | "incorrect encode string result for ({},{}): {} != {}", [INFO] [stderr] 14 | | c.lat, c.lng, c.hash, hash [INFO] [stderr] 15 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 12 ~ [INFO] [stderr] 13 | "incorrect encode string result for ({},{}): {} != {}", [INFO] [stderr] 14 | c.lat, c.lng, c.hash, hash [INFO] [stderr] 15 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | / format!( [INFO] [stderr] 27 | | "incorrect encode integer result for ({},{}): {} != {} xor {}", [INFO] [stderr] 28 | | c.lat, [INFO] [stderr] 29 | | c.lng, [INFO] [stderr] ... | [INFO] [stderr] 32 | | c.hash_int ^ hash_int [INFO] [stderr] 33 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 ~ [INFO] [stderr] 27 | "incorrect encode integer result for ({},{}): {} != {} xor {}", [INFO] [stderr] ... [INFO] [stderr] 32 | c.hash_int ^ hash_int [INFO] [stderr] 33 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | / format!( [INFO] [stderr] 47 | | "incorrect encode string result for ({},{}) at precision {}: {} != {}", [INFO] [stderr] 48 | | c.lat, c.lng, chars, pre, hash [INFO] [stderr] 49 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 46 ~ [INFO] [stderr] 47 | "incorrect encode string result for ({},{}) at precision {}: {} != {}", [INFO] [stderr] 48 | c.lat, c.lng, chars, pre, hash [INFO] [stderr] 49 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | format!("incorrect bounding box for {}", c.hash) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 62 - format!("incorrect bounding box for {}", c.hash) [INFO] [stderr] 62 + "incorrect bounding box for {}", c.hash [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | format!("incorrect bounding box for {}", c.hash_int) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 74 - format!("incorrect bounding box for {}", c.hash_int) [INFO] [stderr] 74 + "incorrect bounding box for {}", c.hash_int [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | format!("large error in decoded latitude for {}", c.hash_int) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 86 - format!("large error in decoded latitude for {}", c.hash_int) [INFO] [stderr] 86 + "large error in decoded latitude for {}", c.hash_int [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | format!("large error in decoded longitude for {}", c.hash_int) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 90 - format!("large error in decoded longitude for {}", c.hash_int) [INFO] [stderr] 90 + "large error in decoded longitude for {}", c.hash_int [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | / format!( [INFO] [stderr] 103 | | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stderr] 104 | | c.hash, lat, lng, c.r#box [INFO] [stderr] 105 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 102 ~ [INFO] [stderr] 103 | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stderr] 104 | c.hash, lat, lng, c.r#box [INFO] [stderr] 105 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | / format!( [INFO] [stderr] 118 | | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stderr] 119 | | c.hash, lat, lng, c.r#box [INFO] [stderr] 120 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 117 ~ [INFO] [stderr] 118 | "hash {} decoded to {},{} should lie in {:?}", [INFO] [stderr] 119 | c.hash, lat, lng, c.r#box [INFO] [stderr] 120 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/extensive.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | format!("hash {} decoded and re-encoded to {}", c.hash, rehashed) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 134 - format!("hash {} decoded and re-encoded to {}", c.hash, rehashed) [INFO] [stderr] 134 + "hash {} decoded and re-encoded to {}", c.hash, rehashed [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/geohash.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | format!("contains {},{} should be {}", c.0, c.1, c.2) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 98 - format!("contains {},{} should be {}", c.0, c.1, c.2) [INFO] [stderr] 98 + "contains {},{} should be {}", c.0, c.1, c.2 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/geohash.rs:124:17 [INFO] [stderr] | [INFO] [stderr] 124 | format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 124 - format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stderr] 124 + "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/geohash.rs:153:17 [INFO] [stderr] | [INFO] [stderr] 153 | / format!( [INFO] [stderr] 154 | | "neighbor: {} does not match expected: {}", [INFO] [stderr] 155 | | neighbor, expected [INFO] [stderr] 156 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 153 ~ [INFO] [stderr] 154 | "neighbor: {} does not match expected: {}", [INFO] [stderr] 155 | neighbor, expected [INFO] [stderr] 156 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests/geohash.rs:170:17 [INFO] [stderr] | [INFO] [stderr] 170 | format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 170 - format!("actual: {} \n expected: {}\n", neighbor, expected) [INFO] [stderr] 170 + "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tidwall_geohash` (lib test) generated 15 warnings (run `cargo fix --lib -p tidwall_geohash --tests` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tidwall_geohash-97b9ea432047d90f) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test tests::extensive::encode_int ... ok [INFO] [stdout] test tests::extensive::bounding_box ... ok [INFO] [stdout] test tests::extensive::decode_int ... ok [INFO] [stdout] test tests::extensive::decode_then_encode ... ok [INFO] [stdout] test tests::extensive::bounding_box_int ... ok [INFO] [stdout] test tests::geohash::base32_encode ... ok [INFO] [stdout] test tests::geohash::base32_decode ... ok [INFO] [stdout] test tests::extensive::encode ... ok [INFO] [stdout] test tests::geohash::box_center ... ok [INFO] [stdout] test tests::geohash::box_contains ... ok [INFO] [stdout] test tests::geohash::box_round ... ok [INFO] [stdout] test tests::geohash::leading_zero ... ok [INFO] [stdout] test tests::geohash::neighbors_int_test ... ok [INFO] [stdout] test tests::geohash::wikipedia_example ... ok [INFO] [stdout] test tests::geohash::interleaving ... ok [INFO] [stdout] test tests::extensive::decode ... ok [INFO] [stdout] test tests::extensive::prefix_property ... ok [INFO] [stdout] test tests::geohash::neighbor_int_with_precision_test ... ok [INFO] [stdout] test tests::geohash::neighbors_test ... ok [INFO] [stdout] test tests::extensive::decode_center ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Doc-tests tidwall_geohash [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" "0361d2d5c4a85d1c8c5819a399fdcfffc68576bcb3341eafbc3f9b90398a9dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0361d2d5c4a85d1c8c5819a399fdcfffc68576bcb3341eafbc3f9b90398a9dba", kill_on_drop: false }` [INFO] [stdout] 0361d2d5c4a85d1c8c5819a399fdcfffc68576bcb3341eafbc3f9b90398a9dba