[INFO] cloning repository https://github.com/OrbitalPeriod/formula_destruction_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OrbitalPeriod/formula_destruction_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrbitalPeriod%2Fformula_destruction_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrbitalPeriod%2Fformula_destruction_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 981cd617c5a6612355c2acd5125ad0752828f3cf [INFO] testing OrbitalPeriod/formula_destruction_bot against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrbitalPeriod%2Fformula_destruction_bot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OrbitalPeriod/formula_destruction_bot [INFO] finished tweaking git repo https://github.com/OrbitalPeriod/formula_destruction_bot [INFO] tweaked toml for git repo https://github.com/OrbitalPeriod/formula_destruction_bot written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OrbitalPeriod/formula_destruction_bot on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OrbitalPeriod/formula_destruction_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56cf2c60ee25d7395adf5471f378308335e6457e1fff82e6709721a8aea31880 [INFO] running `Command { std: "docker" "start" "-a" "56cf2c60ee25d7395adf5471f378308335e6457e1fff82e6709721a8aea31880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56cf2c60ee25d7395adf5471f378308335e6457e1fff82e6709721a8aea31880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cf2c60ee25d7395adf5471f378308335e6457e1fff82e6709721a8aea31880", kill_on_drop: false }` [INFO] [stdout] 56cf2c60ee25d7395adf5471f378308335e6457e1fff82e6709721a8aea31880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c5b0d309221c12123f2d3c1e90d1cf2b2b547489b9b42f9b61854eab9dda7a [INFO] running `Command { std: "docker" "start" "-a" "a3c5b0d309221c12123f2d3c1e90d1cf2b2b547489b9b42f9b61854eab9dda7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.13.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling croner v2.0.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling formula_destruction_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `Duration` is defined multiple times [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, time::Duration}; [INFO] [stdout] | -------------- previous import of the type `Duration` here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ `Duration` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Duration` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration as OtherDuration, Utc}; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let events = sqlx::query!("SELECT * FROM races").fetch_all(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let result = sqlx::query!("SELECT name, roleid, channelid FROM leagues WHERE id=$1", event.league_id).fetch_one(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Database, Executor, PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | schedule_tasks(&pool, &mut sched, &config).await?; [INFO] [stdout] | -------------- ^^^^^ the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] but it is implemented for `&Pool<_>` [INFO] [stdout] = help: for that trait implementation, expected `&Pool<_>`, found `Pool` [INFO] [stdout] note: required by a bound in `schedule_tasks` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | async fn schedule_tasks<'e, 'c, E>(pool : &E, sched : &mut JobScheduler, config : &Config) -> Result<(), Box> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 27 | where [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `schedule_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | schedule_tasks(&pool, &mut sched, &config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] but it is implemented for `&Pool<_>` [INFO] [stdout] = help: for that trait implementation, expected `&Pool<_>`, found `Pool` [INFO] [stdout] note: required by a bound in `schedule_tasks` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | async fn schedule_tasks<'e, 'c, E>(pool : &E, sched : &mut JobScheduler, config : &Config) -> Result<(), Box> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 27 | where [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `schedule_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | schedule_tasks(&pool, &mut sched, &config).await?; [INFO] [stdout] | ^^^^^ the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Executor<'_>` is not implemented for `Pool` [INFO] [stdout] but it is implemented for `&Pool<_>` [INFO] [stdout] = help: for that trait implementation, expected `&Pool<_>`, found `Pool` [INFO] [stdout] note: required by a bound in `schedule_tasks` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | async fn schedule_tasks<'e, 'c, E>(pool : &E, sched : &mut JobScheduler, config : &Config) -> Result<(), Box> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 27 | where [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `schedule_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let events = get_all_events(pool).await?; [INFO] [stdout] | -------------- ^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `get_all_events` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_all_events<'e, 'c, E>(pool : E) -> Result, sqlx::Error> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 64 | where [INFO] [stdout] 65 | E: 'e + Executor<'c, Database = Postgres>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `get_all_events` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let events = get_all_events(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `get_all_events` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_all_events<'e, 'c, E>(pool : E) -> Result, sqlx::Error> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 64 | where [INFO] [stdout] 65 | E: 'e + Executor<'c, Database = Postgres>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `get_all_events` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | let events = get_all_events(pool).await?; [INFO] [stdout] | ^^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `get_all_events` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_all_events<'e, 'c, E>(pool : E) -> Result, sqlx::Error> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 64 | where [INFO] [stdout] 65 | E: 'e + Executor<'c, Database = Postgres>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `get_all_events` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | pingable_events.push(process_event(pool, event, config).await?); [INFO] [stdout] | ------------- ^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `process_event` [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | async fn process_event<'e, 'c, E>(pool : E, event: &Event, config : &Config) -> Result, Box> [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 88 | where [INFO] [stdout] 89 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `process_event` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pingable_events.push(process_event(pool, event, config).await?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `process_event` [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | async fn process_event<'e, 'c, E>(pool : E, event: &Event, config : &Config) -> Result, Box> [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 88 | where [INFO] [stdout] 89 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `process_event` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&E: Executor<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:34:65 [INFO] [stdout] | [INFO] [stdout] 34 | pingable_events.push(process_event(pool, event, config).await?); [INFO] [stdout] | ^^^^^ the trait `Executor<'_>` is not implemented for `&E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `process_event` [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | async fn process_event<'e, 'c, E>(pool : E, event: &Event, config : &Config) -> Result, Box> [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 88 | where [INFO] [stdout] 89 | E: 'e + Executor<'c, Database = Postgres> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `process_event` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 28 | E: 'e + Executor<'c, Database = Postgres>, &E: Executor<'_> [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `formula_destruction_bot` (lib) due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a3c5b0d309221c12123f2d3c1e90d1cf2b2b547489b9b42f9b61854eab9dda7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c5b0d309221c12123f2d3c1e90d1cf2b2b547489b9b42f9b61854eab9dda7a", kill_on_drop: false }` [INFO] [stdout] a3c5b0d309221c12123f2d3c1e90d1cf2b2b547489b9b42f9b61854eab9dda7a