[INFO] cloning repository https://github.com/wulawulu/map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wulawulu/map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwulawulu%2Fmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwulawulu%2Fmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebb68cdd68ce8d195de98e03be775a83ce635306 [INFO] building wulawulu/map against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwulawulu%2Fmap" "/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/wulawulu/map [INFO] finished tweaking git repo https://github.com/wulawulu/map [INFO] tweaked toml for git repo https://github.com/wulawulu/map written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wulawulu/map on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wulawulu/map 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.2.22 [INFO] [stderr] Downloaded sm3 v0.4.2 [INFO] [stderr] Downloaded ipnet v2.11.0 [INFO] [stderr] Downloaded time-core v0.1.4 [INFO] [stderr] Downloaded time v0.3.41 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded serde_urlencoded v0.7.1 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded httpdate v1.0.3 [INFO] [stderr] Downloaded httparse v1.10.1 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded try-lock v0.2.5 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded zerovec v0.11.3 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded tower-service v0.3.3 [INFO] [stderr] Downloaded encoding_rs v0.8.35 [INFO] [stderr] Downloaded darling v0.20.11 [INFO] [stderr] Downloaded socket2 v0.6.0 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded darling_core v0.20.11 [INFO] [stderr] Downloaded tracing-subscriber v0.3.19 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded signal-hook-registry v1.4.6 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.20.11 [INFO] [stderr] Downloaded want v0.3.1 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded tokio-rustls v0.24.1 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded tokio-util v0.7.16 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded mime v0.3.17 [INFO] [stderr] Downloaded valuable v0.1.1 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded deranged v0.4.0 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] [stderr] Downloaded windows-sys v0.52.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50d7983bb055ce556a5f9f506d7c35351a81293cc3c88c9007634d4fe7ec9c9e [INFO] running `Command { std: "docker" "start" "-a" "50d7983bb055ce556a5f9f506d7c35351a81293cc3c88c9007634d4fe7ec9c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d7983bb055ce556a5f9f506d7c35351a81293cc3c88c9007634d4fe7ec9c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d7983bb055ce556a5f9f506d7c35351a81293cc3c88c9007634d4fe7ec9c9e", kill_on_drop: false }` [INFO] [stdout] 50d7983bb055ce556a5f9f506d7c35351a81293cc3c88c9007634d4fe7ec9c9e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9390297a8017aebbdddfc6777036056f27fc9f246f70444b5ba2b73c94ce6503 [INFO] running `Command { std: "docker" "start" "-a" "9390297a8017aebbdddfc6777036056f27fc9f246f70444b5ba2b73c94ce6503", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sm3 v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/powergrid.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistrictResponse` is never constructed [INFO] [stdout] --> src/district.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DistrictResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `District` is never constructed [INFO] [stdout] --> src/district.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct District { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly_max.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly_max.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly_max_cq.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly_max_cq.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/amap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: fields `citycode`, `adcode`, `level`, and `districts` are never read [INFO] [stdout] --> src/amap.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | districts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `infocode` and `count` are never read [INFO] [stdout] --> src/amap.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct PoiResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | infocode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poi_type`, `typecode`, `pcode`, `adcode`, and `citycode` are never read [INFO] [stdout] --> src/amap.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Poi { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | poi_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | typecode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pcode: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | citycode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POI_ID` should have a snake case name [INFO] [stdout] --> src/amap.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | POI_ID: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poi_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/pg.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct DistrictResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: fields `citycode`, `adcode`, `level`, and `districts` are never read [INFO] [stdout] --> src/pg.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct District { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | districts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `code`, and `message` are never read [INFO] [stdout] --> src/pg.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct PgWrappedResp { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 34 | success: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgWrappedResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info`, `count`, `infocode`, and `status` are never read [INFO] [stdout] --> src/pg.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct PgPoiResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | info: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | infocode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgPoiResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poi_type`, `typecode`, `pcode`, `adcode`, and `citycode` are never read [INFO] [stdout] --> src/pg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct PgPoi { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | poi_type: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | typecode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pcode: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | adcode: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgPoi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_csv` is never used [INFO] [stdout] --> src/pg.rs:521:4 [INFO] [stdout] | [INFO] [stdout] 521 | fn save_to_csv(addresses: &[AddressRecord], filename: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POI_ID` should have a snake case name [INFO] [stdout] --> src/pg.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | POI_ID: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poi_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "9390297a8017aebbdddfc6777036056f27fc9f246f70444b5ba2b73c94ce6503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9390297a8017aebbdddfc6777036056f27fc9f246f70444b5ba2b73c94ce6503", kill_on_drop: false }` [INFO] [stdout] 9390297a8017aebbdddfc6777036056f27fc9f246f70444b5ba2b73c94ce6503 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43667276b6e3e160fec719455be6aa85e2b61841189d2e616b284cba0a76c478 [INFO] running `Command { std: "docker" "start" "-a" "43667276b6e3e160fec719455be6aa85e2b61841189d2e616b284cba0a76c478", kill_on_drop: false }` [INFO] [stderr] Compiling map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/powergrid.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistrictResponse` is never constructed [INFO] [stdout] --> src/district.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DistrictResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `District` is never constructed [INFO] [stdout] --> src/district.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct District { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/powergrid.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/district.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct DistrictResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: fields `citycode`, `adcode`, `center`, `level`, `districts`, and `polyline` are never read [INFO] [stdout] --> src/district.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct District { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | name: String, [INFO] [stdout] 20 | center: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | districts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | polyline: Option, // 边界坐标串 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly_max_cq.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly_max_cq.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/pg.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct DistrictResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: fields `citycode`, `adcode`, `level`, and `districts` are never read [INFO] [stdout] --> src/pg.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct District { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | districts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `code`, and `message` are never read [INFO] [stdout] --> src/pg.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct PgWrappedResp { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 34 | success: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgWrappedResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info`, `count`, `infocode`, and `status` are never read [INFO] [stdout] --> src/pg.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct PgPoiResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | info: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | infocode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgPoiResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poi_type`, `typecode`, `pcode`, `adcode`, and `citycode` are never read [INFO] [stdout] --> src/pg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct PgPoi { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | poi_type: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | typecode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pcode: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | adcode: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PgPoi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_csv` is never used [INFO] [stdout] --> src/pg.rs:521:4 [INFO] [stdout] | [INFO] [stdout] 521 | fn save_to_csv(addresses: &[AddressRecord], filename: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POI_ID` should have a snake case name [INFO] [stdout] --> src/pg.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | POI_ID: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poi_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `info`, and `count` are never read [INFO] [stdout] --> src/poly_max.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | info: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: field `level` is never read [INFO] [stdout] --> src/poly_max.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/amap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct DistrictResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | count: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistrictResponse` 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: fields `citycode`, `adcode`, `level`, and `districts` are never read [INFO] [stdout] --> src/amap.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct District { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | citycode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | districts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `District` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `infocode` and `count` are never read [INFO] [stdout] --> src/amap.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct PoiResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | infocode: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | count: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poi_type`, `typecode`, `pcode`, `adcode`, and `citycode` are never read [INFO] [stdout] --> src/amap.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Poi { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | poi_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | typecode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pcode: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | adcode: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | citycode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `POI_ID` should have a snake case name [INFO] [stdout] --> src/amap.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | POI_ID: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `poi_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "43667276b6e3e160fec719455be6aa85e2b61841189d2e616b284cba0a76c478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43667276b6e3e160fec719455be6aa85e2b61841189d2e616b284cba0a76c478", kill_on_drop: false }` [INFO] [stdout] 43667276b6e3e160fec719455be6aa85e2b61841189d2e616b284cba0a76c478