[INFO] cloning repository https://github.com/exrok/actix_sqlx_bug_reproduction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exrok/actix_sqlx_bug_reproduction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexrok%2Factix_sqlx_bug_reproduction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexrok%2Factix_sqlx_bug_reproduction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07b1ee37efef6ea74b2c394d767f608e6216df45 [INFO] checking exrok/actix_sqlx_bug_reproduction against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexrok%2Factix_sqlx_bug_reproduction" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/exrok/actix_sqlx_bug_reproduction on toolchain 0ec6e73c26e84416f7a6c0dacee999279e12896e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/exrok/actix_sqlx_bug_reproduction [INFO] finished tweaking git repo https://github.com/exrok/actix_sqlx_bug_reproduction [INFO] tweaked toml for git repo https://github.com/exrok/actix_sqlx_bug_reproduction written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/exrok/actix_sqlx_bug_reproduction already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c643297c7d74e4b59c7641f939d8b6bde2f3ad6f8e8c87ac502c36f34839b5b1 [INFO] running `Command { std: "docker" "start" "-a" "c643297c7d74e4b59c7641f939d8b6bde2f3ad6f8e8c87ac502c36f34839b5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c643297c7d74e4b59c7641f939d8b6bde2f3ad6f8e8c87ac502c36f34839b5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c643297c7d74e4b59c7641f939d8b6bde2f3ad6f8e8c87ac502c36f34839b5b1", kill_on_drop: false }` [INFO] [stdout] c643297c7d74e4b59c7641f939d8b6bde2f3ad6f8e8c87ac502c36f34839b5b1 [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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0381dbf03b6e4b80f7311ad2d9f55ee5c1560408e5f14e2c9f2896f76ec676f [INFO] running `Command { std: "docker" "start" "-a" "a0381dbf03b6e4b80f7311ad2d9f55ee5c1560408e5f14e2c9f2896f76ec676f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking actix-http v3.0.0-rc.3 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stdout] error[E0309]: the parameter type `E` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/connection.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / Box::pin(async move { [INFO] [stdout] 64 | | let mut transaction = self.begin().await?; [INFO] [stdout] 65 | | let ret = callback(&mut transaction).await; [INFO] [stdout] 66 | | [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }) [INFO] [stdout] | |__________^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 61 | E: From + Send + 'a, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/connection.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / Box::pin(async move { [INFO] [stdout] 64 | | let mut transaction = self.begin().await?; [INFO] [stdout] 65 | | let ret = callback(&mut transaction).await; [INFO] [stdout] 66 | | [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }) [INFO] [stdout] | |__________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 60 | R: Send + 'a, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `Self` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/connection.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Box::pin(async move { Ok(Self::connect_with(&options?).await?) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `Self: 'static`... [INFO] [stdout] = note: ...so that the type `Self` will meet its required lifetime bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/acquire.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a, DB: Database> Acquire<'a> for &'_ Pool { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | / Box::pin(async move { [INFO] [stdout] 31 | | Transaction::begin(MaybePoolConnection::PoolConnection(conn.await?)).await [INFO] [stdout] 32 | | }) [INFO] [stdout] | |__________^ returning this value requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `U` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/h1/service.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / Box::pin(async move { [INFO] [stdout] 306 | | let expect = expect [INFO] [stdout] 307 | | .await [INFO] [stdout] 308 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 330 | | )) [INFO] [stdout] 331 | | }) [INFO] [stdout] | |__________^ ...so that the type `U` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 286 | U: ServiceFactory<(Request, Framed), Config = (), Response = ()> + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0309, E0310. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-core` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0310]: the parameter type `X` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/h1/service.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / Box::pin(async move { [INFO] [stdout] 306 | | let expect = expect [INFO] [stdout] 307 | | .await [INFO] [stdout] 308 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 330 | | )) [INFO] [stdout] 331 | | }) [INFO] [stdout] | |__________^ ...so that the type `X` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 281 | X: ServiceFactory + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/h1/service.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / Box::pin(async move { [INFO] [stdout] 306 | | let expect = expect [INFO] [stdout] 307 | | .await [INFO] [stdout] 308 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 330 | | )) [INFO] [stdout] 331 | | }) [INFO] [stdout] | |__________^ ...so that the type `B` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 279 | B: MessageBody + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/h1/service.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / Box::pin(async move { [INFO] [stdout] 306 | | let expect = expect [INFO] [stdout] 307 | | .await [INFO] [stdout] 308 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 330 | | )) [INFO] [stdout] 331 | | }) [INFO] [stdout] | |__________^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 273 | S: ServiceFactory + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/h2/service.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / Box::pin(async move { [INFO] [stdout] 220 | | let service = service.await?; [INFO] [stdout] 221 | | Ok(H2ServiceHandler::new(cfg, on_connect_ext, service)) [INFO] [stdout] 222 | | }) [INFO] [stdout] | |__________^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 199 | S: ServiceFactory + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `U` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/service.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | / Box::pin(async move { [INFO] [stdout] 370 | | let expect = expect [INFO] [stdout] 371 | | .await [INFO] [stdout] 372 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 394 | | )) [INFO] [stdout] 395 | | }) [INFO] [stdout] | |__________^ ...so that the type `U` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 350 | U: ServiceFactory<(Request, Framed), Config = (), Response = ()> + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `X` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/service.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | / Box::pin(async move { [INFO] [stdout] 370 | | let expect = expect [INFO] [stdout] 371 | | .await [INFO] [stdout] 372 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 394 | | )) [INFO] [stdout] 395 | | }) [INFO] [stdout] | |__________^ ...so that the type `X` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 345 | X: ServiceFactory + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-rc.3/src/service.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | / Box::pin(async move { [INFO] [stdout] 370 | | let expect = expect [INFO] [stdout] 371 | | .await [INFO] [stdout] 372 | | .map_err(|e| log::error!("Init http expect service error: {:?}", e))?; [INFO] [stdout] ... | [INFO] [stdout] 394 | | )) [INFO] [stdout] 395 | | }) [INFO] [stdout] | |__________^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 336 | S: ServiceFactory + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a0381dbf03b6e4b80f7311ad2d9f55ee5c1560408e5f14e2c9f2896f76ec676f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0381dbf03b6e4b80f7311ad2d9f55ee5c1560408e5f14e2c9f2896f76ec676f", kill_on_drop: false }` [INFO] [stdout] a0381dbf03b6e4b80f7311ad2d9f55ee5c1560408e5f14e2c9f2896f76ec676f