[INFO] cloning repository https://github.com/king54346/GeoHash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/king54346/GeoHash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2FGeoHash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2FGeoHash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 70536067b77da2604a5e0154ecb6c546f46065da
[INFO] checking king54346/GeoHash against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2FGeoHash" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/king54346/GeoHash
[INFO] finished tweaking git repo https://github.com/king54346/GeoHash
[INFO] tweaked toml for git repo https://github.com/king54346/GeoHash written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/king54346/GeoHash on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/king54346/GeoHash already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 899230c2d6547d8adc873ed85e06c110bba653f97695b3d0f728f7c8d4425885
[INFO] running `Command { std: "docker" "start" "-a" "899230c2d6547d8adc873ed85e06c110bba653f97695b3d0f728f7c8d4425885", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "899230c2d6547d8adc873ed85e06c110bba653f97695b3d0f728f7c8d4425885", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "899230c2d6547d8adc873ed85e06c110bba653f97695b3d0f728f7c8d4425885", kill_on_drop: false }`
[INFO] [stdout] 899230c2d6547d8adc873ed85e06c110bba653f97695b3d0f728f7c8d4425885
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec1fac5a2bb2130791e4a1579c95ebcf9fb232a6cc85e775514a6c9656191ee7
[INFO] running `Command { std: "docker" "start" "-a" "ec1fac5a2bb2130791e4a1579c95ebcf9fb232a6cc85e775514a6c9656191ee7", kill_on_drop: false }`
[INFO] [stderr]     Checking GeoHash v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/lib.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::rc::{Rc, Weak};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/lib.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::rc::{Rc, Weak};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]    --> src/lib.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |     use std::thread::Thread;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:373:21
[INFO] [stdout]     |
[INFO] [stdout] 373 |                 let mut entry = self.list_by_prefix(&hash);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hash` is never read
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct GeoEntry<T> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     hash: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeoEntry` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `point_key_to_lat_lng` and `get_hash` are never used
[INFO] [stdout]   --> src/lib.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<T: Clone> GeoEntry<T> {
[INFO] [stdout]    | -------------------------- methods in this implementation
[INFO] [stdout] 33 |     // 将 point 对应的 key ${lng}_${lat} 转为对应的经纬度
[INFO] [stdout] 34 |     fn point_key_to_lat_lng(&self, key: &str) -> (f64, f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn get_hash(&self) -> &String {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl<T: Clone> GeoService<T> {
[INFO] [stdout]     | ---------------------------- associated function in this implementation
[INFO] [stdout] 123 |     fn new(root: GeoTrieNode<T>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `GeoHash` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `geo_hash`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lngBits` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let lngBits = self.get_binary_bits(&mut String::new(), lng, -180.0, 180.0);
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `lng_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `latBits` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let latBits = self.get_binary_bits(&mut String::new(), lat, -90.0, 90.0);
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `lat_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:373:21
[INFO] [stdout]     |
[INFO] [stdout] 373 |                 let mut entry = self.list_by_prefix(&hash);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hash` is never read
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct GeoEntry<T> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     hash: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeoEntry` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `point_key_to_lat_lng` and `get_hash` are never used
[INFO] [stdout]   --> src/lib.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<T: Clone> GeoEntry<T> {
[INFO] [stdout]    | -------------------------- methods in this implementation
[INFO] [stdout] 33 |     // 将 point 对应的 key ${lng}_${lat} 转为对应的经纬度
[INFO] [stdout] 34 |     fn point_key_to_lat_lng(&self, key: &str) -> (f64, f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn get_hash(&self) -> &String {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lngBits` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let lngBits = self.get_binary_bits(&mut String::new(), lng, -180.0, 180.0);
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `lng_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `latBits` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let latBits = self.get_binary_bits(&mut String::new(), lat, -90.0, 90.0);
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `lat_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "ec1fac5a2bb2130791e4a1579c95ebcf9fb232a6cc85e775514a6c9656191ee7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec1fac5a2bb2130791e4a1579c95ebcf9fb232a6cc85e775514a6c9656191ee7", kill_on_drop: false }`
[INFO] [stdout] ec1fac5a2bb2130791e4a1579c95ebcf9fb232a6cc85e775514a6c9656191ee7
