citiesapp-frontend
x86_64-linux.package
· build #23
· raw
unpackPhase
1unpacking source archive /nix/store/2b8yfrhb2qvjyrnan6rcl36hlkq4sjsa-l61scdawvndslhfv3r9pqqrgc5bpljp8-source2source root is l61scdawvndslhfv3r9pqqrgc5bpljp8-source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHookpatchPhase
5Executing cargoSetupPostPatchHook6Validating consistency between /build/l61scdawvndslhfv3r9pqqrgc5bpljp8-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock7Finished cargoSetupPostPatchHookbuildPhase
8Executing cargoBuildHook9cargoBuildHook flags: -j 16 --target x86_64-unknown-linux-gnu --offline --profile release10 Compiling proc-macro2 v1.0.10611 Compiling unicode-ident v1.0.2212 Compiling quote v1.0.4313 Compiling cfg-if v1.0.414 Compiling libc v0.2.18015 Compiling pin-project-lite v0.2.1616 Compiling serde_core v1.0.22817 Compiling memchr v2.7.618 Compiling smallvec v1.15.119 Compiling serde v1.0.22820 Compiling once_cell v1.21.321 Compiling bytes v1.11.022 Compiling futures-core v0.3.3223 Compiling itoa v1.0.1724 Compiling parking_lot_core v0.9.1225 Compiling stable_deref_trait v1.2.126 Compiling scopeguard v1.2.027 Compiling futures-sink v0.3.3228 Compiling futures-task v0.3.3229 Compiling slab v0.4.1130 Compiling lock_api v0.4.1431 Compiling futures-channel v0.3.3232 Compiling futures-io v0.3.3233 Compiling tracing-core v0.1.3634 Compiling log v0.4.2935 Compiling typenum v1.19.036 Compiling writeable v0.6.237 Compiling litemap v0.8.138 Compiling version_check v0.9.539 Compiling percent-encoding v2.3.240 Compiling find-msvc-tools v0.1.841 Compiling icu_properties_data v2.1.242 Compiling shlex v1.3.043 Compiling icu_normalizer_data v2.1.144 Compiling crossbeam-utils v0.8.2145 Compiling cc v1.2.5346 Compiling bitflags v2.10.047 Compiling httparse v1.10.148 Compiling generic-array v0.14.749 Compiling tower-service v0.3.350 Compiling httpdate v1.0.351 Compiling try-lock v0.2.552 Compiling want v0.3.153 Compiling form_urlencoded v1.2.254 Compiling sync_wrapper v1.0.255 Compiling atomic-waker v1.1.256 Compiling autocfg v1.5.057 Compiling pin-utils v0.1.058 Compiling http v1.4.059 Compiling getrandom v0.3.460 Compiling tower-layer v0.3.361 Compiling zmij v1.0.1662 Compiling zeroize v1.8.263 Compiling syn v2.0.11464 Compiling num-traits v0.2.1965 Compiling untrusted v0.9.066 Compiling thiserror v1.0.6967 Compiling base64 v0.22.168 Compiling serde_json v1.0.15069 Compiling rustls-pki-types v1.14.070 Compiling ipnet v2.11.071 Compiling strsim v0.11.172 Compiling fnv v1.0.773 Compiling utf8_iter v1.0.474 Compiling errno v0.3.1475 Compiling socket2 v0.6.176 Compiling mio v1.1.177 Compiling getrandom v0.2.1778 Compiling signal-hook-registry v1.4.879 Compiling ident_case v1.0.180 Compiling parking_lot v0.12.581 Compiling cpufeatures v0.2.1782 Compiling rustls v0.23.3683 Compiling rustix v1.1.384 Compiling concurrent-queue v2.5.085 Compiling parking v2.2.186 Compiling http-body v1.0.187 Compiling linux-raw-sys v0.11.088 Compiling subtle v2.6.189 Compiling crypto-common v0.1.790 Compiling block-buffer v0.10.491 Compiling ring v0.17.1492 Compiling http-body-util v0.1.393 Compiling digest v0.10.794 Compiling iri-string v0.7.1095 Compiling iana-time-zone v0.1.6496 Compiling event-listener v5.4.197 Compiling unicode-width v0.1.1498 Compiling portable-atomic v1.13.099 Compiling powerfmt v0.2.0100 Compiling anyhow v1.0.103101 Compiling ryu v1.0.22102 Compiling deranged v0.5.5103 Compiling event-listener-strategy v0.5.4104 Compiling sha2 v0.10.9105 Compiling sha-1 v0.10.1106 Compiling uuid v1.19.0107 Compiling webpki-roots v1.0.5108 Compiling either v1.15.0109 Compiling base64 v0.21.7110 Compiling fastrand v2.3.0111 Compiling xxhash-rust v0.8.15112 Compiling time-core v0.1.7113 Compiling num-conv v0.1.0114 Compiling hex v0.4.3115 Compiling same-file v1.0.6116 Compiling siphasher v1.0.1117 Compiling walkdir v2.5.0118 Compiling async-lock v3.4.2119 Compiling phf_shared v0.12.1120 Compiling sha1 v0.10.6121 Compiling memmap2 v0.5.10122 Compiling crossbeam-channel v0.5.15123 Compiling crossbeam-epoch v0.9.18124 Compiling nom v8.0.0125 Compiling encoding_rs v0.8.35126 Compiling chrono-tz v0.10.4127 Compiling equivalent v1.0.2128 Compiling thiserror v2.0.18129 Compiling tagptr v0.2.0130 Compiling phf v0.12.1131 Compiling mime v0.3.17132 Compiling lazy_static v1.5.0133 Compiling never v0.1.0134 Compiling sharded-slab v0.1.7135 Compiling serde_path_to_error v0.1.20136 Compiling tracing-log v0.2.0137 Compiling thread_local v1.1.9138 Compiling nu-ansi-term v0.50.3139 Compiling matchit v0.8.4140 Compiling time v0.3.45141 Compiling itertools v0.15.0142 Compiling reflink-copy v0.1.28143 Compiling tempfile v3.24.0144 Compiling quick-xml v0.37.5145 Compiling tracing-subscriber v0.3.23146 Compiling synstructure v0.13.2147 Compiling darling_core v0.20.11148 Compiling serde_derive v1.0.228149 Compiling zerofrom-derive v0.1.6150 Compiling yoke-derive v0.8.1151 Compiling zerovec-derive v0.11.2152 Compiling tokio-macros v2.6.0153 Compiling futures-macro v0.3.32154 Compiling displaydoc v0.2.5155 Compiling tracing-attributes v0.1.31156 Compiling thiserror-impl v1.0.69157 Compiling miette-derive v5.10.0158 Compiling async-trait v0.1.89159 Compiling thiserror-impl v2.0.18160 Compiling tokio v1.49.0161 Compiling futures-util v0.3.32162 Compiling nom-language v0.1.0163 Compiling iso8601 v0.6.3164 Compiling zerofrom v0.1.6165 Compiling yoke v0.8.1166 Compiling zerovec v0.11.5167 Compiling zerotrie v0.2.3168 Compiling tracing v0.1.44169 Compiling darling_macro v0.20.11170 Compiling miette v5.10.0171 Compiling axum-core v0.5.6172 Compiling tinystr v0.8.2173 Compiling potential_utf v0.1.4174 Compiling darling v0.20.11175 Compiling derive_builder_core v0.20.2176 Compiling icu_collections v2.1.1177 Compiling icu_locale_core v2.1.1178 Compiling derive_builder_macro v0.20.2179 Compiling icu_provider v2.1.1180 Compiling chrono v0.4.45181 Compiling serde_urlencoded v0.7.1182 Compiling http-serde v2.1.1183 Compiling ssri v9.2.0184 Compiling derive_builder v0.20.2185 Compiling bincode v1.3.3186 Compiling icu_properties v2.1.2187 Compiling icu_normalizer v2.1.1188 Compiling http-cache-semantics v2.1.0189 Compiling futures-executor v0.3.32190 Compiling moka v0.12.15191 Compiling futures v0.3.32192 Compiling idna_adapter v1.2.1193 Compiling idna v1.1.0194 Compiling diligent-date-parser v0.1.5195 Compiling atom_syndication v0.12.7196 Compiling url v2.5.8197 Compiling rustls-webpki v0.103.9198 Compiling rss v2.0.12199 Compiling hyper v1.8.1200 Compiling tower v0.5.3201 Compiling tokio-stream v0.1.18202 Compiling cacache v13.1.0203 Compiling tower-http v0.6.8204 Compiling hyper-util v0.1.19205 Compiling http-cache v0.21.0206 Compiling reqwest v0.13.4207 Compiling axum v0.8.9208 Compiling tokio-rustls v0.26.4209 Compiling icalendar v0.17.12210 Compiling hyper-rustls v0.27.7211 Compiling reqwest-middleware v0.5.2212 Compiling reqwest v0.12.28213 Compiling reqwest-middleware v0.4.2214 Compiling http-cache-reqwest v0.16.0215 Compiling citiesapp-frontend v0.1.0 (/build/l61scdawvndslhfv3r9pqqrgc5bpljp8-source)216error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope217 --> src/api/mod.rs:50:55218 |21950 | let resp: PagedResponseCountable<City> = resp.json().await?;220 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`221222error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope223 --> src/api/mod.rs:77:57224 |22577 | let resp: PagedResponse<OfficalNoticesEntry> = resp.json().await?;226 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`227228error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope229 --> src/api/mod.rs:110:66230 |231110 | let resp: PagedResponseCountable<WasteManagementArea> = resp.json().await?;232 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`233234error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope235 --> src/api/mod.rs:141:40236 |237141 | let resp: GarbadgeCalendars = resp.json().await?;238 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`239240error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope241 --> src/api/mod.rs:179:21242 |243179 | let resp = resp.json().await?;244 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`245246error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope247 --> src/api/mod.rs:213:46248 |249213 | let feed: PagedResponse<FeedData> = resp.json().await?;250 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`251252error[E0599]: no method named `json` found for struct `reqwest_middleware::reqwest::Response` in the current scope253 --> src/api/mod.rs:238:46254 |255238 | let feed: PagedResponse<FeedPost> = resp.json().await?;256 | ^^^^ method not found in `reqwest_middleware::reqwest::Response`257258error[E0308]: `?` operator has incompatible types259 --> src/api/mod.rs:22:42260 |26122 | let http_client = ClientBuilder::new(Client::builder().default_headers(headers).build()?)262 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `reqwest_middleware::reqwest::Client`, found `reqwest::Client`263 |264 = note: `?` operator cannot convert from `reqwest::Client` to `reqwest_middleware::reqwest::Client`265note: there are multiple different versions of crate `reqwest` in the dependency graph266 --> /build/cargo-vendor-dir/reqwest-0.13.4/src/async_impl/client.rs:93:1267 |26893 | pub struct Client {269 | ^^^^^^^^^^^^^^^^^ this is the expected type270 |271 ::: /build/cargo-vendor-dir/reqwest-0.12.28/src/async_impl/client.rs:93:1272 |27393 | pub struct Client {274 | ----------------- this is the found type275 = help: you can use `cargo tree` to explore your dependency tree276277error[E0277]: the trait bound `Cache<MokaManager>: reqwest_middleware::Middleware` is not satisfied278 --> src/api/mod.rs:23:15279 |28023 | .with(Cache(HttpCache {281 | __________----_^282 | | |283 | | required by a bound introduced by this call28424 | | mode: CacheMode::Default,28525 | | manager: MokaManager::default(),28626 | | options: HttpCacheOptions::default(),28727 | | }))288 | |__________^ unsatisfied trait bound289 |290 = help: the trait `for<'a> Fn(reqwest_middleware::reqwest::Request, &'a mut http::extensions::Extensions, Next<'a>)` is not implemented for `Cache<MokaManager>`291 = note: required for `Cache<MokaManager>` to implement `reqwest_middleware::Middleware`292note: required by a bound in `reqwest_middleware::ClientBuilder::with`293 --> /build/cargo-vendor-dir/reqwest-middleware-0.5.2/src/client.rs:50:12294 |29548 | pub fn with<M>(self, middleware: M) -> Self296 | ---- required by a bound in this associated function29749 | where29850 | M: Middleware,299 | ^^^^^^^^^^ required by this bound in `ClientBuilder::with`300301warning: a method with this name may be added to the standard library in the future302 --> src/rss.rs:15:10303 |30415 | .intersperse("\n".to_string())305 | ^^^^^^^^^^^306 |307 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!308 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>309 = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method310 = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default311312Some errors have detailed explanations: E0277, E0308, E0599.313For more information about an error, try `rustc --explain E0277`.314warning: `citiesapp-frontend` (lib) generated 1 warning315error: could not compile `citiesapp-frontend` (lib) due to 9 previous errors; 1 warning emitted