[INFO] fetching crate deadpool-diesel 0.4.0... [INFO] checking deadpool-diesel-0.4.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate deadpool-diesel 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate deadpool-diesel 0.4.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 deadpool-diesel 0.4.0 [INFO] finished tweaking crates.io crate deadpool-diesel 0.4.0 [INFO] tweaked toml for crates.io crate deadpool-diesel 0.4.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] d3c7708c40e3a11f8c27a1ca708c7b60b4b9ef0dd7b9351a9ccceb4fa1fb048f [INFO] running `Command { std: "docker" "start" "-a" "d3c7708c40e3a11f8c27a1ca708c7b60b4b9ef0dd7b9351a9ccceb4fa1fb048f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c7708c40e3a11f8c27a1ca708c7b60b4b9ef0dd7b9351a9ccceb4fa1fb048f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c7708c40e3a11f8c27a1ca708c7b60b4b9ef0dd7b9351a9ccceb4fa1fb048f", kill_on_drop: false }` [INFO] [stdout] d3c7708c40e3a11f8c27a1ca708c7b60b4b9ef0dd7b9351a9ccceb4fa1fb048f [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] a38a26e6023506ac5a61939d7b589d7053f290d79d4a2b334176cf426c7dbe4d [INFO] running `Command { std: "docker" "start" "-a" "a38a26e6023506ac5a61939d7b589d7053f290d79d4a2b334176cf426c7dbe4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling diesel_derives v2.0.0 [INFO] [stderr] Checking diesel v2.0.0 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking deadpool-sync v0.1.0 [INFO] [stderr] Checking deadpool-diesel v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `manager::::create` [INFO] [stdout] --> src/manager.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `manager::::create`, 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 `manager::::recycle` [INFO] [stdout] --> src/manager.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `manager::::recycle`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `deadpool-diesel` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `manager::::create` [INFO] [stdout] --> src/manager.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `manager::::create::{closure#0}`... [INFO] [stdout] --> src/manager.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | async fn create(&self) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 61 | | let database_url = self.database_url.clone(); [INFO] [stdout] 62 | | SyncWrapper::new(self.runtime, move || { [INFO] [stdout] 63 | | C::establish(&database_url).map_err(Into::into) [INFO] [stdout] 64 | | }) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `manager::::create`, 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 `manager::::recycle` [INFO] [stdout] --> src/manager.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `manager::::recycle::{closure#0}`... [INFO] [stdout] --> src/manager.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 68 | async fn recycle(&self, obj: &mut Self::Type) -> RecycleResult { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 69 | | if obj.is_mutex_poisoned() { [INFO] [stdout] 70 | | return Err(RecycleError::StaticMessage( [INFO] [stdout] 71 | | "Mutex is poisoned. Connection is considered unusable.", [INFO] [stdout] ... | [INFO] [stdout] 77 | | .map(|_| ()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `manager::::recycle`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `deadpool-diesel` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a38a26e6023506ac5a61939d7b589d7053f290d79d4a2b334176cf426c7dbe4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38a26e6023506ac5a61939d7b589d7053f290d79d4a2b334176cf426c7dbe4d", kill_on_drop: false }` [INFO] [stdout] a38a26e6023506ac5a61939d7b589d7053f290d79d4a2b334176cf426c7dbe4d