[INFO] crate tls-async 0.3.0-alpha.7 is already in cache [INFO] testing tls-async-0.3.0-alpha.7 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate tls-async 0.3.0-alpha.7 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tls-async 0.3.0-alpha.7 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tls-async 0.3.0-alpha.7 [INFO] finished tweaking crates.io crate tls-async 0.3.0-alpha.7 [INFO] tweaked toml for crates.io crate tls-async 0.3.0-alpha.7 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17f854ccefbbe064b1efb230d05a315fd8c1ae4c8dd36376c6e745473cd53355 [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" "17f854ccefbbe064b1efb230d05a315fd8c1ae4c8dd36376c6e745473cd53355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f854ccefbbe064b1efb230d05a315fd8c1ae4c8dd36376c6e745473cd53355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f854ccefbbe064b1efb230d05a315fd8c1ae4c8dd36376c6e745473cd53355", kill_on_drop: false }` [INFO] [stdout] 17f854ccefbbe064b1efb230d05a315fd8c1ae4c8dd36376c6e745473cd53355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 4ac9835bb28eae9a278820eef284fd99b76123d9a0ea845bc83e8547ba3608a7 [INFO] running `Command { std: "docker" "start" "-a" "4ac9835bb28eae9a278820eef284fd99b76123d9a0ea845bc83e8547ba3608a7", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tls-async v0.3.0-alpha.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.24s [INFO] running `Command { std: "docker" "inspect" "4ac9835bb28eae9a278820eef284fd99b76123d9a0ea845bc83e8547ba3608a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac9835bb28eae9a278820eef284fd99b76123d9a0ea845bc83e8547ba3608a7", kill_on_drop: false }` [INFO] [stdout] 4ac9835bb28eae9a278820eef284fd99b76123d9a0ea845bc83e8547ba3608a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d97ea8a1d0f0ccfe75497eb3d3a802d423a358683a70177abf54961e3422305 [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" "8d97ea8a1d0f0ccfe75497eb3d3a802d423a358683a70177abf54961e3422305", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling async-datagram v3.0.0 [INFO] [stderr] Compiling async-ready v3.0.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling romio v0.3.0-alpha.10 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tls-async v0.3.0-alpha.7 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let socket = await!(TcpStream::connect(&addr)).expect("Could not connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `TcpStream::connect(&addr).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut socket = await!(cx.connect("www.rust-lang.org", socket)).expect("Could not form tls connection"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `cx.connect("www.rust-lang.org", socket).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let _ = await!(socket.write_all(b"\ [INFO] [stdout] | _________________^ [INFO] [stdout] 25 | | GET / HTTP/1.0\r\n\ [INFO] [stdout] 26 | | Host: www.rust-lang.org\r\n\ [INFO] [stdout] 27 | | \r\n\ [INFO] [stdout] 28 | | ")); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] help: `await` is a postfix operation [INFO] [stdout] | [INFO] [stdout] 24 | let _ = socket.write_all(b"\ [INFO] [stdout] 25 | GET / HTTP/1.0\r\n\ [INFO] [stdout] 26 | Host: www.rust-lang.org\r\n\ [INFO] [stdout] 27 | \r\n\ [INFO] [stdout] 28 | ").await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | await!(socket.flush()).expect("Could not flush"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `socket.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | await!(socket.read_to_end(&mut vec)).expect("Could not read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `socket.read_to_end(&mut vec).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> examples/download-rust-lang.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | await!(socket.close()).expect("Could not close"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `socket.close().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> examples/download-rust-lang.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl` [INFO] [stdout] --> tests/bad.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | use openssl; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ONCE_INIT`, `Once` [INFO] [stdout] --> tests/smoke.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | static INIT: std::sync::Once = std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tls-async`. [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] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/google.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/bad.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/echo.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut reader, mut writer) = tls.split(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/echo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/smoke.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8d97ea8a1d0f0ccfe75497eb3d3a802d423a358683a70177abf54961e3422305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d97ea8a1d0f0ccfe75497eb3d3a802d423a358683a70177abf54961e3422305", kill_on_drop: false }` [INFO] [stdout] 8d97ea8a1d0f0ccfe75497eb3d3a802d423a358683a70177abf54961e3422305