[INFO] fetching crate shakespeare-macro 0.1.0-rc1... [INFO] testing shakespeare-macro-0.1.0-rc1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate shakespeare-macro 0.1.0-rc1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate shakespeare-macro 0.1.0-rc1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate shakespeare-macro 0.1.0-rc1 [INFO] tweaked toml for crates.io crate shakespeare-macro 0.1.0-rc1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shakespeare-macro 0.1.0-rc1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate shakespeare-macro 0.1.0-rc1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.102 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] [stderr] Downloaded runtime-macros v1.1.1 [INFO] [stderr] Downloaded visibility v0.1.1 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 414e6d1bbc61ea7da6894eea39bb3003b141a6157257e17d566f91d3c2d1f93a [INFO] running `Command { std: "docker" "start" "-a" "414e6d1bbc61ea7da6894eea39bb3003b141a6157257e17d566f91d3c2d1f93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "414e6d1bbc61ea7da6894eea39bb3003b141a6157257e17d566f91d3c2d1f93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414e6d1bbc61ea7da6894eea39bb3003b141a6157257e17d566f91d3c2d1f93a", kill_on_drop: false }` [INFO] [stdout] 414e6d1bbc61ea7da6894eea39bb3003b141a6157257e17d566f91d3c2d1f93a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32a35f5e1753f359471b473edfb657c06ef8e49e5512c31e789d7c6afafa5af0 [INFO] running `Command { std: "docker" "start" "-a" "32a35f5e1753f359471b473edfb657c06ef8e49e5512c31e789d7c6afafa5af0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling visibility v0.1.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling shakespeare-macro v0.1.0-rc1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.04s [INFO] running `Command { std: "docker" "inspect" "32a35f5e1753f359471b473edfb657c06ef8e49e5512c31e789d7c6afafa5af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a35f5e1753f359471b473edfb657c06ef8e49e5512c31e789d7c6afafa5af0", kill_on_drop: false }` [INFO] [stdout] 32a35f5e1753f359471b473edfb657c06ef8e49e5512c31e789d7c6afafa5af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b025fc45bc39744b5c848dbbcb607e14e839f683e6f97e786ecd4ccff5471e0e [INFO] running `Command { std: "docker" "start" "-a" "b025fc45bc39744b5c848dbbcb607e14e839f683e6f97e786ecd4ccff5471e0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling runtime-macros v1.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling visibility v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling shakespeare-macro v0.1.0-rc1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/basic.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | fn stop(self) { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/basic.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn catch(self, _thing: Box) -> Box { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/stream.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | fn stop(self) -> usize { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/stream.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | fn catch(self, _: Box) {} [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/supervisor.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | fn stop(self) -> bool { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/supervisor.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | fn catch(self, _val: Panic) {} [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/supervisor.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | fn stop(self) -> bool { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/successes/supervisor.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | fn catch(self, _val: Panic) { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | use shakespeare::ActorHandles; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shakespeare` [INFO] [stdout] --> tests/successes/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shakespeare::ActorHandles; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | use shakespeare::ActorHandles; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shakespeare` [INFO] [stdout] --> tests/successes/stream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shakespeare::{ActorHandles, ActorOutcome, MessageStream, actor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `futures` is unused in crate `shakespeare_macro` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use futures as _;` to the crate root [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #![warn(unused_crate_dependencies)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tokio` is unused in crate `shakespeare_macro` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tokio_stream` is unused in crate `shakespeare_macro` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio_stream as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tokio_util` is unused in crate `shakespeare_macro` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio_util as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shakespeare` [INFO] [stdout] --> tests/successes/supervisor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shakespeare::{ActorHandles, ActorOutcome, Context, Message, actor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actor::FooState` [INFO] [stdout] --> tests/successes/modules.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | use actor::FooState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `FooState` in `successes::modules::actor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 40 - use actor::FooState; [INFO] [stdout] 40 + use crate::successes::modules::actor::FooActor::FooState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/accepts.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/basic.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/modules.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/returns.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/stream.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/successes/supervisor.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/accepts.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[shakespeare::actor] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/accepts.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | #[shakespeare::performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/basic.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[shakespeare::actor] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/basic.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | #[shakespeare::performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | #[shakespeare::actor] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[shakespeare::performance] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | #[shakespeare::role] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/modules.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | #[shakespeare::performance] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/returns.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[shakespeare::actor] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/returns.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | #[shakespeare::performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `performance` in this scope [INFO] [stdout] --> tests/successes/stream.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | #[performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use shakespeare_macro::performance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `performance` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | #[performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 12 + use shakespeare_macro::performance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `performance` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | #[performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 12 + use shakespeare_macro::performance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `performance` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | #[performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 82 + use shakespeare_macro::performance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `performance` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | #[performance(canonical)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 82 + use shakespeare_macro::performance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BasicRole` in this scope [INFO] [stdout] --> tests/successes/accepts.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | impl BasicRole for ActorState { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorState` in this scope [INFO] [stdout] --> tests/successes/accepts.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let state = ActorState { state: 0 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/successes/accepts.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::accepts::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/basic.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::basic::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/returns.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::returns::Actor::ActorState`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::successes::stream::CounterActor::ActorState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BasicRole` in this scope [INFO] [stdout] --> tests/successes/accepts.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let message_handle: Arc = Actor::start(state).message_handle; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `Actor` [INFO] [stdout] --> tests/successes/accepts.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | let message_handle: Arc = Actor::start(state).message_handle; [INFO] [stdout] | ^^^^^ not found in `Actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnboundedSender` in this scope [INFO] [stdout] --> tests/successes/basic.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | sender: UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::successes::basic::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] 9 + use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BasicRole` in this scope [INFO] [stdout] --> tests/successes/basic.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | impl BasicRole for ActorState { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> tests/successes/basic.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | fn catch(self, _thing: Box) -> Box { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 9 + use crate::successes::basic::Any; [INFO] [stdout] | [INFO] [stdout] 9 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> tests/successes/basic.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 23 | fn catch(self, _thing: Box) -> Box { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 9 + use crate::successes::basic::Any; [INFO] [stdout] | [INFO] [stdout] 9 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorState` in this scope [INFO] [stdout] --> tests/successes/basic.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let olaf = ActorState { sender }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/successes/accepts.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::accepts::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/basic.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::basic::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/returns.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::returns::Actor::ActorState`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::successes::stream::CounterActor::ActorState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `Actor` [INFO] [stdout] --> tests/successes/basic.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let ActorHandles { message_handle, .. } = Actor::start(olaf); [INFO] [stdout] | ^^^^^ not found in `Actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `role` in `super` [INFO] [stdout] --> tests/successes/modules.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl super::role::RoleTrait for FooState {} [INFO] [stdout] | ^^^^ could not find `role` in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 10 + use crate::successes::modules::role; [INFO] [stdout] | [INFO] [stdout] help: if you import `role`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - impl super::role::RoleTrait for FooState {} [INFO] [stdout] 12 + impl role::RoleTrait for FooState {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooState` in this scope [INFO] [stdout] --> tests/successes/modules.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new(state: FooState) -> ActorHandles { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use crate::successes::modules::actor::FooActor::FooState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `FooActor` [INFO] [stdout] --> tests/successes/modules.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new(state: FooState) -> ActorHandles { [INFO] [stdout] | ^^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `FooActor` [INFO] [stdout] --> tests/successes/modules.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | FooActor::start(state) [INFO] [stdout] | ^^^^^ not found in `FooActor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooState` in module `super::actor` [INFO] [stdout] --> tests/successes/modules.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | impl super::role::RoleTrait for super::actor::FooState { [INFO] [stdout] | ^^^^^^^^ not found in `super::actor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::successes::modules::actor::FooActor::FooState; [INFO] [stdout] | [INFO] [stdout] help: if you import `FooState`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - impl super::role::RoleTrait for super::actor::FooState { [INFO] [stdout] 30 + impl super::role::RoleTrait for FooState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BasicRole` in this scope [INFO] [stdout] --> tests/successes/returns.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | impl BasicRole for ActorState { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `Actor` [INFO] [stdout] --> tests/successes/returns.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | Actor::start(ActorState { active: false }); [INFO] [stdout] | ^^^^^ not found in `Actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorState` in this scope [INFO] [stdout] --> tests/successes/returns.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | Actor::start(ActorState { active: false }); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/successes/accepts.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::accepts::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/basic.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::basic::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/returns.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::returns::Actor::ActorState`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::successes::stream::CounterActor::ActorState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BasicRole` in this scope [INFO] [stdout] --> tests/successes/returns.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let actor: std::sync::Arc = message_handle; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Counter` in this scope [INFO] [stdout] --> tests/successes/stream.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | impl Counter for Counting { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Counting` in this scope [INFO] [stdout] --> tests/successes/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Counter for Counting { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> tests/successes/stream.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | fn catch(self, _: Box) {} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 8 + use crate::successes::stream::Any; [INFO] [stdout] | [INFO] [stdout] 8 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `CounterActor` [INFO] [stdout] --> tests/successes/stream.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | } = CounterActor::start(ActorState::default()); [INFO] [stdout] | ^^^^^ not found in `CounterActor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActorState` [INFO] [stdout] --> tests/successes/stream.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | } = CounterActor::start(ActorState::default()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ActorState` [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/successes/accepts.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::accepts::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/basic.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::basic::Actor::ActorState`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: tests/successes/returns.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct ActorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `crate::successes::returns::Actor::ActorState`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::successes::stream::CounterActor::ActorState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Counter` in this scope [INFO] [stdout] --> tests/successes/stream.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let counter: Arc = message_handle; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Starter` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | impl Starter for SupervisorState { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | async fn go(&mut self, ctx: &'_ mut Context) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 12 + use futures::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkerState` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::Worker::WorkerState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorHandles` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | let ActorHandles { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Listening` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | join_handle.send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkerState` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::Worker::WorkerState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorHandles` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | let ActorHandles { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Listening` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | join_handle.send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkerState` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::Worker::WorkerState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActorHandles` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | let ActorHandles { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Listening` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | join_handle.send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::sleep; [INFO] [stdout] | [INFO] [stdout] 12 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 12 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> tests/successes/supervisor.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::Duration; [INFO] [stdout] | [INFO] [stdout] 12 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 12 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Listening` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | impl Listening for SupervisorState { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActorOutcome` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn leave(&mut self, result: ActorOutcome) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Worker` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | fn leave(&mut self, result: ActorOutcome) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl Listening for SupervisorState { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Panic` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | fn catch(self, _val: Panic) {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 + use crate::successes::supervisor::Panic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Work` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | impl Work for WorkerState { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | async fn work(&mut self, ctx: &'_ mut Context) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 82 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 82 + use futures::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | sleep(Duration::from_millis(50)).send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 82 + use crate::successes::supervisor::sleep; [INFO] [stdout] | [INFO] [stdout] 82 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 82 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> tests/successes/supervisor.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | sleep(Duration::from_millis(50)).send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 82 + use crate::successes::supervisor::Duration; [INFO] [stdout] | [INFO] [stdout] 82 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 82 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:91:64 [INFO] [stdout] | [INFO] [stdout] 91 | sleep(Duration::from_millis(50)).send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 82 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sleeper` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:91:72 [INFO] [stdout] | [INFO] [stdout] 91 | sleep(Duration::from_millis(50)).send_to(ctx.get_shell() as Arc); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sleeper` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | impl Sleeper for WorkerState { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Panic` in this scope [INFO] [stdout] --> tests/successes/supervisor.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | fn catch(self, _val: Panic) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 82 + use crate::successes::supervisor::Panic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in module `Supervisor` [INFO] [stdout] --> tests/successes/supervisor.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | } = Supervisor::start(SupervisorState::default()); [INFO] [stdout] | ^^^^^ not found in `Supervisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SupervisorState` [INFO] [stdout] --> tests/successes/supervisor.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | } = Supervisor::start(SupervisorState::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SupervisorState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::successes::supervisor::Supervisor::SupervisorState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> tests/successes/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedSender` [INFO] [stdout] --> tests/successes/basic.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc::{UnboundedSender, unbounded_channel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> tests/successes/stream.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/successes/supervisor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/successes/supervisor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] --> tests/successes/returns.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | let shakespeare::ActorHandles { message_handle, .. } = [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `shakespeare` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shakespeare`, use `cargo add shakespeare` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Worker` [INFO] [stdout] --> tests/successes/supervisor.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^ use of undeclared type `Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Worker` [INFO] [stdout] --> tests/successes/supervisor.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^ use of undeclared type `Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Worker` [INFO] [stdout] --> tests/successes/supervisor.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | } = Worker::start(WorkerState { [INFO] [stdout] | ^^^^^^ use of undeclared type `Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActorOutcome` [INFO] [stdout] --> tests/successes/supervisor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | ActorOutcome::Exit(true) => self.success = true, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ActorOutcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActorOutcome` [INFO] [stdout] --> tests/successes/supervisor.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | ActorOutcome::Exit(false) => self.idle = true, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ActorOutcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActorOutcome` [INFO] [stdout] --> tests/successes/supervisor.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | ActorOutcome::Panic(_) => self.failure = true, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ActorOutcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shakespeare-macro` (test "mod") due to 94 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b025fc45bc39744b5c848dbbcb607e14e839f683e6f97e786ecd4ccff5471e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b025fc45bc39744b5c848dbbcb607e14e839f683e6f97e786ecd4ccff5471e0e", kill_on_drop: false }` [INFO] [stdout] b025fc45bc39744b5c848dbbcb607e14e839f683e6f97e786ecd4ccff5471e0e