Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / scripts / maps / tile_build / cargo_err.log
cargo_err.log195 lines · 7.3 KiBRaw
| 1 | warning: 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 | | |
| 4 | 81 | pub(crate) use codec::parse_layer; |
| 5 | | ^^^^^^^^^^^^^^^^^^ |
| 6 | | |
| 7 | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default |
| 8 | |
| 9 | warning: unused import: `writer::Pending` |
| 10 | --> C:\Users\Vayun\Documents\code\Modern-Apps\library\tilecodec\src\main\rust\src\mamaps\write.rs:64:16 |
| 11 | | |
| 12 | 64 | pub(crate) use writer::Pending; |
| 13 | | ^^^^^^^^^^^^^^^ |
| 14 | |
| 15 | warning: 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 | | |
| 18 | 53 | pub(crate) use types::MAX_ROOT_BYTES; |
| 19 | | ^^^^^^^^^^^^^^^^^^^^^ |
| 20 | |
| 21 | warning: `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) |
| 23 | warning: 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 | | |
| 26 | 25 | BODY_FLAG_BUILDING_TABLE, BODY_FLAG_EXTENDED_COUNTS, BODY_FLAG_HEIGHTMAP, |
| 27 | | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ |
| 28 | 26 | BODY_FLAG_ID_TABLE, BODY_FLAG_LANE_TABLE, BODY_FLAG_NAME_TABLE, BODY_FLAG_ROAD_LANES, |
| 29 | | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ |
| 30 | 27 | BODY_HEADER_LEN, FEATURE_RECORD_LEN, LAYER_INDEX_LEN, |
| 31 | | ^^^^^^^^^^^^^^^^^^ |
| 32 | | |
| 33 | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default |
| 34 | |
| 35 | warning: variable does not need to be mutable |
| 36 | --> src\bin\mamaps_sizes.rs:391:9 |
| 37 | | |
| 38 | 391 | 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 | |
| 45 | warning: variable does not need to be mutable |
| 46 | --> src\bin\mamaps_sizes.rs:392:9 |
| 47 | | |
| 48 | 392 | let mut layer_raw: BTreeMap<u8, u64> = BTreeMap::new(); |
| 49 | | ----^^^^^^^^^ |
| 50 | | | |
| 51 | | help: remove this `mut` |
| 52 | |
| 53 | warning: variable does not need to be mutable |
| 54 | --> src\bin\mamaps_sizes.rs:393:9 |
| 55 | | |
| 56 | 393 | let mut layer_bodies: BTreeMap<u8, u64> = BTreeMap::new(); |
| 57 | | ----^^^^^^^^^^^^ |
| 58 | | | |
| 59 | | help: remove this `mut` |
| 60 | |
| 61 | warning: variable does not need to be mutable |
| 62 | --> src\bin\mamaps_sizes.rs:394:9 |
| 63 | | |
| 64 | 394 | let mut layer_features: BTreeMap<u8, u64> = BTreeMap::new(); |
| 65 | | ----^^^^^^^^^^^^^^ |
| 66 | | | |
| 67 | | help: remove this `mut` |
| 68 | |
| 69 | warning: variable does not need to be mutable |
| 70 | --> src\bin\mamaps_sizes.rs:395:9 |
| 71 | | |
| 72 | 395 | let mut flags_hist: BTreeMap<u8, u64> = BTreeMap::new(); |
| 73 | | ----^^^^^^^^^^ |
| 74 | | | |
| 75 | | help: remove this `mut` |
| 76 | |
| 77 | warning: variable does not need to be mutable |
| 78 | --> src\bin\mamaps_sizes.rs:396:9 |
| 79 | | |
| 80 | 396 | let mut extended_count = 0u64; |
| 81 | | ----^^^^^^^^^^^^^^ |
| 82 | | | |
| 83 | | help: remove this `mut` |
| 84 | |
| 85 | warning: variable does not need to be mutable |
| 86 | --> src\bin\mamaps_sizes.rs:397:9 |
| 87 | | |
| 88 | 397 | let mut total_stored = 0u64; |
| 89 | | ----^^^^^^^^^^^^ |
| 90 | | | |
| 91 | | help: remove this `mut` |
| 92 | |
| 93 | warning: variable does not need to be mutable |
| 94 | --> src\bin\mamaps_sizes.rs:398:9 |
| 95 | | |
| 96 | 398 | let mut total_raw = 0u64; |
| 97 | | ----^^^^^^^^^ |
| 98 | | | |
| 99 | | help: remove this `mut` |
| 100 | |
| 101 | warning: variable does not need to be mutable |
| 102 | --> src\bin\mamaps_sizes.rs:399:9 |
| 103 | | |
| 104 | 399 | let mut empty_bodies = 0u64; |
| 105 | | ----^^^^^^^^^^^^ |
| 106 | | | |
| 107 | | help: remove this `mut` |
| 108 | |
| 109 | warning: variable does not need to be mutable |
| 110 | --> src\bin\mamaps_sizes.rs:400:9 |
| 111 | | |
| 112 | 400 | let mut empty_stored = 0u64; |
| 113 | | ----^^^^^^^^^^^^ |
| 114 | | | |
| 115 | | help: remove this `mut` |
| 116 | |
| 117 | warning: variable does not need to be mutable |
| 118 | --> src\bin\mamaps_sizes.rs:401:9 |
| 119 | | |
| 120 | 401 | let mut bodies_seen = 0u64; |
| 121 | | ----^^^^^^^^^^^ |
| 122 | | | |
| 123 | | help: remove this `mut` |
| 124 | |
| 125 | warning: unused variable: `layer_stored` |
| 126 | --> src\bin\mamaps_sizes.rs:391:9 |
| 127 | | |
| 128 | 391 | 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 | |
| 133 | warning: unused variable: `layer_raw` |
| 134 | --> src\bin\mamaps_sizes.rs:392:9 |
| 135 | | |
| 136 | 392 | let mut layer_raw: BTreeMap<u8, u64> = BTreeMap::new(); |
| 137 | | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_raw` |
| 138 | |
| 139 | warning: unused variable: `layer_bodies` |
| 140 | --> src\bin\mamaps_sizes.rs:393:9 |
| 141 | | |
| 142 | 393 | let mut layer_bodies: BTreeMap<u8, u64> = BTreeMap::new(); |
| 143 | | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_bodies` |
| 144 | |
| 145 | warning: unused variable: `layer_features` |
| 146 | --> src\bin\mamaps_sizes.rs:394:9 |
| 147 | | |
| 148 | 394 | let mut layer_features: BTreeMap<u8, u64> = BTreeMap::new(); |
| 149 | | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_features` |
| 150 | |
| 151 | warning: unused variable: `flags_hist` |
| 152 | --> src\bin\mamaps_sizes.rs:395:9 |
| 153 | | |
| 154 | 395 | let mut flags_hist: BTreeMap<u8, u64> = BTreeMap::new(); |
| 155 | | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flags_hist` |
| 156 | |
| 157 | warning: unused variable: `extended_count` |
| 158 | --> src\bin\mamaps_sizes.rs:396:9 |
| 159 | | |
| 160 | 396 | let mut extended_count = 0u64; |
| 161 | | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extended_count` |
| 162 | |
| 163 | warning: unused variable: `total_stored` |
| 164 | --> src\bin\mamaps_sizes.rs:397:9 |
| 165 | | |
| 166 | 397 | let mut total_stored = 0u64; |
| 167 | | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_stored` |
| 168 | |
| 169 | warning: unused variable: `total_raw` |
| 170 | --> src\bin\mamaps_sizes.rs:398:9 |
| 171 | | |
| 172 | 398 | let mut total_raw = 0u64; |
| 173 | | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_raw` |
| 174 | |
| 175 | warning: unused variable: `empty_bodies` |
| 176 | --> src\bin\mamaps_sizes.rs:399:9 |
| 177 | | |
| 178 | 399 | let mut empty_bodies = 0u64; |
| 179 | | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_bodies` |
| 180 | |
| 181 | warning: unused variable: `empty_stored` |
| 182 | --> src\bin\mamaps_sizes.rs:400:9 |
| 183 | | |
| 184 | 400 | let mut empty_stored = 0u64; |
| 185 | | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_stored` |
| 186 | |
| 187 | warning: unused variable: `bodies_seen` |
| 188 | --> src\bin\mamaps_sizes.rs:401:9 |
| 189 | | |
| 190 | 401 | let mut bodies_seen = 0u64; |
| 191 | | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bodies_seen` |
| 192 | |
| 193 | warning: `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` |