[INFO] cloning repository https://github.com/ForsakenHarmony/jmap-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ForsakenHarmony/jmap-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fjmap-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fjmap-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf053d694a7025db38763728d4d73c7d9bab422e [INFO] checking ForsakenHarmony/jmap-proxy against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fjmap-proxy" "/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/ForsakenHarmony/jmap-proxy on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForsakenHarmony/jmap-proxy [INFO] finished tweaking git repo https://github.com/ForsakenHarmony/jmap-proxy [INFO] tweaked toml for git repo https://github.com/ForsakenHarmony/jmap-proxy written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ForsakenHarmony/jmap-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-imap v0.5.0 [INFO] [stderr] Downloaded tide-tracing v0.0.10 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", 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] 3c6535a66438355e006c45dee28bfaea2893e84638aae828a0593e1cf5088830 [INFO] running `Command { std: "docker" "start" "-a" "3c6535a66438355e006c45dee28bfaea2893e84638aae828a0593e1cf5088830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c6535a66438355e006c45dee28bfaea2893e84638aae828a0593e1cf5088830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6535a66438355e006c45dee28bfaea2893e84638aae828a0593e1cf5088830", kill_on_drop: false }` [INFO] [stdout] 3c6535a66438355e006c45dee28bfaea2893e84638aae828a0593e1cf5088830 [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=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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ea505296eeeebdf1678d56f228081d6b50232832dea7ed9d4cfafead299eb4 [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" "70ea505296eeeebdf1678d56f228081d6b50232832dea7ed9d4cfafead299eb4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] futures-channel v0.3.14: default [INFO] [stderr] standback v0.2.17 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking simple-mutex v1.1.5 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking async-dup v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking signal-hook v0.3.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Checking byte-pool v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking flurry v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking imap-proto v0.11.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking stop-token v0.2.0 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking serde_qs v0.7.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking http-types v2.11.1 [INFO] [stderr] Checking async-session v2.0.1 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking async-imap v0.5.0 [INFO] [stderr] Checking async-h1 v2.3.2 [INFO] [stderr] Checking http-client v6.3.5 [INFO] [stderr] Checking async-sse v4.1.0 [INFO] [stderr] Checking tide v0.16.0 [INFO] [stderr] Checking tide-tracing v0.0.10 [INFO] [stderr] Checking jmap-proxy v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused imports: `future::Future`, `stream::StreamExt` [INFO] [stdout] --> src/jmap.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::{future::Future, stream::StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_imap::Session` [INFO] [stdout] --> src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_imap::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_native_tls::TlsStream` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_native_tls::TlsStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/state.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | let mut s = s.lock().await; [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | ---------------- argument requires that `s` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/state.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | --^------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `s` because it is borrowed [INFO] [stdout] --> src/state.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `s` occurs here [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] 42 | let res = fut.await?; [INFO] [stdout] 43 | drop(s); [INFO] [stdout] | ^ move out of `s` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | app.at("/jmap").post(routes::jmap); [INFO] [stdout] | ^^^^ future returned by `jmap` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `*const crossbeam_epoch::internal::Local` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/state.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 30 | let guard = self.imap_sessions.guard(); [INFO] [stdout] | ----- has type `Guard` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 42 | let res = fut.await?; [INFO] [stdout] | ^^^^^^^^^ await occurs here, with `guard` maybe used later [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `guard` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jmap-proxy` due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `future::Future`, `stream::StreamExt` [INFO] [stdout] --> src/jmap.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::{future::Future, stream::StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_imap::Session` [INFO] [stdout] --> src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_imap::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_native_tls::TlsStream` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_native_tls::TlsStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/state.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | let mut s = s.lock().await; [INFO] [stdout] | ^ borrowed value does not live long enough [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | ---------------- argument requires that `s` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/state.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | --^------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `s` because it is borrowed [INFO] [stdout] --> src/state.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn with_imap_session<'a, T, F, Fut>(&self, session_id: &str, f: F) -> tide::Result [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 41 | let fut = f(s.deref_mut()); [INFO] [stdout] | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `s` occurs here [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] 42 | let res = fut.await?; [INFO] [stdout] 43 | drop(s); [INFO] [stdout] | ^ move out of `s` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | app.at("/jmap").post(routes::jmap); [INFO] [stdout] | ^^^^ future returned by `jmap` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `*const crossbeam_epoch::internal::Local` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/state.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 30 | let guard = self.imap_sessions.guard(); [INFO] [stdout] | ----- has type `Guard` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 42 | let res = fut.await?; [INFO] [stdout] | ^^^^^^^^^ await occurs here, with `guard` maybe used later [INFO] [stdout] ... [INFO] [stdout] 45 | } [INFO] [stdout] | - `guard` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "70ea505296eeeebdf1678d56f228081d6b50232832dea7ed9d4cfafead299eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ea505296eeeebdf1678d56f228081d6b50232832dea7ed9d4cfafead299eb4", kill_on_drop: false }` [INFO] [stdout] 70ea505296eeeebdf1678d56f228081d6b50232832dea7ed9d4cfafead299eb4