[INFO] fetching crate waasabi-matrix 0.2.0... [INFO] checking waasabi-matrix-0.2.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate waasabi-matrix 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate waasabi-matrix 0.2.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 waasabi-matrix 0.2.0 [INFO] finished tweaking crates.io crate waasabi-matrix 0.2.0 [INFO] tweaked toml for crates.io crate waasabi-matrix 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate waasabi-matrix 0.2.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] fe8a549451af648c7f9b91b7ae144f0c72ca8bd909ea2f6222ddb2c5a029420d [INFO] running `Command { std: "docker" "start" "-a" "fe8a549451af648c7f9b91b7ae144f0c72ca8bd909ea2f6222ddb2c5a029420d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe8a549451af648c7f9b91b7ae144f0c72ca8bd909ea2f6222ddb2c5a029420d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8a549451af648c7f9b91b7ae144f0c72ca8bd909ea2f6222ddb2c5a029420d", kill_on_drop: false }` [INFO] [stdout] fe8a549451af648c7f9b91b7ae144f0c72ca8bd909ea2f6222ddb2c5a029420d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] ff89257422659e5df76511afa48506dcb6c8228fb62021775347e6646cb35b8b [INFO] running `Command { std: "docker" "start" "-a" "ff89257422659e5df76511afa48506dcb6c8228fb62021775347e6646cb35b8b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling ruma-identifiers-validation v0.2.4 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking wildmatch v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking assign v1.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling ruma-client v0.5.0-alpha.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking nonzero_ext v0.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking quanta v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling ruma-identifiers-macros v0.19.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking governor v0.3.2 [INFO] [stderr] Checking js_int v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Compiling ruma-serde-macros v0.3.2 [INFO] [stderr] Compiling ruma-api-macros v0.17.0-alpha.4 [INFO] [stderr] Compiling ruma-events-macros v0.22.0-alpha.3 [INFO] [stderr] Checking ruma-serde v0.3.2 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking ruma-identifiers v0.19.0 [INFO] [stderr] Checking ruma-common v0.5.0 [INFO] [stderr] Checking ruma-api v0.17.0-alpha.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking ruma-events v0.22.0-alpha.3 [INFO] [stderr] Checking ruma-client-api v0.10.0-alpha.3 [INFO] [stderr] Checking ruma v0.0.3 [INFO] [stderr] Checking waasabi-matrix v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `server` [INFO] [stdout] --> examples/backend.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/backend.rs:19:60: 44:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/backend.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | let make_service = make_service_fn(move |_| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 20 | | Ok::<_, hyper::Error>(service_fn(move |req| async move { [INFO] [stdout] 21 | | log::info!("{:?} {}", req.method(), req.uri().path()); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | })) [INFO] [stdout] 44 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `server`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `server` [INFO] [stdout] --> examples/backend.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn server() -> anyhow::Result<(), hyper::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waasabi-matrix` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `api::server` [INFO] [stdout] --> src/api/mod.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/api/mod.rs:45:20: 81:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `api::server`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `api::server` [INFO] [stdout] --> src/api/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / pub async fn server( [INFO] [stdout] 31 | | addr: SocketAddr, [INFO] [stdout] 32 | | api_secret: String, [INFO] [stdout] 33 | | admin_users: Vec, [INFO] [stdout] 34 | | client: Client, [INFO] [stdout] 35 | | ) -> anyhow::Result<(), hyper::Error> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waasabi-matrix` due to 2 previous errors [INFO] [stdout] error[E0391]: cycle detected when type-checking `api::server` [INFO] [stdout] --> src/api/mod.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/api/mod.rs:45:20: 81:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `api::server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/api/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] 47 | | let config = Arc::clone(&config); [INFO] [stdout] 48 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 80 | | })) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `api::server`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `api::server` [INFO] [stdout] --> src/api/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / pub async fn server( [INFO] [stdout] 31 | | addr: SocketAddr, [INFO] [stdout] 32 | | api_secret: String, [INFO] [stdout] 33 | | admin_users: Vec, [INFO] [stdout] 34 | | client: Client, [INFO] [stdout] 35 | | ) -> anyhow::Result<(), hyper::Error> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waasabi-matrix` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ff89257422659e5df76511afa48506dcb6c8228fb62021775347e6646cb35b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff89257422659e5df76511afa48506dcb6c8228fb62021775347e6646cb35b8b", kill_on_drop: false }` [INFO] [stdout] ff89257422659e5df76511afa48506dcb6c8228fb62021775347e6646cb35b8b