[INFO] fetching crate tidwall_geohash 0.9.1... [INFO] testing tidwall_geohash-0.9.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate tidwall_geohash 0.9.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tidwall_geohash 0.9.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37fed761c6ce7cfd072c67d0f41e1f3971a1d2c17c5efd2040672c33a34d5263 [INFO] running `Command { std: "docker" "start" "-a" "37fed761c6ce7cfd072c67d0f41e1f3971a1d2c17c5efd2040672c33a34d5263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fed761c6ce7cfd072c67d0f41e1f3971a1d2c17c5efd2040672c33a34d5263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fed761c6ce7cfd072c67d0f41e1f3971a1d2c17c5efd2040672c33a34d5263", kill_on_drop: false }` [INFO] [stdout] 37fed761c6ce7cfd072c67d0f41e1f3971a1d2c17c5efd2040672c33a34d5263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb5256addf2d969d1e94d308c8ce902c3696ac3ac743a1e1d913c6b55c82db33 [INFO] running `Command { std: "docker" "start" "-a" "bb5256addf2d969d1e94d308c8ce902c3696ac3ac743a1e1d913c6b55c82db33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [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 [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "bb5256addf2d969d1e94d308c8ce902c3696ac3ac743a1e1d913c6b55c82db33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5256addf2d969d1e94d308c8ce902c3696ac3ac743a1e1d913c6b55c82db33", kill_on_drop: false }` [INFO] [stdout] bb5256addf2d969d1e94d308c8ce902c3696ac3ac743a1e1d913c6b55c82db33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c073f347fe13a6716024d594e3f668a6ee0596a396b31913195819887abd7b24 [INFO] running `Command { std: "docker" "start" "-a" "c073f347fe13a6716024d594e3f668a6ee0596a396b31913195819887abd7b24", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tidwall_geohash v0.9.1 (/opt/rustwide/workdir) [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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] 28 | c.lat, [INFO] [stdout] 29 | c.lng, [INFO] [stdout] 30 | c.hash_int, [INFO] [stdout] 31 | hash_int, [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "c073f347fe13a6716024d594e3f668a6ee0596a396b31913195819887abd7b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c073f347fe13a6716024d594e3f668a6ee0596a396b31913195819887abd7b24", kill_on_drop: false }` [INFO] [stdout] c073f347fe13a6716024d594e3f668a6ee0596a396b31913195819887abd7b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d7a986439fc96bbc6daf03cb8c7651b9344067199889d7d57e25e11625657bf [INFO] running `Command { std: "docker" "start" "-a" "1d7a986439fc96bbc6daf03cb8c7651b9344067199889d7d57e25e11625657bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 20 tests [INFO] [stderr] --> src/tests/extensive.rs:12:13 [INFO] [stdout] test tests::geohash::box_center ... ok [INFO] [stderr] | [INFO] [stdout] test tests::geohash::leading_zero ... ok [INFO] [stderr] 12 | / format!( [INFO] [stdout] test tests::geohash::wikipedia_example ... ok [INFO] [stderr] 13 | | "incorrect encode string result for ({},{}): {} != {}", [INFO] [stdout] test tests::geohash::box_contains ... ok [INFO] [stderr] 14 | | c.lat, c.lng, c.hash, hash [INFO] [stdout] test tests::geohash::neighbors_int_test ... ok [INFO] [stderr] 15 | | ) [INFO] [stdout] test tests::geohash::interleaving ... ok [INFO] [stderr] | |_____________^ [INFO] [stdout] test tests::geohash::box_round ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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] 28 | c.lat, [INFO] [stderr] 29 | c.lng, [INFO] [stderr] 30 | c.hash_int, [INFO] [stderr] 31 | hash_int, [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 | "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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 | "actual: {} \n expected: {}\n", neighbor, expected [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tidwall_geohash-136aa2f88830578f) [INFO] [stdout] test tests::geohash::base32_encode ... ok [INFO] [stdout] test tests::geohash::base32_decode ... ok [INFO] [stdout] test tests::extensive::bounding_box_int ... 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::encode ... ok [INFO] [stdout] test tests::extensive::decode_center ... ok [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 ... ok [INFO] [stdout] test tests::extensive::decode_then_encode ... ok [INFO] [stdout] test tests::extensive::prefix_property ... 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" "1d7a986439fc96bbc6daf03cb8c7651b9344067199889d7d57e25e11625657bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d7a986439fc96bbc6daf03cb8c7651b9344067199889d7d57e25e11625657bf", kill_on_drop: false }` [INFO] [stdout] 1d7a986439fc96bbc6daf03cb8c7651b9344067199889d7d57e25e11625657bf