[INFO] fetching crate c3p0_postgres 0.67.0... [INFO] checking c3p0_postgres-0.67.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate c3p0_postgres 0.67.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate c3p0_postgres 0.67.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 c3p0_postgres 0.67.0 [INFO] finished tweaking crates.io crate c3p0_postgres 0.67.0 [INFO] tweaked toml for crates.io crate c3p0_postgres 0.67.0 written to /workspace/builds/worker-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 1906b005faf92e5e7b9388afc2a0dae29bbfded4133188363ffaacf9a6c9e7b8 [INFO] running `Command { std: "docker" "start" "-a" "1906b005faf92e5e7b9388afc2a0dae29bbfded4133188363ffaacf9a6c9e7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1906b005faf92e5e7b9388afc2a0dae29bbfded4133188363ffaacf9a6c9e7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1906b005faf92e5e7b9388afc2a0dae29bbfded4133188363ffaacf9a6c9e7b8", kill_on_drop: false }` [INFO] [stdout] 1906b005faf92e5e7b9388afc2a0dae29bbfded4133188363ffaacf9a6c9e7b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 183f6215ca18b254027420d2bc1f3fe37cce1c11ce1e2f09ded0b075335f8230 [INFO] running `Command { std: "docker" "start" "-a" "183f6215ca18b254027420d2bc1f3fe37cce1c11ce1e2f09ded0b075335f8230", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.4 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking postgres-types v0.2.4 [INFO] [stderr] Checking c3p0_common v0.67.0 [INFO] [stderr] Checking testcontainers v0.12.0 [INFO] [stderr] Checking tokio-postgres v0.7.7 [INFO] [stderr] Checking deadpool-postgres v0.10.2 [INFO] [stderr] Checking c3p0_postgres v0.67.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `json::::count_all` [INFO] [stdout] --> src/json.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::count_all`, 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 `json::::exists_by_id` [INFO] [stdout] --> src/json.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | async fn exists_by_id<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::exists_by_id`, 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 `json::::fetch_all` [INFO] [stdout] --> src/json.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_all`, 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 `json::::fetch_all_for_update` [INFO] [stdout] --> src/json.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | async fn fetch_all_for_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_all_for_update`, 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 `json::::fetch_one_optional_by_id` [INFO] [stdout] --> src/json.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | async fn fetch_one_optional_by_id<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_one_optional_by_id`, 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 `json::::fetch_one_optional_by_id_for_update` [INFO] [stdout] --> src/json.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | async fn fetch_one_optional_by_id_for_update<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_one_optional_by_id_for_update`, 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 `json::::save` [INFO] [stdout] --> src/json.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | async fn save( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::save`, 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 `json::::count_all` [INFO] [stdout] --> src/json.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::count_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:139:82 [INFO] [stdout] | [INFO] [stdout] 139 | async fn count_all(&self, conn: &mut PgConnection) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 140 | | conn.fetch_one_value(&self.queries.count_all_sql_query, &[]) [INFO] [stdout] 141 | | .await [INFO] [stdout] 142 | | .map(|val: i64| val as u64) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::count_all`, 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 `json::::exists_by_id` [INFO] [stdout] --> src/json.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | async fn exists_by_id<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::exists_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 150 | | conn.fetch_one_value(&self.queries.exists_by_id_sql_query, &[&(id.into())]) [INFO] [stdout] 151 | | .await [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::exists_by_id`, 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 `json::::fetch_all` [INFO] [stdout] --> src/json.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_all::{closure#0}`... [INFO] [stdout] --> src/json.rs:154:95 [INFO] [stdout] | [INFO] [stdout] 154 | async fn fetch_all(&self, conn: &mut PgConnection) -> Result>, C3p0Error> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 155 | | conn.fetch_all(&self.queries.find_all_sql_query, &[], |row| { [INFO] [stdout] 156 | | self.to_model(row) [INFO] [stdout] 157 | | }) [INFO] [stdout] 158 | | .await [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_all`, 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 `json::::fetch_all_for_update` [INFO] [stdout] --> src/json.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | async fn fetch_all_for_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_all_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result>, C3p0Error> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 166 | | let sql = format!( [INFO] [stdout] 167 | | "{}\n{}", [INFO] [stdout] 168 | | &self.queries.find_all_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 171 | | conn.fetch_all(&sql, &[], |row| self.to_model(row)).await [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_all_for_update`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `json::::fetch_one_optional_by_id` [INFO] [stdout] --> src/json.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | async fn fetch_one_optional_by_id<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_one_optional_by_id::{closure#0}`... [INFO] [stdout] --> src/json.rs:178:49 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 179 | | conn.fetch_one_optional(&self.queries.find_by_id_sql_query, &[&id.into()], |row| { [INFO] [stdout] 180 | | self.to_model(row) [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | .await [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_one_optional_by_id`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `c3p0_postgres` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `json::::fetch_one_optional_by_id_for_update` [INFO] [stdout] --> src/json.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | async fn fetch_one_optional_by_id_for_update<'a, ID: Into<&'a IdType> + Send>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::fetch_one_optional_by_id_for_update::{closure#0}`... [INFO] [stdout] --> src/json.rs:190:49 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> Result>, C3p0Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 191 | | let sql = format!( [INFO] [stdout] 192 | | "{}\n{}", [INFO] [stdout] 193 | | &self.queries.find_by_id_sql_query, [INFO] [stdout] ... | [INFO] [stdout] 197 | | .await [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::fetch_one_optional_by_id_for_update`, 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 `json::::save` [INFO] [stdout] --> src/json.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | async fn save( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `json::::save::{closure#0}`... [INFO] [stdout] --> src/json.rs:256:41 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, C3p0Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 257 | | let json_data = self.codec().to_value(&obj.data)?; [INFO] [stdout] 258 | | let create_epoch_millis = get_current_epoch_millis(); [INFO] [stdout] 259 | | let id = conn [INFO] [stdout] ... | [INFO] [stdout] 271 | | }) [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `json::::save`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 `c3p0_postgres` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "183f6215ca18b254027420d2bc1f3fe37cce1c11ce1e2f09ded0b075335f8230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183f6215ca18b254027420d2bc1f3fe37cce1c11ce1e2f09ded0b075335f8230", kill_on_drop: false }` [INFO] [stdout] 183f6215ca18b254027420d2bc1f3fe37cce1c11ce1e2f09ded0b075335f8230