[INFO] fetching crate actix-async-await 0.3.0... [INFO] checking actix-async-await-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate actix-async-await 0.3.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate actix-async-await 0.3.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-async-await 0.3.0 [INFO] finished tweaking crates.io crate actix-async-await 0.3.0 [INFO] tweaked toml for crates.io crate actix-async-await 0.3.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e333687fbb0201aa5e2a88dd44cc382f18ae74625da04d66ea89afc26cdfc461 [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" "e333687fbb0201aa5e2a88dd44cc382f18ae74625da04d66ea89afc26cdfc461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e333687fbb0201aa5e2a88dd44cc382f18ae74625da04d66ea89afc26cdfc461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e333687fbb0201aa5e2a88dd44cc382f18ae74625da04d66ea89afc26cdfc461", kill_on_drop: false }` [INFO] [stdout] e333687fbb0201aa5e2a88dd44cc382f18ae74625da04d66ea89afc26cdfc461 [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=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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85ab7dd8bb64bca8cdcd66bda1d447975f129fdc7ac394c810dd47de470a2ab [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" "d85ab7dd8bb64bca8cdcd66bda1d447975f129fdc7ac394c810dd47de470a2ab", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking actix-async-await v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_await, await_macro, futures_api)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_await, await_macro, futures_api)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/handler.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let res = await!(self.inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `self.inner.await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/handler.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let res = await!(self.inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `self.inner.await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/handler.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let res = await!(truck.send(Parcel(42)).compat())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `truck.send(Parcel(42)).compat().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `F` cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | inner: LocalFutureObj::new(fut.boxed()), [INFO] [stdout] | ^^^^^ `F` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 17 | F: Future + 'static + Send, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `F` cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | inner: LocalFutureObj::new(fut.boxed()), [INFO] [stdout] | ^^^^^ `F` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 17 | F: Future + 'static + Send, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | Arbiter::spawn_async(fut.boxed()) [INFO] [stdout] | ^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` [INFO] [stdout] --> src/handler.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(tx) = tx { [INFO] [stdout] | ^^ has type `Option` which is not `Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 34 | fn handle + Send>(self, _: &mut A::Context, tx: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | Arbiter::spawn_async(fut.boxed()) [INFO] [stdout] | ^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` [INFO] [stdout] --> src/handler.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(tx) = tx { [INFO] [stdout] | ^^ has type `Option` which is not `Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 34 | fn handle + Send>(self, _: &mut A::Context, tx: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | Arbiter::spawn_async(fut.boxed()) [INFO] [stdout] | ^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures_core::Future`, the trait `Send` is not implemented for `*mut (dyn futures_core::Future + 'static)` [INFO] [stdout] note: captured value is not `Send` [INFO] [stdout] --> src/handler.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let res = await!(self.inner); [INFO] [stdout] | ^^^^ has type `handler::ResponseStdFuture` which is not `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/handler.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | Arbiter::spawn_async(fut.boxed()) [INFO] [stdout] | ^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures_core::Future`, the trait `Send` is not implemented for `*mut (dyn futures_core::Future + 'static)` [INFO] [stdout] note: captured value is not `Send` [INFO] [stdout] --> src/handler.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let res = await!(self.inner); [INFO] [stdout] | ^^^^ has type `ResponseStdFuture` which is not `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-async-await` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d85ab7dd8bb64bca8cdcd66bda1d447975f129fdc7ac394c810dd47de470a2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85ab7dd8bb64bca8cdcd66bda1d447975f129fdc7ac394c810dd47de470a2ab", kill_on_drop: false }` [INFO] [stdout] d85ab7dd8bb64bca8cdcd66bda1d447975f129fdc7ac394c810dd47de470a2ab