[INFO] fetching crate psn_api_rs 0.3.0... [INFO] checking psn_api_rs-0.3.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate psn_api_rs 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate psn_api_rs 0.3.0 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate psn_api_rs 0.3.0 [INFO] finished tweaking crates.io crate psn_api_rs 0.3.0 [INFO] tweaked toml for crates.io crate psn_api_rs 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c31e057397970ba3188366f43e8c997e2193e6880067d58ee7697aba8d4d99d [INFO] running `Command { std: "docker" "start" "-a" "7c31e057397970ba3188366f43e8c997e2193e6880067d58ee7697aba8d4d99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c31e057397970ba3188366f43e8c997e2193e6880067d58ee7697aba8d4d99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c31e057397970ba3188366f43e8c997e2193e6880067d58ee7697aba8d4d99d", kill_on_drop: false }` [INFO] [stdout] 7c31e057397970ba3188366f43e8c997e2193e6880067d58ee7697aba8d4d99d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abea35cfa6ef69d94c19b4181086be01c2f59cc10f7e8213a2ff7a8caf41ff4 [INFO] running `Command { std: "docker" "start" "-a" "1abea35cfa6ef69d94c19b4181086be01c2f59cc10f7e8213a2ff7a8caf41ff4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tang-rs v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking psn_api_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::gen_access_and_refresh` [INFO] [stdout] --> src/types.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / Box::pin(async move { [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/types.rs:143:29: 168:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::gen_access_and_refresh`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::gen_access_from_refresh` [INFO] [stdout] --> src/types.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / Box::pin(async move { [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/types.rs:175:29: 195:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::gen_access_from_refresh`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::get_by_url_encode` [INFO] [stdout] --> src/types.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / fn get_by_url_encode<'se, 'st: 'se, T: DeserializeOwned + 'static>( [INFO] [stdout] 199 | | &'se self, [INFO] [stdout] 200 | | client: &'se Self::Client, [INFO] [stdout] 201 | | url: &'st str, [INFO] [stdout] 202 | | ) -> PSNFuture<'se, Result> { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::get_by_url_encode`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::del_by_url_encode` [INFO] [stdout] --> src/types.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / fn del_by_url_encode<'se, 'st: 'se>( [INFO] [stdout] 232 | | &'se self, [INFO] [stdout] 233 | | client: &'se Self::Client, [INFO] [stdout] 234 | | url: &'st str, [INFO] [stdout] 235 | | ) -> PSNFuture<'se, Result<(), Self::Error>> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::del_by_url_encode`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::post_by_multipart` [INFO] [stdout] --> src/types.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / fn post_by_multipart<'se, 'st: 'se>( [INFO] [stdout] 259 | | &'se self, [INFO] [stdout] 260 | | client: &'se Self::Client, [INFO] [stdout] 261 | | boundary: &'st str, [INFO] [stdout] 262 | | url: &'st str, [INFO] [stdout] 263 | | body: Vec, [INFO] [stdout] 264 | | ) -> PSNFuture<'se, Result<(), Self::Error>> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::post_by_multipart`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psn_api_rs` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::gen_access_and_refresh` [INFO] [stdout] --> src/types.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / Box::pin(async move { [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/types.rs:143:29: 168:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::gen_access_and_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 144 | | let npsso = self.npsso().ok_or(PSNError::AuthenticationFail)?; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | let string_body = serde_urlencoded::to_string(&Self::oauth_token_encode()) [INFO] [stdout] ... | [INFO] [stdout] 167 | | Ok(()) [INFO] [stdout] 168 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::gen_access_and_refresh`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::gen_access_from_refresh` [INFO] [stdout] --> src/types.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / Box::pin(async move { [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/types.rs:175:29: 195:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::gen_access_from_refresh::{closure#0}`... [INFO] [stdout] --> src/types.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | let string_body = serde_urlencoded::to_string(&self.oauth_token_refresh_encode()) [INFO] [stdout] 177 | | .expect("Failed to parse string body for second time authentication"); [INFO] [stdout] 178 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | Ok(()) [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::gen_access_from_refresh`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::get_by_url_encode` [INFO] [stdout] --> src/types.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / fn get_by_url_encode<'se, 'st: 'se, T: DeserializeOwned + 'static>( [INFO] [stdout] 199 | | &'se self, [INFO] [stdout] 200 | | client: &'se Self::Client, [INFO] [stdout] 201 | | url: &'st str, [INFO] [stdout] 202 | | ) -> PSNFuture<'se, Result> { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `types::::get_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | let req = match self.access_token() { [INFO] [stdout] 207 | | Some(token) => client [INFO] [stdout] 208 | | .get(url) [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::get_by_url_encode`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::del_by_url_encode` [INFO] [stdout] --> src/types.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / fn del_by_url_encode<'se, 'st: 'se>( [INFO] [stdout] 232 | | &'se self, [INFO] [stdout] 233 | | client: &'se Self::Client, [INFO] [stdout] 234 | | url: &'st str, [INFO] [stdout] 235 | | ) -> PSNFuture<'se, Result<(), Self::Error>> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `types::::del_by_url_encode::{closure#0}`... [INFO] [stdout] --> src/types.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 237 | | let res = client [INFO] [stdout] 238 | | .delete(url) [INFO] [stdout] 239 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::del_by_url_encode`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `types::::post_by_multipart` [INFO] [stdout] --> src/types.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / fn post_by_multipart<'se, 'st: 'se>( [INFO] [stdout] 259 | | &'se self, [INFO] [stdout] 260 | | client: &'se Self::Client, [INFO] [stdout] 261 | | boundary: &'st str, [INFO] [stdout] 262 | | url: &'st str, [INFO] [stdout] 263 | | body: Vec, [INFO] [stdout] 264 | | ) -> PSNFuture<'se, Result<(), Self::Error>> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `types::::post_by_multipart::{closure#0}`... [INFO] [stdout] --> src/types.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 268 | | let res = client [INFO] [stdout] 269 | | .post(url) [INFO] [stdout] 270 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `types::::post_by_multipart`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psn_api_rs` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "1abea35cfa6ef69d94c19b4181086be01c2f59cc10f7e8213a2ff7a8caf41ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abea35cfa6ef69d94c19b4181086be01c2f59cc10f7e8213a2ff7a8caf41ff4", kill_on_drop: false }` [INFO] [stdout] 1abea35cfa6ef69d94c19b4181086be01c2f59cc10f7e8213a2ff7a8caf41ff4