Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / scripts / maps / tile_build / cargo_err.log

cargo_err.log195 lines · 7.3 KiBRaw
1warning: unused import: `codec::parse_layer`
2 --> C:\Users\Vayun\Documents\code\Modern-Apps\library\tilecodec\src\main\rust\src\mamaps\body.rs:81:16
3 |
481 | pub(crate) use codec::parse_layer;
5 | ^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
8
9warning: unused import: `writer::Pending`
10 --> C:\Users\Vayun\Documents\code\Modern-Apps\library\tilecodec\src\main\rust\src\mamaps\write.rs:64:16
11 |
1264 | pub(crate) use writer::Pending;
13 | ^^^^^^^^^^^^^^^
14
15warning: unused import: `types::MAX_ROOT_BYTES`
16 --> C:\Users\Vayun\Documents\code\Modern-Apps\library\tilecodec\src\main\rust\src\pmtiles.rs:53:16
17 |
1853 | pub(crate) use types::MAX_ROOT_BYTES;
19 | ^^^^^^^^^^^^^^^^^^^^^
20
21warning: `tilecodec` (lib) generated 3 warnings (run `cargo fix --lib -p tilecodec` to apply 3 suggestions)
22 Compiling tile_build v0.1.0 (C:\Users\Vayun\Documents\code\Modern-Apps\scripts\maps\tile_build)
23warning: unused imports: `BODY_FLAG_BUILDING_TABLE`, `BODY_FLAG_HEIGHTMAP`, `BODY_FLAG_ID_TABLE`, `BODY_FLAG_LANE_TABLE`, `BODY_FLAG_NAME_TABLE`, `BODY_FLAG_ROAD_LANES`, and `FEATURE_RECORD_LEN`
24 --> src\bin\mamaps_sizes.rs:25:5
25 |
2625 | BODY_FLAG_BUILDING_TABLE, BODY_FLAG_EXTENDED_COUNTS, BODY_FLAG_HEIGHTMAP,
27 | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
2826 | BODY_FLAG_ID_TABLE, BODY_FLAG_LANE_TABLE, BODY_FLAG_NAME_TABLE, BODY_FLAG_ROAD_LANES,
29 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
3027 | BODY_HEADER_LEN, FEATURE_RECORD_LEN, LAYER_INDEX_LEN,
31 | ^^^^^^^^^^^^^^^^^^
32 |
33 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
34
35warning: variable does not need to be mutable
36 --> src\bin\mamaps_sizes.rs:391:9
37 |
38391 | let mut layer_stored: BTreeMap<u8, u64> = BTreeMap::new();
39 | ----^^^^^^^^^^^^
40 | |
41 | help: remove this `mut`
42 |
43 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
44
45warning: variable does not need to be mutable
46 --> src\bin\mamaps_sizes.rs:392:9
47 |
48392 | let mut layer_raw: BTreeMap<u8, u64> = BTreeMap::new();
49 | ----^^^^^^^^^
50 | |
51 | help: remove this `mut`
52
53warning: variable does not need to be mutable
54 --> src\bin\mamaps_sizes.rs:393:9
55 |
56393 | let mut layer_bodies: BTreeMap<u8, u64> = BTreeMap::new();
57 | ----^^^^^^^^^^^^
58 | |
59 | help: remove this `mut`
60
61warning: variable does not need to be mutable
62 --> src\bin\mamaps_sizes.rs:394:9
63 |
64394 | let mut layer_features: BTreeMap<u8, u64> = BTreeMap::new();
65 | ----^^^^^^^^^^^^^^
66 | |
67 | help: remove this `mut`
68
69warning: variable does not need to be mutable
70 --> src\bin\mamaps_sizes.rs:395:9
71 |
72395 | let mut flags_hist: BTreeMap<u8, u64> = BTreeMap::new();
73 | ----^^^^^^^^^^
74 | |
75 | help: remove this `mut`
76
77warning: variable does not need to be mutable
78 --> src\bin\mamaps_sizes.rs:396:9
79 |
80396 | let mut extended_count = 0u64;
81 | ----^^^^^^^^^^^^^^
82 | |
83 | help: remove this `mut`
84
85warning: variable does not need to be mutable
86 --> src\bin\mamaps_sizes.rs:397:9
87 |
88397 | let mut total_stored = 0u64;
89 | ----^^^^^^^^^^^^
90 | |
91 | help: remove this `mut`
92
93warning: variable does not need to be mutable
94 --> src\bin\mamaps_sizes.rs:398:9
95 |
96398 | let mut total_raw = 0u64;
97 | ----^^^^^^^^^
98 | |
99 | help: remove this `mut`
100
101warning: variable does not need to be mutable
102 --> src\bin\mamaps_sizes.rs:399:9
103 |
104399 | let mut empty_bodies = 0u64;
105 | ----^^^^^^^^^^^^
106 | |
107 | help: remove this `mut`
108
109warning: variable does not need to be mutable
110 --> src\bin\mamaps_sizes.rs:400:9
111 |
112400 | let mut empty_stored = 0u64;
113 | ----^^^^^^^^^^^^
114 | |
115 | help: remove this `mut`
116
117warning: variable does not need to be mutable
118 --> src\bin\mamaps_sizes.rs:401:9
119 |
120401 | let mut bodies_seen = 0u64;
121 | ----^^^^^^^^^^^
122 | |
123 | help: remove this `mut`
124
125warning: unused variable: `layer_stored`
126 --> src\bin\mamaps_sizes.rs:391:9
127 |
128391 | let mut layer_stored: BTreeMap<u8, u64> = BTreeMap::new();
129 | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_stored`
130 |
131 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
132
133warning: unused variable: `layer_raw`
134 --> src\bin\mamaps_sizes.rs:392:9
135 |
136392 | let mut layer_raw: BTreeMap<u8, u64> = BTreeMap::new();
137 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_raw`
138
139warning: unused variable: `layer_bodies`
140 --> src\bin\mamaps_sizes.rs:393:9
141 |
142393 | let mut layer_bodies: BTreeMap<u8, u64> = BTreeMap::new();
143 | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_bodies`
144
145warning: unused variable: `layer_features`
146 --> src\bin\mamaps_sizes.rs:394:9
147 |
148394 | let mut layer_features: BTreeMap<u8, u64> = BTreeMap::new();
149 | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_features`
150
151warning: unused variable: `flags_hist`
152 --> src\bin\mamaps_sizes.rs:395:9
153 |
154395 | let mut flags_hist: BTreeMap<u8, u64> = BTreeMap::new();
155 | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flags_hist`
156
157warning: unused variable: `extended_count`
158 --> src\bin\mamaps_sizes.rs:396:9
159 |
160396 | let mut extended_count = 0u64;
161 | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extended_count`
162
163warning: unused variable: `total_stored`
164 --> src\bin\mamaps_sizes.rs:397:9
165 |
166397 | let mut total_stored = 0u64;
167 | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_stored`
168
169warning: unused variable: `total_raw`
170 --> src\bin\mamaps_sizes.rs:398:9
171 |
172398 | let mut total_raw = 0u64;
173 | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_raw`
174
175warning: unused variable: `empty_bodies`
176 --> src\bin\mamaps_sizes.rs:399:9
177 |
178399 | let mut empty_bodies = 0u64;
179 | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_bodies`
180
181warning: unused variable: `empty_stored`
182 --> src\bin\mamaps_sizes.rs:400:9
183 |
184400 | let mut empty_stored = 0u64;
185 | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_stored`
186
187warning: unused variable: `bodies_seen`
188 --> src\bin\mamaps_sizes.rs:401:9
189 |
190401 | let mut bodies_seen = 0u64;
191 | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bodies_seen`
192
193warning: `tile_build` (bin "mamaps_sizes") generated 23 warnings (run `cargo fix --bin "mamaps_sizes" -p tile_build` to apply 23 suggestions)
194 Finished `release` profile [optimized] target(s) in 4.86s
195 Running `target\release\mamaps_sizes.exe C:\Users\Vayun\Documents\code\Modern-Apps\scripts\maps\inputs\na.mamaps`