[INFO] fetching crate simpl_actor 0.2.7... [INFO] testing simpl_actor-0.2.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate simpl_actor 0.2.7 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate simpl_actor 0.2.7 [INFO] finished tweaking crates.io crate simpl_actor 0.2.7 [INFO] tweaked toml for crates.io crate simpl_actor 0.2.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simpl_actor 0.2.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simpl_actor 0.2.7 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43e1d4511c6136bc80b1b7c69e4dd048653052f1aa61a2331d2a6e193117030 [INFO] running `Command { std: "docker" "start" "-a" "a43e1d4511c6136bc80b1b7c69e4dd048653052f1aa61a2331d2a6e193117030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43e1d4511c6136bc80b1b7c69e4dd048653052f1aa61a2331d2a6e193117030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43e1d4511c6136bc80b1b7c69e4dd048653052f1aa61a2331d2a6e193117030", kill_on_drop: false }` [INFO] [stdout] a43e1d4511c6136bc80b1b7c69e4dd048653052f1aa61a2331d2a6e193117030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3c03a8b64bc56c3be4515f1c0934b866544bc7f0cda6cd67c5f7888b0ac0695 [INFO] running `Command { std: "docker" "start" "-a" "d3c03a8b64bc56c3be4515f1c0934b866544bc7f0cda6cd67c5f7888b0ac0695", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling simpl_actor_macros v0.2.7 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling simpl_actor v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.57s [INFO] running `Command { std: "docker" "inspect" "d3c03a8b64bc56c3be4515f1c0934b866544bc7f0cda6cd67c5f7888b0ac0695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c03a8b64bc56c3be4515f1c0934b866544bc7f0cda6cd67c5f7888b0ac0695", kill_on_drop: false }` [INFO] [stdout] d3c03a8b64bc56c3be4515f1c0934b866544bc7f0cda6cd67c5f7888b0ac0695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29871fa79f476d7797a3f5f4db525761e6c072532b7ff61f63d9c57b43a92a47 [INFO] running `Command { std: "docker" "start" "-a" "29871fa79f476d7797a3f5f4db525761e6c072532b7ff61f63d9c57b43a92a47", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling simpl_actor v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.90s [INFO] running `Command { std: "docker" "inspect" "29871fa79f476d7797a3f5f4db525761e6c072532b7ff61f63d9c57b43a92a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29871fa79f476d7797a3f5f4db525761e6c072532b7ff61f63d9c57b43a92a47", kill_on_drop: false }` [INFO] [stdout] 29871fa79f476d7797a3f5f4db525761e6c072532b7ff61f63d9c57b43a92a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90f28b61951f5146e7cddd4437eae6581cd0b008c1fc7d2e883ab982ea88da70 [INFO] running `Command { std: "docker" "start" "-a" "90f28b61951f5146e7cddd4437eae6581cd0b008c1fc7d2e883ab982ea88da70", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simpl_actor-044f9ee24784f6c0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simpl_actor [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/actor_ref.rs - actor_ref::ActorRef::wait_for_stop (line 84) ... ignored [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 13 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 13 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 13 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 13 + pub fn inc(&mut self, amount: i64) { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 13 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 13 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 16 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 16 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 16 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 16 + pub fn inc(&mut self, amount: i64) { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 16 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 16 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn count(&self) -> i64 { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 19 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 19 + pub fn count(&self) -> i64 { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 19 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 19 + pub fn count(&self) -> i64 { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn count(&self) -> i64 { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 19 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 19 + pub fn count(&self) -> i64 { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `..=` [INFO] [stdout] --> src/lib.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterActorRef` in this scope [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Actor, Default)] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Actor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | actor.inc(2).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 26 | actor.dec(1).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | let count = actor.count().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `CounterActor` in the current scope [INFO] [stdout] --> src/lib.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CounterActor { count: i64 } [INFO] [stdout] | ----------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | let counter = CounterActor::new(); [INFO] [stdout] | ^^^ function or associated item not found in `CounterActor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #2: `plotters::style::font::FontData` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586, E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn msg(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 16 | fn msg_async(&self) -> Result<(), SendError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn msg_async_after(&self, delay: Duration) -> JoinHandle>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `actor` in this scope [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[actor] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor::actor; [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor_macros::actor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[message] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyActor` in this scope [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl MyActor { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `Err` [INFO] [stdout] --> src/lib.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 6 | fn msg(&self) -> Result {} [INFO] [stdout] | ^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 - fn msg(&self) -> Result {} [INFO] [stdout] 6 + fn msg(&self) -> Result {} [INFO] [stdout] | [INFO] [stdout] 6 - fn msg(&self) -> Result {} [INFO] [stdout] 6 + fn msg(&self) -> Result {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyActorRef` in this scope [INFO] [stdout] --> src/lib.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl MyActorRef { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendError` in this scope [INFO] [stdout] --> src/lib.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 12 | async fn msg(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::error::SendError; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinHandle` in this scope [INFO] [stdout] --> src/lib.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 14 | fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::task::JoinHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `Err` [INFO] [stdout] --> src/lib.rs:55:75 [INFO] [stdout] | [INFO] [stdout] 14 | fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | ^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 14 - fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] 14 + fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | [INFO] [stdout] 14 - fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] 14 + fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendError` in this scope [INFO] [stdout] --> src/lib.rs:55:81 [INFO] [stdout] | [INFO] [stdout] 14 | fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::error::SendError; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendError` in this scope [INFO] [stdout] --> src/lib.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn msg_async(&self) -> Result<(), SendError>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::error::SendError; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn msg_async_after(&self, delay: Duration) -> JoinHandle>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinHandle` in this scope [INFO] [stdout] --> src/lib.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn msg_async_after(&self, delay: Duration) -> JoinHandle>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::task::JoinHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendError` in this scope [INFO] [stdout] --> src/lib.rs:59:73 [INFO] [stdout] | [INFO] [stdout] 18 | fn msg_async_after(&self, delay: Duration) -> JoinHandle>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::error::SendError; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0573. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90f28b61951f5146e7cddd4437eae6581cd0b008c1fc7d2e883ab982ea88da70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f28b61951f5146e7cddd4437eae6581cd0b008c1fc7d2e883ab982ea88da70", kill_on_drop: false }` [INFO] [stdout] 90f28b61951f5146e7cddd4437eae6581cd0b008c1fc7d2e883ab982ea88da70