[INFO] fetching crate crossmist 1.1.2... [INFO] testing crossmist-1.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate crossmist 1.1.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate crossmist 1.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate crossmist 1.1.2 [INFO] tweaked toml for crates.io crate crossmist 1.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crossmist 1.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crossmist 1.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e98e5454c7ce2c117dc7d4348cb09202f80ef17f156d65f483b2c1d1ac5a336 [INFO] running `Command { std: "docker" "start" "-a" "5e98e5454c7ce2c117dc7d4348cb09202f80ef17f156d65f483b2c1d1ac5a336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e98e5454c7ce2c117dc7d4348cb09202f80ef17f156d65f483b2c1d1ac5a336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e98e5454c7ce2c117dc7d4348cb09202f80ef17f156d65f483b2c1d1ac5a336", kill_on_drop: false }` [INFO] [stdout] 5e98e5454c7ce2c117dc7d4348cb09202f80ef17f156d65f483b2c1d1ac5a336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25132c06bf52e879b823c75ec9e00e736b8dc557af3a5bf2c37b1ac8dcbcfe57 [INFO] running `Command { std: "docker" "start" "-a" "25132c06bf52e879b823c75ec9e00e736b8dc557af3a5bf2c37b1ac8dcbcfe57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling crossmist-derive v1.0.2 [INFO] [stderr] Compiling crossmist v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.10s [INFO] running `Command { std: "docker" "inspect" "25132c06bf52e879b823c75ec9e00e736b8dc557af3a5bf2c37b1ac8dcbcfe57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25132c06bf52e879b823c75ec9e00e736b8dc557af3a5bf2c37b1ac8dcbcfe57", kill_on_drop: false }` [INFO] [stdout] 25132c06bf52e879b823c75ec9e00e736b8dc557af3a5bf2c37b1ac8dcbcfe57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7e09b87e583277b932d6f86b33ea1591a2c28af0d9dc4d0a56339d7485fadf [INFO] running `Command { std: "docker" "start" "-a" "ef7e09b87e583277b932d6f86b33ea1591a2c28af0d9dc4d0a56339d7485fadf", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.1 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-fs v2.1.1 [INFO] [stderr] Compiling crossmist v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling async-signal v0.2.6 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling smol-macros v0.1.1 [INFO] [stderr] Compiling async-process v2.2.2 [INFO] [stderr] Compiling smol v2.0.0 [INFO] [stdout] error[E0432]: unresolved import `crossmist::tokio` [INFO] [stdout] --> tests/tokio.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crossmist::tokio::{channel, duplex, Duplex, Receiver, Sender}; [INFO] [stdout] | ^^^^^ could not find `tokio` in `crossmist` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 476 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 477 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[tokio::test(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/worker_pool.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::{mpsc, Mutex}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossmist::tokio` [INFO] [stdout] --> examples/worker_pool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tokio::{duplex, Child, Duplex}, [INFO] [stdout] | ^^^^^ could not find `tokio` in `crossmist` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 476 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 477 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/worker_pool.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/worker_pool.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> tests/tokio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `smol`, and `tokio` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> tests/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `smol`, and `tokio` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/worker_pool.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossmist::smol` [INFO] [stdout] --> tests/smol.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crossmist::smol::{channel, duplex, Duplex, Receiver, Sender}; [INFO] [stdout] | ^^^^ could not find `smol` in `crossmist` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 474 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 475 | pub mod smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_io` in `imp` [INFO] [stdout] --> tests/smol.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | #[crossmist::func(smol)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `async_io` in `imp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 4 | pub use async_io; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> tests/smol.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `smol`, and `tokio` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> examples/worker_pool.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let child = worker.spawn_tokio(theirs).await?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(inner.run_tokio().await.unwrap(), 0x123456789abcdef); [INFO] [stdout] | ^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if workers_sender [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(inner.run_tokio().await.unwrap(), 0x123456789abcdef); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let a = rx.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let b = rx.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | tx.send(&7).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | while let Some((x, y)) = chan.recv().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | chan.send(&(x - y)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let mut chan1 = chan.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | chan1.recv().await.unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | tx_data.send(&i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | tx_signal.send(&()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_tokio().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_tokio().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_tokio().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut workers_receiver = self.workers_receiver.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | let mut worker_obj = workers_receiver [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `workers_receiver` an explicit type [INFO] [stdout] | [INFO] [stdout] 66 | let mut workers_receiver: /* Type */ = self.workers_receiver.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let mut worker_obj = workers_receiver [INFO] [stdout] | ______________________________^ [INFO] [stdout] 68 | | .recv() [INFO] [stdout] 69 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(inner.run_smol().await.unwrap(), 0x123456789abcdef); [INFO] [stdout] | ^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(inner.run_smol().await.unwrap(), 0x123456789abcdef); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut workers_receiver = self.workers_receiver.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | while let Some(worker_obj) = workers_receiver.recv().await { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `workers_receiver` an explicit type [INFO] [stdout] | [INFO] [stdout] 82 | let mut workers_receiver: /* Type */ = self.workers_receiver.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | while let Some(func) = channel.recv().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | channel.send(&func.call_object_once(())).await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/worker_pool.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | channel.send(&func.call_object_once(())).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_smol().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - inner.spawn_smol().await.unwrap().join().await.unwrap(), [INFO] [stdout] 23 + inner.spawn().await.unwrap().join().await.unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_smol().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | inner.spawn_smol().await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/worker_pool.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | tasks.push(tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | inner.spawn_tokio(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | inner.spawn_smol(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 35 - inner.spawn_smol(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] 35 + inner.spawn(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | inner.spawn_smol(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | inner.spawn_smol(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | inner.spawn_tokio(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | inner.spawn_tokio(5, 7).await.unwrap().join().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_tokio(SimplePair { x: 5, y: 7 }) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_tokio(SimplePair { x: 5, y: 7 }) [INFO] [stdout] 53 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_tokio(SimplePair { x: 5, y: 7 }) [INFO] [stdout] 53 | | .await [INFO] [stdout] 54 | | .unwrap() [INFO] [stdout] 55 | | .join() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_smol(SimplePair { x: 5, y: 7 }) [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 - .spawn_smol(SimplePair { x: 5, y: 7 }) [INFO] [stdout] 52 + .spawn(SimplePair { x: 5, y: 7 }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_smol(SimplePair { x: 5, y: 7 }) [INFO] [stdout] 53 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / inner [INFO] [stdout] 52 | | .spawn_smol(SimplePair { x: 5, y: 7 }) [INFO] [stdout] 53 | | .await [INFO] [stdout] 54 | | .unwrap() [INFO] [stdout] 55 | | .join() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let child = inner.spawn_smol(rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 71 - let child = inner.spawn_smol(rx).await.unwrap(); [INFO] [stdout] 71 + let child = inner.spawn(rx).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let child = inner.spawn_smol(rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | tx.send(&7).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(child.join().await.unwrap(), -2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let child = inner.spawn_tokio(rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let child = inner.spawn_tokio(rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | tx.send(&7).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(child.join().await.unwrap(), -2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let a = rx.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let b = rx.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let child = inner.spawn_smol(tx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 85 - let child = inner.spawn_smol(tx).await.unwrap(); [INFO] [stdout] 85 + let child = inner.spawn(tx).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let child = inner.spawn_smol(tx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let child = inner.spawn_tokio(tx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let child = inner.spawn_tokio(tx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | rx.recv().await.unwrap().unwrap() - rx.recv().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | tx.send(&7).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let child = inner.spawn_smol(downstream).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 - let child = inner.spawn_smol(downstream).await.unwrap(); [INFO] [stdout] 102 + let child = inner.spawn(downstream).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let child = inner.spawn_smol(downstream).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | local.send(&(x, y)).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | local.send(&(x, y)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(local.recv().await.unwrap().unwrap(), x - y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let child = inner.spawn_tokio(downstream).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let child = inner.spawn_tokio(downstream).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | local.send(&(x, y)).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | local.send(&(x, y)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(local.recv().await.unwrap().unwrap(), x - y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | tx1.send(&rx).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | tx1.send(&rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | while let Some((x, y)) = chan.recv().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | chan.send(&(x - y)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | tx.send(&5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | tx1.send(&rx).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | tx1.send(&rx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(inner.run_smol(rx1).await.unwrap(), 5); [INFO] [stdout] | ^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(inner.run_smol(rx1).await.unwrap(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(inner.run_tokio(rx1).await.unwrap(), 5); [INFO] [stdout] | ^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(inner.run_tokio(rx1).await.unwrap(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let mut chan1 = chan.recv().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | chan1.recv().await.unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let child = inner.spawn_smol(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn` with a similar name [INFO] [stdout] | [INFO] [stdout] 139 - let child = inner.spawn_smol(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] 139 + let child = inner.spawn(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let child = inner.spawn_smol(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | rx_signal.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | rx_signal.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(rx_data.recv().await.unwrap().unwrap(), i); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(rx_data.recv().await.unwrap().unwrap(), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let child = inner.spawn_tokio(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let child = inner.spawn_tokio(tx_data, tx_signal).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | rx_signal.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | rx_signal.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(rx_data.recv().await.unwrap().unwrap(), i); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(rx_data.recv().await.unwrap().unwrap(), i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | child.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/tokio.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let future = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tokio.rs, use `mod tokio` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod tokio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | tx_data.send(&i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | tx_signal.send(&()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | future.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_smol` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/smol.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(inner.run_smol().await.unwrap(), ()); [INFO] [stdout] | ^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/smol.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(inner.run_smol().await.unwrap(), ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_tokio` found for struct `CallWrapper` in the current scope [INFO] [stdout] --> tests/tokio.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(inner.run_tokio().await.unwrap(), ()); [INFO] [stdout] | ^^^^^^^^^ method not found in `CallWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tokio.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(inner.run_tokio().await.unwrap(), ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Future>: crossmist::imp::Report` is not satisfied [INFO] [stdout] --> examples/worker_pool.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | #[crossmist::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `crossmist::imp::Report` is not implemented for `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `crossmist::imp::Report` [INFO] [stdout] --> /opt/rustwide/workdir/src/imp.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl Report for () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `()` [INFO] [stdout] ... [INFO] [stdout] 28 | impl Report for Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crossmist` (test "smol") due to 64 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i64`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crossmist` (example "worker_pool") due to 14 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&SimplePair`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&SimplePair` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&()`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&()` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&()`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&()` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&()`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&()` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tokio.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | #[crossmist::func(tokio(flavor = "current_thread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&()`, found `&impl Future` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&()` [INFO] [stdout] found reference `&impl Future` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/blocking.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn send(&mut self, value: &T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `crossmist::func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crossmist` (test "tokio") due to 84 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ef7e09b87e583277b932d6f86b33ea1591a2c28af0d9dc4d0a56339d7485fadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7e09b87e583277b932d6f86b33ea1591a2c28af0d9dc4d0a56339d7485fadf", kill_on_drop: false }` [INFO] [stdout] ef7e09b87e583277b932d6f86b33ea1591a2c28af0d9dc4d0a56339d7485fadf