[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fdaily-salary-bot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/just-engineer/daily-salary-bot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563abc8fd6f928a3cca4f50ec96c215b1e54909394156125334e56697998855a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "563abc8fd6f928a3cca4f50ec96c215b1e54909394156125334e56697998855a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563abc8fd6f928a3cca4f50ec96c215b1e54909394156125334e56697998855a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563abc8fd6f928a3cca4f50ec96c215b1e54909394156125334e56697998855a", kill_on_drop: false }` [INFO] [stdout] 563abc8fd6f928a3cca4f50ec96c215b1e54909394156125334e56697998855a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d081d1b42ef243c9a369a420671965ff0f9de109013b32f2cbd6b8c67bc691e [INFO] running `Command { std: "docker" "start" "-a" "0d081d1b42ef243c9a369a420671965ff0f9de109013b32f2cbd6b8c67bc691e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling url v2.2.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 serde_derive v1.0.125 [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 serde v1.0.125 [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" "0d081d1b42ef243c9a369a420671965ff0f9de109013b32f2cbd6b8c67bc691e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d081d1b42ef243c9a369a420671965ff0f9de109013b32f2cbd6b8c67bc691e", kill_on_drop: false }` [INFO] [stdout] 0d081d1b42ef243c9a369a420671965ff0f9de109013b32f2cbd6b8c67bc691e