[INFO] cloning repository https://github.com/stbuehler/rust-cofutures-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stbuehler/rust-cofutures-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstbuehler%2Frust-cofutures-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstbuehler%2Frust-cofutures-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cde9170e5a2b534ad6362d54231a581056ca77fd [INFO] checking stbuehler/rust-cofutures-poc against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstbuehler%2Frust-cofutures-poc" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stbuehler/rust-cofutures-poc on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stbuehler/rust-cofutures-poc [INFO] finished tweaking git repo https://github.com/stbuehler/rust-cofutures-poc [INFO] tweaked toml for git repo https://github.com/stbuehler/rust-cofutures-poc written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/stbuehler/rust-cofutures-poc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.5.4 [INFO] [stderr] Downloaded proc-macro-nested v0.1.2 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.13 [INFO] [stderr] Downloaded futures-select-macro-preview v0.3.0-alpha.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4390a665be2855c767f410447788e550661b65c1e3af8874ae39df75adec7111 [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" "4390a665be2855c767f410447788e550661b65c1e3af8874ae39df75adec7111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4390a665be2855c767f410447788e550661b65c1e3af8874ae39df75adec7111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4390a665be2855c767f410447788e550661b65c1e3af8874ae39df75adec7111", kill_on_drop: false }` [INFO] [stdout] 4390a665be2855c767f410447788e550661b65c1e3af8874ae39df75adec7111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38105eb2dee0ddc8497d449fb8b5fc9a1adb1fe1be3dd247e18d935faabea0ac [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" "38105eb2dee0ddc8497d449fb8b5fc9a1adb1fe1be3dd247e18d935faabea0ac", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking cofutures-inner v0.1.0 (/opt/rustwide/workdir/cofutures-inner) [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> cofutures-inner/src/lib.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | fn poll(self: Pin<&mut Self>, lw: &Waker) -> Poll { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | types differ in mutability [INFO] [stdout] | help: change the parameter type to match the trait: `&mut Context<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(Pin<&mut CoAsync>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found fn pointer `fn(Pin<&mut CoAsync>, &Waker) -> Poll<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.13 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> cofutures-inner/src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | f.poll(waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> cofutures-inner/src/lib.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | match unsafe { Pin::new_unchecked(running).resume() } { [INFO] [stdout] | ^^^^^^- supplied 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] help: expected the unit value `()`; create it with empty parentheses [INFO] [stdout] | [INFO] [stdout] 98 | match unsafe { Pin::new_unchecked(running).resume(()) } { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cofutures-inner` [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] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn poll(self: Pin<&mut Self>, waker: &Waker) -> Poll { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | types differ in mutability [INFO] [stdout] | help: change the parameter type to match the trait: `&mut Context<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(std::pin::Pin<&mut future_obj::LocalFutureObj<'a, T>>, &mut Context<'_>) -> std::task::Poll<_>` [INFO] [stdout] found fn pointer `fn(std::pin::Pin<&mut future_obj::LocalFutureObj<'a, T>>, &std::task::Waker) -> std::task::Poll<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | fn poll(self: Pin<&mut Self>, waker: &Waker) -> Poll { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | types differ in mutability [INFO] [stdout] | help: change the parameter type to match the trait: `&mut Context<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(std::pin::Pin<&mut future_obj::FutureObj<'a, T>>, &mut Context<'_>) -> std::task::Poll<_>` [INFO] [stdout] found fn pointer `fn(std::pin::Pin<&mut future_obj::FutureObj<'a, T>>, &std::task::Waker) -> std::task::Poll<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/mod.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | self.poll(waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | LocalFutureObj::poll(pinned_field, waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | F::poll(p, waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | F::poll(future, waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | F::poll(pin, waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.13/src/future/future_obj.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 225 | F::poll(pin, waker) [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&std::task::Waker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "38105eb2dee0ddc8497d449fb8b5fc9a1adb1fe1be3dd247e18d935faabea0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38105eb2dee0ddc8497d449fb8b5fc9a1adb1fe1be3dd247e18d935faabea0ac", kill_on_drop: false }` [INFO] [stdout] 38105eb2dee0ddc8497d449fb8b5fc9a1adb1fe1be3dd247e18d935faabea0ac