[INFO] cloning repository https://github.com/olegnn/join [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olegnn/join" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegnn%2Fjoin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegnn%2Fjoin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a51116aeabf4f1dbee2fe2d7b7e18b58794e0722 [INFO] checking olegnn/join against try#7c3a44cf5f95fa5cf164a312bdcf845157af7093 for pr-77325 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegnn%2Fjoin" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/olegnn/join on toolchain 7c3a44cf5f95fa5cf164a312bdcf845157af7093 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olegnn/join [INFO] finished tweaking git repo https://github.com/olegnn/join [INFO] tweaked toml for git repo https://github.com/olegnn/join written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/olegnn/join already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-timer v0.4.0 [INFO] [stderr] Downloaded tokio-stream v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da2aaa303b7ab180b21041eb724b35a1c39af4dd9da7792b37a4a16a8959840b [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" "da2aaa303b7ab180b21041eb724b35a1c39af4dd9da7792b37a4a16a8959840b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da2aaa303b7ab180b21041eb724b35a1c39af4dd9da7792b37a4a16a8959840b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da2aaa303b7ab180b21041eb724b35a1c39af4dd9da7792b37a4a16a8959840b", kill_on_drop: false }` [INFO] [stdout] da2aaa303b7ab180b21041eb724b35a1c39af4dd9da7792b37a4a16a8959840b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 821e56c71d6516a500f2cdf15d001c17c24461b5a5e8eaa3b7e31b3d44756f45 [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" "821e56c71d6516a500f2cdf15d001c17c24461b5a5e8eaa3b7e31b3d44756f45", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking futures-timer v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking join_impl v0.3.0 (/opt/rustwide/workdir/join_impl) [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking join v0.3.0 (/opt/rustwide/workdir/join) [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-stream v0.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking tokio-util v0.6.0 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.0 [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>>: the size of MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 86 | | ok(2u16).map(add_one_to_ok).and_then(add_one_ok), //4 [INFO] [stdout] 87 | | ok(three().await).and_then(add_one_ok).map(add_one_to_ok).map(add_one_to_ok).map(add_one_to_ok), //7 [INFO] [stdout] 88 | | ok_four().map(add_one_to_ok), //5 [INFO] [stdout] 89 | | ok_five().map(|v| v).and_then(to_err).and_then(add_one_ok).or_else(|_| ok(5)), // 5 [INFO] [stdout] 90 | | and_then => |a, b, c, d| ok(a * b * c * d) [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>>: the size of MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 86 | | ok(2u16).map(add_one_to_ok).and_then(add_one_ok), //4 [INFO] [stdout] 87 | | ok(three().await).and_then(add_one_ok).map(add_one_to_ok).map(add_one_to_ok).map(add_one_to_ok), //7 [INFO] [stdout] 88 | | ok_four().map(add_one_to_ok), //5 [INFO] [stdout] 89 | | ok_five().map(|v| v).and_then(to_err).and_then(add_one_ok).or_else(|_| ok(5)), // 5 [INFO] [stdout] 90 | | and_then => |a, b, c, d| ok(a * b * c * d) [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:89:84: 89:93]>>: the size of MaybeDone, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:89:84: 89:93]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 86 | | ok(2u16).map(add_one_to_ok).and_then(add_one_ok), //4 [INFO] [stdout] 87 | | ok(three().await).and_then(add_one_ok).map(add_one_to_ok).map(add_one_to_ok).map(add_one_to_ok), //7 [INFO] [stdout] 88 | | ok_four().map(add_one_to_ok), //5 [INFO] [stdout] 89 | | ok_five().map(|v| v).and_then(to_err).and_then(add_one_ok).or_else(|_| ok(5)), // 5 [INFO] [stdout] 90 | | and_then => |a, b, c, d| ok(a * b * c * d) [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>>: the size of MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let err = try_join_async! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 96 | | ok(2).map(add_one_to_ok), [INFO] [stdout] 97 | | ok(three().await).and_then(to_err), [INFO] [stdout] 98 | | ok_four(), [INFO] [stdout] 99 | | make_err(), [INFO] [stdout] 100 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 101 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>>: the size of MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 114 | | ok(2u16) |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 115 | | ok(three().await) => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 116 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 117 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 118 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 119 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>>: the size of MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 114 | | ok(2u16) |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 115 | | ok(three().await) => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 116 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 117 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 118 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 119 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:117:80: 117:89]>>: the size of MaybeDone, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:117:80: 117:89]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 114 | | ok(2u16) |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 115 | | ok(three().await) => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 116 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 117 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 118 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 119 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>>: the size of MaybeDone>>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | let sum = try_join_async! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | 2u16 -> ok |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 125 | | three().await -> ok => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 126 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 127 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 128 | | and_then => |a, b, c, d| ok(a + b + c + d) [INFO] [stdout] 129 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>>: the size of MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | let sum = try_join_async! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | 2u16 -> ok |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 125 | | three().await -> ok => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 126 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 127 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 128 | | and_then => |a, b, c, d| ok(a + b + c + d) [INFO] [stdout] 129 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:127:80: 127:89]>>: the size of MaybeDone, fn(std::result::Result>) -> std::result::Result> {add_one_to_ok}>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>, impl futures::Future, fn(u16) -> impl futures::Future {add_one_ok}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:127:80: 127:89]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | let sum = try_join_async! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | 2u16 -> ok |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 125 | | three().await -> ok => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] 126 | | ok_four() |> add_one_to_ok, //5 [INFO] [stdout] 127 | | ok_five() |> |v| v |> add_one_to_ok => to_err => add_one_ok <= |_| ok(5), // 5 [INFO] [stdout] 128 | | and_then => |a, b, c, d| ok(a + b + c + d) [INFO] [stdout] 129 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>>: the size of MaybeDone>>, impl futures::Future, fn(u16) -> impl futures::Future {to_err}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let err: Result = try_join_async! { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 134 | | ok(2) |> add_one_to_ok, [INFO] [stdout] 135 | | ok(three().await) => to_err, [INFO] [stdout] 136 | | ok_four() => |_| err("some error".into()), [INFO] [stdout] 137 | | make_err(), [INFO] [stdout] 138 | | map => |a: u16, b: u16, c: u16, d: u16| a * b * c * d [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, [closure@join/tests/join_async.rs:136:30: 136:58]>>: the size of MaybeDone>>, [closure@join/tests/join_async.rs:136:30: 136:58]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let err: Result = try_join_async! { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 134 | | ok(2) |> add_one_to_ok, [INFO] [stdout] 135 | | ok(three().await) => to_err, [INFO] [stdout] 136 | | ok_four() => |_| err("some error".into()), [INFO] [stdout] 137 | | make_err(), [INFO] [stdout] 138 | | map => |a: u16, b: u16, c: u16, d: u16| a * b * c * d [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone impl futures::Future {add_one_ok}>>: the size of MaybeDone impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 253 | | let branch_0 = ok(2u16) ~|> { [INFO] [stdout] 254 | | let branch_0 = branch_0.as_ref().ok().cloned(); [INFO] [stdout] 255 | | let branch_1 = branch_1.as_ref().ok().cloned(); [INFO] [stdout] ... | [INFO] [stdout] 281 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 282 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone impl futures::Future {add_one_ok}>>: the size of MaybeDone impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 253 | | let branch_0 = ok(2u16) ~|> { [INFO] [stdout] 254 | | let branch_0 = branch_0.as_ref().ok().cloned(); [INFO] [stdout] 255 | | let branch_1 = branch_1.as_ref().ok().cloned(); [INFO] [stdout] ... | [INFO] [stdout] 281 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 282 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone impl futures::Future {to_err}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:280:84: 280:93]>>: the size of MaybeDone impl futures::Future {to_err}>, futures::future::Ready>>, [closure@join/tests/join_async.rs:280:84: 280:93]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 253 | | let branch_0 = ok(2u16) ~|> { [INFO] [stdout] 254 | | let branch_0 = branch_0.as_ref().ok().cloned(); [INFO] [stdout] 255 | | let branch_1 = branch_1.as_ref().ok().cloned(); [INFO] [stdout] ... | [INFO] [stdout] 281 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 282 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone impl futures::Future {add_one_ok}>>: the size of MaybeDone impl futures::Future {add_one_ok}>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let product = try_join_async! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 253 | | let branch_0 = ok(2u16) ~|> { [INFO] [stdout] 254 | | let branch_0 = branch_0.as_ref().ok().cloned(); [INFO] [stdout] 255 | | let branch_1 = branch_1.as_ref().ok().cloned(); [INFO] [stdout] ... | [INFO] [stdout] 281 | | map => |a, b, c, d| a * b * c * d [INFO] [stdout] 282 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:298:47: 308:18]>>: the size of MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:298:47: 308:18]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:316:47: 326:18]>>: the size of MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:316:47: 326:18]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:334:47: 344:18]>>: the size of MaybeDone>>, u16), Box>>, impl futures::Future, [closure@join/tests/join_async.rs:334:47: 344:18]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>: the size of MaybeDone> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>: the size of MaybeDone> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>: the size of MaybeDone> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = join_async! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | ok((values.clone(), 1u16)) => |(values, value)| async move { [INFO] [stdout] 299 | | values.lock().await.push(value); [INFO] [stdout] 300 | | Delay::new(Duration::from_secs(1)).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 355 | | } [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone, Vec>>>, fn(Vec>>) -> std::result::Result>>, reqwest::Error> {std::result::Result::>>, reqwest::Error>::Ok}>, TryJoinAll>>, fn(Vec>>) -> TryJoinAll<>> as IntoIterator>::Item> {try_join_all::>>>}>, [closure@join/tests/join_async.rs:569:24: 569:98]>, futures::future::Ready>, [closure@join/tests/join_async.rs:548:24: 625:14]>>: the size of MaybeDone, Vec>>>, fn(Vec>>) -> std::result::Result>>, reqwest::Error> {std::result::Result::>>, reqwest::Error>::Ok}>, TryJoinAll>>, fn(Vec>>) -> TryJoinAll<>> as IntoIterator>::Item> {try_join_all::>>>}>, [closure@join/tests/join_async.rs:569:24: 569:98]>, futures::future::Ready>, [closure@join/tests/join_async.rs:548:24: 625:14]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:548:24 [INFO] [stdout] | [INFO] [stdout] 548 | let game = try_join_async! { [INFO] [stdout] | ________________________^ [INFO] [stdout] 549 | | // Make requests to several sites [INFO] [stdout] 550 | | // and calculate count of links starting from `https://` [INFO] [stdout] 551 | | urls_to_calculate_link_count() [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type MaybeDone>, Pin>, [closure@join/tests/join_async.rs:592:25: 606:30]>>: the size of MaybeDone>, Pin>, [closure@join/tests/join_async.rs:592:25: 606:30]>> cannot be statically determined [INFO] [stdout] --> join/tests/join_async.rs:548:24 [INFO] [stdout] | [INFO] [stdout] 548 | let game = try_join_async! { [INFO] [stdout] | ________________________^ [INFO] [stdout] 549 | | // Make requests to several sites [INFO] [stdout] 550 | | // and calculate count of links starting from `https://` [INFO] [stdout] 551 | | urls_to_calculate_link_count() [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] error: could not compile `join` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "821e56c71d6516a500f2cdf15d001c17c24461b5a5e8eaa3b7e31b3d44756f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821e56c71d6516a500f2cdf15d001c17c24461b5a5e8eaa3b7e31b3d44756f45", kill_on_drop: false }` [INFO] [stdout] 821e56c71d6516a500f2cdf15d001c17c24461b5a5e8eaa3b7e31b3d44756f45