[INFO] cloning repository https://github.com/31puneet/Memora [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/31puneet/Memora" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F31puneet%2FMemora", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F31puneet%2FMemora'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ecdac339d4169eed3a44c0244d70223759a8234 [INFO] checking 31puneet/Memora against 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 for pr-160780 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F31puneet%2FMemora" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/31puneet/Memora [INFO] finished tweaking git repo https://github.com/31puneet/Memora [INFO] tweaked toml for git repo https://github.com/31puneet/Memora written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/31puneet/Memora on toolchain 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/31puneet/Memora 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" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a [INFO] running `Command { std: "docker" "start" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling futures-core v0.3.33 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling find-msvc-tools v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling futures-sink v0.3.33 [INFO] [stderr] Compiling cc v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling futures-task v0.3.33 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-io v0.3.33 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling pyo3-build-config v0.29.2 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling futures-util v0.3.33 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.13 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling pyo3-ffi v0.29.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.33 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pyo3 v0.29.2 [INFO] [stderr] Checking uuid v1.24.0 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling futures-executor v0.3.33 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling tokio-stream v0.1.19 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pyo3-macros v0.29.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking memora v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use pyo3::prelude::*; [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: `pyo3::prelude::*` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn initialize(&self) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn initialize(&self) -> Result<(), MemoraError>; [INFO] [stdout] 12 + fn initialize(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn create_workflow(&self, workflow: &Workflow) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn create_workflow(&self, workflow: &Workflow) -> Result<(), MemoraError>; [INFO] [stdout] 14 + fn create_workflow(&self, workflow: &Workflow) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_workflow(&self, workflow_id: &str) -> Result, MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn get_workflow(&self, workflow_id: &str) -> Result, MemoraError>; [INFO] [stdout] 16 + fn get_workflow(&self, workflow_id: &str) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn update_workflow_status( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 ~ fn update_workflow_status( [INFO] [stdout] 19 | &self, [INFO] [stdout] 20 | workflow_id: &str, [INFO] [stdout] 21 | status: WorkflowStatus, [INFO] [stdout] 22 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | async fn claim_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 ~ fn claim_lease( [INFO] [stdout] 27 | &self, [INFO] [stdout] ... [INFO] [stdout] 30 | current_epoch: i64, [INFO] [stdout] 31 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn renew_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 ~ fn renew_lease( [INFO] [stdout] 35 | &self, [INFO] [stdout] ... [INFO] [stdout] 38 | epoch: i64, [INFO] [stdout] 39 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn clear_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 41 ~ fn clear_lease( [INFO] [stdout] 42 | &self, [INFO] [stdout] ... [INFO] [stdout] 45 | epoch: i64, [INFO] [stdout] 46 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn append_event(&self, event: &Event) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn append_event(&self, event: &Event) -> Result; [INFO] [stdout] 51 + fn append_event(&self, event: &Event) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn get_events_after( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 ~ fn get_events_after( [INFO] [stdout] 54 | &self, [INFO] [stdout] 55 | workflow_id: &str, [INFO] [stdout] 56 | after_sequence: i64, [INFO] [stdout] 57 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn get_latest_step_event( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 ~ fn get_latest_step_event( [INFO] [stdout] 61 | &self, [INFO] [stdout] 62 | workflow_id: &str, [INFO] [stdout] 63 | step_id: &str, [INFO] [stdout] 64 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn save_snapshot(&self, snapshot: &Snapshot) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn save_snapshot(&self, snapshot: &Snapshot) -> Result<(), MemoraError>; [INFO] [stdout] 66 + fn save_snapshot(&self, snapshot: &Snapshot) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_latest_snapshot( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 68 ~ fn get_latest_snapshot( [INFO] [stdout] 69 | &self, [INFO] [stdout] 70 | workflow_id: &str, [INFO] [stdout] 71 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn initialize(&self) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn initialize(&self) -> Result<(), MemoraError>; [INFO] [stdout] 12 + fn initialize(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn create_workflow(&self, workflow: &Workflow) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn create_workflow(&self, workflow: &Workflow) -> Result<(), MemoraError>; [INFO] [stdout] 14 + fn create_workflow(&self, workflow: &Workflow) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_workflow(&self, workflow_id: &str) -> Result, MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn get_workflow(&self, workflow_id: &str) -> Result, MemoraError>; [INFO] [stdout] 16 + fn get_workflow(&self, workflow_id: &str) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn update_workflow_status( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 ~ fn update_workflow_status( [INFO] [stdout] 19 | &self, [INFO] [stdout] 20 | workflow_id: &str, [INFO] [stdout] 21 | status: WorkflowStatus, [INFO] [stdout] 22 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | async fn claim_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 ~ fn claim_lease( [INFO] [stdout] 27 | &self, [INFO] [stdout] ... [INFO] [stdout] 30 | current_epoch: i64, [INFO] [stdout] 31 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn renew_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 ~ fn renew_lease( [INFO] [stdout] 35 | &self, [INFO] [stdout] ... [INFO] [stdout] 38 | epoch: i64, [INFO] [stdout] 39 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn clear_lease( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 41 ~ fn clear_lease( [INFO] [stdout] 42 | &self, [INFO] [stdout] ... [INFO] [stdout] 45 | epoch: i64, [INFO] [stdout] 46 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn append_event(&self, event: &Event) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn append_event(&self, event: &Event) -> Result; [INFO] [stdout] 51 + fn append_event(&self, event: &Event) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn get_events_after( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 ~ fn get_events_after( [INFO] [stdout] 54 | &self, [INFO] [stdout] 55 | workflow_id: &str, [INFO] [stdout] 56 | after_sequence: i64, [INFO] [stdout] 57 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn get_latest_step_event( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 ~ fn get_latest_step_event( [INFO] [stdout] 61 | &self, [INFO] [stdout] 62 | workflow_id: &str, [INFO] [stdout] 63 | step_id: &str, [INFO] [stdout] 64 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn save_snapshot(&self, snapshot: &Snapshot) -> Result<(), MemoraError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn save_snapshot(&self, snapshot: &Snapshot) -> Result<(), MemoraError>; [INFO] [stdout] 66 + fn save_snapshot(&self, snapshot: &Snapshot) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/storage/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_latest_snapshot( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 68 ~ fn get_latest_snapshot( [INFO] [stdout] 69 | &self, [INFO] [stdout] 70 | workflow_id: &str, [INFO] [stdout] 71 ~ ) -> impl std::future::Future, MemoraError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a", kill_on_drop: false }` [INFO] [stdout] 472cd7d3f05dbd87f2247faa0ca0eac3bb5beb4820a2900bfc2538bdf4a5b77a