[INFO] fetching crate houseflow-db 0.1.1... [INFO] checking houseflow-db-0.1.1 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate houseflow-db 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate houseflow-db 0.1.1 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 houseflow-db 0.1.1 [INFO] finished tweaking crates.io crate houseflow-db 0.1.1 [INFO] tweaked toml for crates.io crate houseflow-db 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate houseflow-db 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ea68a770e43d592fdc20ccb6a5c7e69e38587a664bb1a48c9795f79692ed8ec9 [INFO] running `Command { std: "docker" "start" "-a" "ea68a770e43d592fdc20ccb6a5c7e69e38587a664bb1a48c9795f79692ed8ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea68a770e43d592fdc20ccb6a5c7e69e38587a664bb1a48c9795f79692ed8ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea68a770e43d592fdc20ccb6a5c7e69e38587a664bb1a48c9795f79692ed8ec9", kill_on_drop: false }` [INFO] [stdout] ea68a770e43d592fdc20ccb6a5c7e69e38587a664bb1a48c9795f79692ed8ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 81acd473d2acfc40b284b876fd09f8e2f2fd237774e1ed969c345db862c686c6 [INFO] running `Command { std: "docker" "start" "-a" "81acd473d2acfc40b284b876fd09f8e2f2fd237774e1ed969c345db862c686c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking siphasher v0.3.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking houseflow-types v0.1.1 [INFO] [stderr] Checking deadpool v0.8.0 [INFO] [stderr] Checking houseflow-config v0.1.1 [INFO] [stderr] Compiling refinery-core v0.5.1 [INFO] [stderr] Checking deadpool-postgres v0.9.0 [INFO] [stderr] Compiling refinery-macros v0.5.0 [INFO] [stderr] Checking refinery v0.5.0 [INFO] [stderr] Checking houseflow-db v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `memory::::get_device` [INFO] [stdout] --> src/memory/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_device`, 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 `memory::::get_user_devices` [INFO] [stdout] --> src/memory/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user_devices`, 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 `memory::::get_user` [INFO] [stdout] --> src/memory/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user`, 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 `memory::::get_user_by_email` [INFO] [stdout] --> src/memory/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user_by_email`, 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 `memory::::get_device` [INFO] [stdout] --> src/memory/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_device::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:68:87 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_device(&self, device_id: &DeviceID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 69 | | Ok(self [INFO] [stdout] 70 | | .devices [INFO] [stdout] 71 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 75 | | .cloned()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_device`, 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 `memory::::check_user_device_access` [INFO] [stdout] --> src/memory/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | async fn check_user_device_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::check_user_device_access`, 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 `memory::::get_user_devices` [INFO] [stdout] --> src/memory/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user_devices::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:78:86 [INFO] [stdout] | [INFO] [stdout] 78 | async fn get_user_devices(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 79 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 80 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 81 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | Ok(user_devices) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user_devices`, 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 `memory::::get_user` [INFO] [stdout] --> src/memory/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | async fn get_user(&self, user_id: &UserID) -> Result, Error> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 98 | | let user = self [INFO] [stdout] 99 | | .users [INFO] [stdout] 100 | | .lock() [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(user) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user`, 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 `memory::::check_user_device_manager_access` [INFO] [stdout] --> src/memory/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | async fn check_user_device_manager_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::check_user_device_manager_access`, 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 `memory::::get_user_by_email` [INFO] [stdout] --> src/memory/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::get_user_by_email::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:108:83 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_user_by_email(&self, email: &str) -> Result, Error> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 109 | | let users = self.users.lock().await; [INFO] [stdout] 110 | | let user = users.iter().find(|user| user.email == *email).cloned(); [INFO] [stdout] 111 | | Ok(user) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::get_user_by_email`, 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 `memory::::check_user_device_access` [INFO] [stdout] --> src/memory/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | async fn check_user_device_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::check_user_device_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 119 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 120 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 121 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(have_access) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::check_user_device_access`, 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 `memory::::check_user_device_manager_access` [INFO] [stdout] --> src/memory/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | async fn check_user_device_manager_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `memory::::check_user_device_manager_access::{closure#0}`... [INFO] [stdout] --> src/memory/mod.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | let user_structures = self.user_structures.lock().await; [INFO] [stdout] 146 | | let rooms = self.rooms.lock().await; [INFO] [stdout] 147 | | let devices = self.devices.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(have_access) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `memory::::check_user_device_manager_access`, 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 `postgres::::add_user` [INFO] [stdout] --> src/postgres/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `postgres::::add_user`, 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 `postgres::::add_user` [INFO] [stdout] --> src/postgres/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `postgres::::add_user::{closure#0}`... [INFO] [stdout] --> src/postgres/mod.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | async fn add_user(&self, user: &User) -> Result<(), Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 190 | | let connection = self.pool.get().await?; [INFO] [stdout] 191 | | let check_exists_statement = connection.prepare( [INFO] [stdout] 192 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `postgres::::add_user`, 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 `houseflow-db` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `houseflow-db` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "81acd473d2acfc40b284b876fd09f8e2f2fd237774e1ed969c345db862c686c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81acd473d2acfc40b284b876fd09f8e2f2fd237774e1ed969c345db862c686c6", kill_on_drop: false }` [INFO] [stdout] 81acd473d2acfc40b284b876fd09f8e2f2fd237774e1ed969c345db862c686c6