[INFO] cloning repository https://github.com/sergeyzenchenko/nats.rs-async-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergeyzenchenko/nats.rs-async-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyzenchenko%2Fnats.rs-async-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyzenchenko%2Fnats.rs-async-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2438fe079b705d95aa8c50dc1e7c8736869ce95c
[INFO] testing sergeyzenchenko/nats.rs-async-issue against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyzenchenko%2Fnats.rs-async-issue" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sergeyzenchenko/nats.rs-async-issue on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sergeyzenchenko/nats.rs-async-issue
[INFO] finished tweaking git repo https://github.com/sergeyzenchenko/nats.rs-async-issue
[INFO] tweaked toml for git repo https://github.com/sergeyzenchenko/nats.rs-async-issue written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/sergeyzenchenko/nats.rs-async-issue already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "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] e0e93c1ebc6c3b58945e09a789a8ccc7b0023d24070cef2283b52ea303c7c0bd
[INFO] running `Command { std: "docker" "start" "-a" "e0e93c1ebc6c3b58945e09a789a8ccc7b0023d24070cef2283b52ea303c7c0bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0e93c1ebc6c3b58945e09a789a8ccc7b0023d24070cef2283b52ea303c7c0bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0e93c1ebc6c3b58945e09a789a8ccc7b0023d24070cef2283b52ea303c7c0bd", kill_on_drop: false }`
[INFO] [stdout] e0e93c1ebc6c3b58945e09a789a8ccc7b0023d24070cef2283b52ea303c7c0bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "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] 725996270b5a8cc98ce5c0d0370a4b14e65a50a4cff0b9f64b77ce49d1903854
[INFO] running `Command { std: "docker" "start" "-a" "725996270b5a8cc98ce5c0d0370a4b14e65a50a4cff0b9f64b77ce49d1903854", kill_on_drop: false }`
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling fastrand v1.3.4
[INFO] [stderr]    Compiling zeroize v1.1.0
[INFO] [stderr]    Compiling vec-arena v0.5.2
[INFO] [stderr]    Compiling easy-parallel v3.1.0
[INFO] [stderr]    Compiling data-encoding v2.3.0
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling clear_on_drop v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling base64-url v1.4.7
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling polling v0.1.6
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling flate2 v1.0.17
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling subtle-encoding v0.4.1
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling async-channel v1.4.1
[INFO] [stderr]    Compiling simple-mutex v1.1.5
[INFO] [stderr]    Compiling async-mutex v1.2.0
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling multitask v0.2.0
[INFO] [stderr]    Compiling signature v1.0.0-pre.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling v_escape v0.7.4
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling async-dup v1.2.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling ed25519 v1.0.0-pre.1
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling signatory v0.18.1
[INFO] [stderr]    Compiling curve25519-dalek v1.2.4
[INFO] [stderr]    Compiling async-io v0.1.11
[INFO] [stderr]    Compiling blocking v0.5.2
[INFO] [stderr]    Compiling crossbeam-channel v0.4.3
[INFO] [stderr]    Compiling async-executor v0.1.2
[INFO] [stderr]    Compiling smol v0.3.3
[INFO] [stderr]    Compiling nuid v0.2.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0-pre.2
[INFO] [stderr]    Compiling signatory-dalek v0.18.1
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling nkeys v0.0.9
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling webpki-roots v0.19.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.3
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling async-tls v0.8.0
[INFO] [stderr]    Compiling rustls-native-certs v0.4.0
[INFO] [stderr]    Compiling nats v0.7.3
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-session v0.3.0
[INFO] [stderr]    Compiling actix-files v0.2.2
[INFO] [stderr]    Compiling nats-async-issue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{env, io};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_files as fs`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_files as fs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CookieSession`, `Session`
[INFO] [stdout]  --> src/main.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_session::{CookieSession, Session};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_utils::mpsc`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use actix_utils::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Method`, `StatusCode`, `header`
[INFO] [stdout]  --> src/main.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use actix_web::http::{header, Method, StatusCode};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `HttpRequest`, `Result`, `error`, `guard`, `middleware`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     error, guard, middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer,
[INFO] [stdout]    |     ^^^^^  ^^^^^  ^^^^^^^^^^            ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 12 |     Result,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bytes::Bytes;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:33:49
[INFO] [stdout]     |
[INFO] [stdout] 33  |       async fn get(&self, data: &Data) -> Vec<u8> {
[INFO] [stdout]     |  _________________________________________________^
[INFO] [stdout] 34  | |         let result = self.nc.request("demo", data.name.as_bytes()).await.unwrap();
[INFO] [stdout] 35  | |         result.data
[INFO] [stdout] 36  | |     }
[INFO] [stdout]     | |_____^ future returned by `__get` is not `Send`
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `impl std::future::Future<Output = Vec<u8>>`, the trait `std::marker::Send` is not implemented for `MutexGuard<'_, HashSet<u64>>`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nats-0.7.3/src/asynk/client.rs:567:81
[INFO] [stdout]     |
[INFO] [stdout] 560 |           for sid in mem::replace(&mut *self.unsubscribed.lock().unwrap(), HashSet::new()) {
[INFO] [stdout]     |           -                             --------------------------------- has type `MutexGuard<'_, HashSet<u64>>` which is not `Send`
[INFO] [stdout]     |  _________|
[INFO] [stdout]     | |
[INFO] [stdout] 561 | |             // Remove the subscription from the map.
[INFO] [stdout] 562 | |             state.subscriptions.remove(&sid);
[INFO] [stdout] 563 | |
[INFO] [stdout] ...   |
[INFO] [stdout] 567 | |                 let _ = proto::encode(writer, ClientOp::Unsub { sid, max_msgs }).await;
[INFO] [stdout]     | |                                                                                 ^^^^^^ await occurs here, with `self.unsubscribed.lock().unwrap()` maybe used later
[INFO] [stdout] 568 | |                 let _ = state.flush_kicker.try_send(());
[INFO] [stdout] 569 | |             }
[INFO] [stdout] 570 | |         }
[INFO] [stdout]     | |_________- `self.unsubscribed.lock().unwrap()` is later dropped here
[INFO] [stdout]     = note: required for the cast to the object type `dyn std::future::Future<Output = Vec<u8>> + std::marker::Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nats-async-issue` due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "725996270b5a8cc98ce5c0d0370a4b14e65a50a4cff0b9f64b77ce49d1903854", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "725996270b5a8cc98ce5c0d0370a4b14e65a50a4cff0b9f64b77ce49d1903854", kill_on_drop: false }`
[INFO] [stdout] 725996270b5a8cc98ce5c0d0370a4b14e65a50a4cff0b9f64b77ce49d1903854
