[INFO] fetching crate tls-async 0.3.0-alpha.7... [INFO] checking tls-async-0.3.0-alpha.7 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tls-async 0.3.0-alpha.7 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tls-async 0.3.0-alpha.7 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 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-14/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 79004e109946b4654a6c18c8cb4e6f1ed02773d7727f1c8547b968cc9cb5d326 [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" "79004e109946b4654a6c18c8cb4e6f1ed02773d7727f1c8547b968cc9cb5d326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79004e109946b4654a6c18c8cb4e6f1ed02773d7727f1c8547b968cc9cb5d326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79004e109946b4654a6c18c8cb4e6f1ed02773d7727f1c8547b968cc9cb5d326", kill_on_drop: false }` [INFO] [stdout] 79004e109946b4654a6c18c8cb4e6f1ed02773d7727f1c8547b968cc9cb5d326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 1beeba2378eea819fc2cf7c4c398d2e817a4728cef97ff12952402e06e8e789a [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" "1beeba2378eea819fc2cf7c4c398d2e817a4728cef97ff12952402e06e8e789a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking async-ready v3.0.0 [INFO] [stderr] Checking async-datagram v3.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [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] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking romio v0.3.0-alpha.10 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking 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] [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] [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: 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: 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: panic message contains an unused formatting placeholder [INFO] [stdout] --> tests/google.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | _ => panic!("Error {:?} was not a handshake error") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 16 | _ => panic!("Error {:?} was not a handshake error", ...) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 16 | _ => panic!("{}", "Error {:?} was not a handshake error") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> tests/bad.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | _ => panic!("Error {:?} was not a handshake error") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 15 | _ => panic!("Error {:?} was not a handshake error", ...) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 15 | _ => panic!("{}", "Error {:?} was not a handshake error") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tls-async` [INFO] [stderr] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 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: use of deprecated constant `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 constant: `Once::new()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `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] warning: 2 warnings emitted [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1beeba2378eea819fc2cf7c4c398d2e817a4728cef97ff12952402e06e8e789a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1beeba2378eea819fc2cf7c4c398d2e817a4728cef97ff12952402e06e8e789a", kill_on_drop: false }` [INFO] [stdout] 1beeba2378eea819fc2cf7c4c398d2e817a4728cef97ff12952402e06e8e789a