[INFO] cloning repository https://github.com/web3ten0/rust-axum-sqlx-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/web3ten0/rust-axum-sqlx-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3ten0%2Frust-axum-sqlx-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3ten0%2Frust-axum-sqlx-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a4af191508e5aa905047ea998672fd1e25adc5d [INFO] checking web3ten0/rust-axum-sqlx-1 against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3ten0%2Frust-axum-sqlx-1" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/web3ten0/rust-axum-sqlx-1 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/web3ten0/rust-axum-sqlx-1 [INFO] finished tweaking git repo https://github.com/web3ten0/rust-axum-sqlx-1 [INFO] tweaked toml for git repo https://github.com/web3ten0/rust-axum-sqlx-1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/web3ten0/rust-axum-sqlx-1 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-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741cd791953e4c159f56d273509a15eeb70fe4f8e608b9b091e47196df3eb9f5 [INFO] running `Command { std: "docker" "start" "-a" "741cd791953e4c159f56d273509a15eeb70fe4f8e608b9b091e47196df3eb9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741cd791953e4c159f56d273509a15eeb70fe4f8e608b9b091e47196df3eb9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741cd791953e4c159f56d273509a15eeb70fe4f8e608b9b091e47196df3eb9f5", kill_on_drop: false }` [INFO] [stdout] 741cd791953e4c159f56d273509a15eeb70fe4f8e608b9b091e47196df3eb9f5 [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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6abadfb51e83e08edd1e9430d85639f22aa035f8f5cec1330089dbdbd4352216 [INFO] running `Command { std: "docker" "start" "-a" "6abadfb51e83e08edd1e9430d85639f22aa035f8f5cec1330089dbdbd4352216", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.135 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking socket2 v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking tower-http v0.2.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking png v0.17.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking tiff v0.7.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking fragile v1.1.0 [INFO] [stderr] Checking mutate_once v0.1.1 [INFO] [stderr] Checking matchit v0.4.4 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking kamadak-exif v0.5.4 [INFO] [stderr] Checking jpeg-decoder v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Checking axum-core v0.1.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking tracing-subscriber v0.3.6 [INFO] [stderr] Checking flume v0.10.10 [INFO] [stderr] Checking exr v1.4.1 [INFO] [stderr] Checking mockall v0.11.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking image v0.24.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking sqlx-core v0.5.10 [INFO] [stderr] Checking axum v0.4.4 [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/axum-0.4.4/src/routing/method_routing.rs:510:24 [INFO] [stdout] | [INFO] [stdout] 510 | let fallback = Route::new(service_fn(|_: Request| async { [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] 506 | impl MethodRouter { [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 E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [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] 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] running `Command { std: "docker" "inspect" "6abadfb51e83e08edd1e9430d85639f22aa035f8f5cec1330089dbdbd4352216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abadfb51e83e08edd1e9430d85639f22aa035f8f5cec1330089dbdbd4352216", kill_on_drop: false }` [INFO] [stdout] 6abadfb51e83e08edd1e9430d85639f22aa035f8f5cec1330089dbdbd4352216