[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] testing ForsakenHarmony/jmap-proxy 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%2FForsakenHarmony%2Fjmap-proxy" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForsakenHarmony/jmap-proxy 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/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-9/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 02d343111b66bca4a514fddc0c11a3a7dbdf59556436c4b1be084bf2fa36fa9a [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" "02d343111b66bca4a514fddc0c11a3a7dbdf59556436c4b1be084bf2fa36fa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02d343111b66bca4a514fddc0c11a3a7dbdf59556436c4b1be084bf2fa36fa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d343111b66bca4a514fddc0c11a3a7dbdf59556436c4b1be084bf2fa36fa9a", kill_on_drop: false }` [INFO] [stdout] 02d343111b66bca4a514fddc0c11a3a7dbdf59556436c4b1be084bf2fa36fa9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 182c74010db363b425739f86a790dccebe9b02c44d5278fc2facab0a57fbb2aa [INFO] running `Command { std: "docker" "start" "-a" "182c74010db363b425739f86a790dccebe9b02c44d5278fc2facab0a57fbb2aa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling ahash v0.3.8 [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 crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling flurry v0.3.1 [INFO] [stderr] Compiling 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 rental-impl v0.5.5 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling rental v0.5.6 [INFO] [stderr] Compiling stop-token v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling async-imap v0.5.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tide-tracing v0.0.10 [INFO] [stderr] Compiling jmap-proxy v0.1.0 (/opt/rustwide/workdir) [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: aborting due to 3 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 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "182c74010db363b425739f86a790dccebe9b02c44d5278fc2facab0a57fbb2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182c74010db363b425739f86a790dccebe9b02c44d5278fc2facab0a57fbb2aa", kill_on_drop: false }` [INFO] [stdout] 182c74010db363b425739f86a790dccebe9b02c44d5278fc2facab0a57fbb2aa