[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] checking just-engineer/daily-salary-bot against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fdaily-salary-bot" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/just-engineer/daily-salary-bot on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-68/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c63f21e18689a15946eed0a6e8f210b5c781ad5c1bd530dc45668d4a4345e6ac [INFO] running `Command { std: "docker" "start" "-a" "c63f21e18689a15946eed0a6e8f210b5c781ad5c1bd530dc45668d4a4345e6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c63f21e18689a15946eed0a6e8f210b5c781ad5c1bd530dc45668d4a4345e6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63f21e18689a15946eed0a6e8f210b5c781ad5c1bd530dc45668d4a4345e6ac", kill_on_drop: false }` [INFO] [stdout] c63f21e18689a15946eed0a6e8f210b5c781ad5c1bd530dc45668d4a4345e6ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f539480f8424cae01a92a2f4716d238ae6a838a290c072ede85ad0dd1449b8c1 [INFO] running `Command { std: "docker" "start" "-a" "f539480f8424cae01a92a2f4716d238ae6a838a290c072ede85ad0dd1449b8c1", 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 typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Checking 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 mockall_derive v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Checking mockall v0.9.1 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-postgres v0.7.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking refinery-core v0.5.1 [INFO] [stderr] Compiling refinery-macros v0.5.0 [INFO] [stderr] Checking refinery v0.5.0 [INFO] [stderr] Checking 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: 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: 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] | ^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [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: 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: 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: 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: 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: 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] `> as Future>::Output = _` [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: 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: 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] ::: src/scheduler.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn find_jobs(&self, from: DateTime, to: DateTime) -> Vec; [INFO] [stdout] | --------- type in trait [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^ `Vec>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Vec>` [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: 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: 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: 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: 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: 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] `> as Future>::Output = _` [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: 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: 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] ::: src/scheduler.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn find_jobs(&self, from: DateTime, to: DateTime) -> Vec; [INFO] [stdout] | --------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'life0 PostgresStorage, chrono::DateTime<_>, chrono::DateTime<_>) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] found fn pointer `fn(&'life0 PostgresStorage, chrono::DateTime<_>, chrono::DateTime<_>) -> Pin + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f539480f8424cae01a92a2f4716d238ae6a838a290c072ede85ad0dd1449b8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f539480f8424cae01a92a2f4716d238ae6a838a290c072ede85ad0dd1449b8c1", kill_on_drop: false }` [INFO] [stdout] f539480f8424cae01a92a2f4716d238ae6a838a290c072ede85ad0dd1449b8c1