[INFO] cloning repository https://github.com/just-engineer/daily-salary-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/just-engineer/daily-salary-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fdaily-salary-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fdaily-salary-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 777c39699f58c53a046b6771cea9b9751830d013 [INFO] testing just-engineer/daily-salary-bot against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fdaily-salary-bot" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/just-engineer/daily-salary-bot on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/just-engineer/daily-salary-bot [INFO] finished tweaking git repo https://github.com/just-engineer/daily-salary-bot [INFO] tweaked toml for git repo https://github.com/just-engineer/daily-salary-bot written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/just-engineer/daily-salary-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded refinery-core v0.5.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.1 [INFO] [stderr] Downloaded mockall_derive v0.9.1 [INFO] [stderr] Downloaded refinery-macros v0.5.0 [INFO] [stderr] Downloaded mockall v0.9.1 [INFO] [stderr] Downloaded async-trait v0.1.49 [INFO] [stderr] Downloaded refinery v0.5.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.1 [INFO] [stderr] Downloaded postgres-types v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22734329a06415f4ae7379002a8881033a822894f49c96653ccee5a630a9d319 [INFO] running `Command { std: "docker" "start" "-a" "22734329a06415f4ae7379002a8881033a822894f49c96653ccee5a630a9d319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22734329a06415f4ae7379002a8881033a822894f49c96653ccee5a630a9d319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22734329a06415f4ae7379002a8881033a822894f49c96653ccee5a630a9d319", kill_on_drop: false }` [INFO] [stdout] 22734329a06415f4ae7379002a8881033a822894f49c96653ccee5a630a9d319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74fbb7309e47f02e711a29a7ccfd713a6b95ab8f4cec58c43ad53296e2307ad [INFO] running `Command { std: "docker" "start" "-a" "e74fbb7309e47f02e711a29a7ccfd713a6b95ab8f4cec58c43ad53296e2307ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-postgres v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling refinery-core v0.5.1 [INFO] [stderr] Compiling refinery-macros v0.5.0 [INFO] [stderr] Compiling refinery v0.5.0 [INFO] [stderr] Compiling salary-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `POSTGRES_URL` not defined [INFO] [stdout] --> src/storage.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let url = env!("POSTGRES_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mockall` [INFO] [stdout] --> src/scheduler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mockall::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `automock` in this scope [INFO] [stdout] --> src/scheduler.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[automock] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockStorage` [INFO] [stdout] --> src/scheduler.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let storage = MockStorage::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockStorage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/scheduler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/scheduler.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/scheduler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | -------------^^- [INFO] [stdout] | | | [INFO] [stdout] | | `Vec>` is not a future [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn maybe_done(future: Fut) -> MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: within `(tokio::future::maybe_done::MaybeDone>>,)`, the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because it appears within the type `tokio::future::maybe_done::MaybeDone>>` [INFO] [stdout] = note: required because it appears within the type `(tokio::future::maybe_done::MaybeDone>>,)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut tokio::future::maybe_done::MaybeDone>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `Pin<&mut tokio::future::maybe_done::MaybeDone>>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ------------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec>: Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>>: Future` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut tokio::future::maybe_done::MaybeDone>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `Pin<&mut tokio::future::maybe_done::MaybeDone>>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec>: Future` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.5.0/src/future/maybe_done.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MaybeDone { [INFO] [stdout] | ^^^^^^ required by this bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec>` is not a future [INFO] [stdout] --> src/scheduler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | tokio::join![x1] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: within `tokio::future::maybe_done::MaybeDone>>`, the trait `Future` is not implemented for `Vec>` [INFO] [stdout] = note: Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because it appears within the type `tokio::future::maybe_done::MaybeDone>>` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] = note: this error originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `find_jobs` has an incompatible type for trait [INFO] [stdout] --> src/storage.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | async fn find_jobs(&self, from: DateTime, to: DateTime) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found `()` [INFO] [stdout] | help: change the output type to match the trait: `Pin> + Send + 'async_trait)>>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/scheduler.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn find_jobs(&self, from: DateTime, to: DateTime) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected fn pointer `fn(&'life0 PostgresStorage, DateTime<_>, DateTime<_>) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] found fn pointer `fn(&'life0 PostgresStorage, DateTime<_>, DateTime<_>) -> Pin + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salary-bot` due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e74fbb7309e47f02e711a29a7ccfd713a6b95ab8f4cec58c43ad53296e2307ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74fbb7309e47f02e711a29a7ccfd713a6b95ab8f4cec58c43ad53296e2307ad", kill_on_drop: false }` [INFO] [stdout] e74fbb7309e47f02e711a29a7ccfd713a6b95ab8f4cec58c43ad53296e2307ad