[INFO] cloning repository https://github.com/tinaun/futures-native-timers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tinaun/futures-native-timers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinaun%2Ffutures-native-timers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinaun%2Ffutures-native-timers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f37b8114f661af4a6dbfb2330ffa8295c118b22 [INFO] testing tinaun/futures-native-timers against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinaun%2Ffutures-native-timers" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tinaun/futures-native-timers [INFO] finished tweaking git repo https://github.com/tinaun/futures-native-timers [INFO] tweaked toml for git repo https://github.com/tinaun/futures-native-timers written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tinaun/futures-native-timers on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fd43ca641f6b826d2620eb13a659ec71e5b4ae0d937d9fe5a8e5585abb7e3ab [INFO] running `Command { std: "docker" "start" "-a" "5fd43ca641f6b826d2620eb13a659ec71e5b4ae0d937d9fe5a8e5585abb7e3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fd43ca641f6b826d2620eb13a659ec71e5b4ae0d937d9fe5a8e5585abb7e3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd43ca641f6b826d2620eb13a659ec71e5b4ae0d937d9fe5a8e5585abb7e3ab", kill_on_drop: false }` [INFO] [stdout] 5fd43ca641f6b826d2620eb13a659ec71e5b4ae0d937d9fe5a8e5585abb7e3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bab06a8b0fb443ebe200df5fdbfed6afaacbab98c424d0b8bf0eae3f46bc8e05 [INFO] running `Command { std: "docker" "start" "-a" "bab06a8b0fb443ebe200df5fdbfed6afaacbab98c424d0b8bf0eae3f46bc8e05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-native-timers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let _ = await!(Delay::new(Duration::from_millis(millis))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `await` is a postfix operation [INFO] [stdout] | [INFO] [stdout] 175 - let _ = await!(Delay::new(Duration::from_millis(millis))); [INFO] [stdout] 175 + let _ = Delay::new(Duration::from_millis(millis)).await); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let v = await!(delay(i, (i * 10) as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `await` is a postfix operation [INFO] [stdout] | [INFO] [stdout] 188 - let v = await!(delay(i, (i * 10) as u64)); [INFO] [stdout] 188 + let v = delay(i, (i * 10) as u64).await); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | let res = await!(send.send(v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `await` is a postfix operation [INFO] [stdout] | [INFO] [stdout] 190 - let res = await!(send.send(v)); [INFO] [stdout] 190 + let res = send.send(v).await); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | while let Some(v) = await!(recv.next()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `await` is a postfix operation [INFO] [stdout] | [INFO] [stdout] 197 - while let Some(v) = await!(recv.next()) { [INFO] [stdout] 197 + while let Some(v) = recv.next().await) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(futures_api, async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.38.0; see for more information [INFO] [stdout] = note: subsumed by `.await` syntax [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:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(futures_api, async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `futures_api` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(futures_api, async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> src/delay.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | fn poll(mut self: Pin<&mut Self>, lw: &Waker) -> Poll { [INFO] [stdout] | ^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Pin<&mut Delay>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found signature `fn(Pin<&mut Delay>, &Waker) -> Poll<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 33 - fn poll(mut self: Pin<&mut Self>, lw: &Waker) -> Poll { [INFO] [stdout] 33 + fn poll(mut self: Pin<&mut Self>, lw: &mut Context<'_>) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll_next` has an incompatible type for trait [INFO] [stdout] --> src/interval.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | fn poll_next(mut self: Pin<&mut Self>, lw: &Waker) -> Poll> { [INFO] [stdout] | ^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Pin<&mut Interval>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found signature `fn(Pin<&mut Interval>, &Waker) -> Poll<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 27 - fn poll_next(mut self: Pin<&mut Self>, lw: &Waker) -> Poll> { [INFO] [stdout] 27 + fn poll_next(mut self: Pin<&mut Self>, lw: &mut Context<'_>) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> src/timeout.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll(mut self: Pin<&mut Self>, w: &Waker) -> Poll { [INFO] [stdout] | ^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Pin<&mut timeout::Timeout<_>>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found signature `fn(Pin<&mut timeout::Timeout<_>>, &Waker) -> Poll<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 45 - fn poll(mut self: Pin<&mut Self>, w: &Waker) -> Poll { [INFO] [stdout] 45 + fn poll(mut self: Pin<&mut Self>, w: &mut Context<'_>) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/timeout.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | if let Poll::Ready(_) = self.as_mut().delay().poll(w) { [INFO] [stdout] | ---- ^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&Waker` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/future/future.rs:113:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/timeout.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | self.as_mut().future().poll(w).map(Ok) [INFO] [stdout] | ---- ^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&Waker` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/future/future.rs:113:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `libc::siginfo_t::_pad`: Please leave a comment on https://github.com/rust-lang/libc/pull/1316 if you're using this field [INFO] [stdout] --> src/sys/linux.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let raw_bytes = (*si)._pad; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-native-timers` (lib) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bab06a8b0fb443ebe200df5fdbfed6afaacbab98c424d0b8bf0eae3f46bc8e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab06a8b0fb443ebe200df5fdbfed6afaacbab98c424d0b8bf0eae3f46bc8e05", kill_on_drop: false }` [INFO] [stdout] bab06a8b0fb443ebe200df5fdbfed6afaacbab98c424d0b8bf0eae3f46bc8e05