[INFO] fetching crate actix-async-await 0.3.0... [INFO] checking actix-async-await-0.3.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate actix-async-await 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate actix-async-await 0.3.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c75360955064465a1f949bf72844a54b4dad8f47d1259b34233927ebba52782 [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" "4c75360955064465a1f949bf72844a54b4dad8f47d1259b34233927ebba52782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c75360955064465a1f949bf72844a54b4dad8f47d1259b34233927ebba52782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c75360955064465a1f949bf72844a54b4dad8f47d1259b34233927ebba52782", kill_on_drop: false }` [INFO] [stdout] 4c75360955064465a1f949bf72844a54b4dad8f47d1259b34233927ebba52782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf8b28afd0ff1b1c7bd22af181ce3fef440141647bc12eb99ef6fad38a0fdf7 [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" "0cf8b28afd0ff1b1c7bd22af181ce3fef440141647bc12eb99ef6fad38a0fdf7", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [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 lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling actix_derive v0.3.2 [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] = 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: 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: 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" "0cf8b28afd0ff1b1c7bd22af181ce3fef440141647bc12eb99ef6fad38a0fdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf8b28afd0ff1b1c7bd22af181ce3fef440141647bc12eb99ef6fad38a0fdf7", kill_on_drop: false }` [INFO] [stdout] 0cf8b28afd0ff1b1c7bd22af181ce3fef440141647bc12eb99ef6fad38a0fdf7