[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwulawulu%2Fmap" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wulawulu/map on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sm3 v0.4.2 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded zerovec v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44895ff48577f89a8a111c91ed1ddd5977abb51f6401987446b4a32fd5917ab4 [INFO] running `Command { std: "docker" "start" "-a" "44895ff48577f89a8a111c91ed1ddd5977abb51f6401987446b4a32fd5917ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44895ff48577f89a8a111c91ed1ddd5977abb51f6401987446b4a32fd5917ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44895ff48577f89a8a111c91ed1ddd5977abb51f6401987446b4a32fd5917ab4", kill_on_drop: false }` [INFO] [stdout] 44895ff48577f89a8a111c91ed1ddd5977abb51f6401987446b4a32fd5917ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd53ff104d4fbc191121acf61ed94a401ec3ff24a18f4bf39d7e9791af4d3cd [INFO] running `Command { std: "docker" "start" "-a" "edd53ff104d4fbc191121acf61ed94a401ec3ff24a18f4bf39d7e9791af4d3cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling sm3 v0.4.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [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 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 derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder 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 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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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_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_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.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 57.29s [INFO] running `Command { std: "docker" "inspect" "edd53ff104d4fbc191121acf61ed94a401ec3ff24a18f4bf39d7e9791af4d3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd53ff104d4fbc191121acf61ed94a401ec3ff24a18f4bf39d7e9791af4d3cd", kill_on_drop: false }` [INFO] [stdout] edd53ff104d4fbc191121acf61ed94a401ec3ff24a18f4bf39d7e9791af4d3cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0f78ff1b78e581dc5e534715f4a5909fd14e423ce223d22dbae1b5337cadcd6 [INFO] running `Command { std: "docker" "start" "-a" "f0f78ff1b78e581dc5e534715f4a5909fd14e423ce223d22dbae1b5337cadcd6", kill_on_drop: false }` [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] [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: 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/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.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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "f0f78ff1b78e581dc5e534715f4a5909fd14e423ce223d22dbae1b5337cadcd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f78ff1b78e581dc5e534715f4a5909fd14e423ce223d22dbae1b5337cadcd6", kill_on_drop: false }` [INFO] [stdout] f0f78ff1b78e581dc5e534715f4a5909fd14e423ce223d22dbae1b5337cadcd6