[INFO] fetching crate simpl_actor 0.2.7... [INFO] testing simpl_actor-0.2.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate simpl_actor 0.2.7 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simpl_actor 0.2.7 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c4c8d1cf4cc03229b598971467b090058a5a15fb415daff093cbb37db8a6d09b [INFO] running `Command { std: "docker" "start" "-a" "c4c8d1cf4cc03229b598971467b090058a5a15fb415daff093cbb37db8a6d09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4c8d1cf4cc03229b598971467b090058a5a15fb415daff093cbb37db8a6d09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c8d1cf4cc03229b598971467b090058a5a15fb415daff093cbb37db8a6d09b", kill_on_drop: false }` [INFO] [stdout] c4c8d1cf4cc03229b598971467b090058a5a15fb415daff093cbb37db8a6d09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e58cd5d95fc79891be6c3d9214f34a5b5b1a7bbb152d5ca0ae7b7516ccd60139 [INFO] running `Command { std: "docker" "start" "-a" "e58cd5d95fc79891be6c3d9214f34a5b5b1a7bbb152d5ca0ae7b7516ccd60139", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num_cpus v1.16.0 [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 futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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 13.57s [INFO] running `Command { std: "docker" "inspect" "e58cd5d95fc79891be6c3d9214f34a5b5b1a7bbb152d5ca0ae7b7516ccd60139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58cd5d95fc79891be6c3d9214f34a5b5b1a7bbb152d5ca0ae7b7516ccd60139", kill_on_drop: false }` [INFO] [stdout] e58cd5d95fc79891be6c3d9214f34a5b5b1a7bbb152d5ca0ae7b7516ccd60139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8c5a915ceb50b3e69625f8dd6f170d79ff5a433d7c8d5fa98e0bf21dc1ee0762 [INFO] running `Command { std: "docker" "start" "-a" "8c5a915ceb50b3e69625f8dd6f170d79ff5a433d7c8d5fa98e0bf21dc1ee0762", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [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 24.83s [INFO] running `Command { std: "docker" "inspect" "8c5a915ceb50b3e69625f8dd6f170d79ff5a433d7c8d5fa98e0bf21dc1ee0762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5a915ceb50b3e69625f8dd6f170d79ff5a433d7c8d5fa98e0bf21dc1ee0762", kill_on_drop: false }` [INFO] [stdout] 8c5a915ceb50b3e69625f8dd6f170d79ff5a433d7c8d5fa98e0bf21dc1ee0762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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", kill_on_drop: false }` [INFO] [stdout] a5ecadc8658e3eba3d924db63037dea6c6e93fed203e5ff231a52378d663d557 [INFO] running `Command { std: "docker" "start" "-a" "a5ecadc8658e3eba3d924db63037dea6c6e93fed203e5ff231a52378d663d557", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simpl_actor-044f9ee24784f6c0) [INFO] [stderr] Doc-tests simpl_actor [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] [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 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 53 | 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] 55 | 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] 57 | 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] 59 | 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] 44 | #[actor] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 43 + use simpl_actor::actor; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 46 | #[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] 45 | 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] 47 | fn msg(&self) -> Result {} [INFO] [stdout] | ^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 47 - fn msg(&self) -> Result {} [INFO] [stdout] 47 + fn msg(&self) -> Result {} [INFO] [stdout] | [INFO] [stdout] 47 - fn msg(&self) -> Result {} [INFO] [stdout] 47 + 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] 51 | 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] 53 | 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] 43 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 55 | 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] 43 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 55 | 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] 43 + use std::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 55 | 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] 55 - fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] 55 + fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] | [INFO] [stdout] 55 - fn msg_after(&self, delay: Duration) -> JoinHandle, SendError>>; [INFO] [stdout] 55 + 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] 55 | 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] 43 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 57 | 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] 43 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 59 | 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] 43 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 59 | 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] 43 + use std::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 43 + 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] 59 | 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] 43 + use std::sync::mpsc::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use simpl_actor::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + use tokio::sync::broadcast::error::SendError; [INFO] [stdout] | [INFO] [stdout] 43 + 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] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 22 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 22 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 22 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 22 + 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] 22 | 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] 22 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 22 + 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] 25 | pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 25 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 25 + pub fn inc(&mut self, amount: i64) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 25 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 25 + 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] 25 | 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] 25 - pub fn inc(&mut self, amount: i64) { ... } [INFO] [stdout] 25 + 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] 28 | pub fn count(&self) -> i64 { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 28 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 28 + pub fn count(&self) -> i64 { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 28 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 28 + 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] 28 | 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] 28 - pub fn count(&self) -> i64 { ... } [INFO] [stdout] 28 + pub fn count(&self) -> i64 { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `..=` [INFO] [stdout] --> src/lib.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 16 | #[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] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | 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] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 35 | 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] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | 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] 17 | pub struct CounterActor { count: i64 } [INFO] [stdout] | ----------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | 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] [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a5ecadc8658e3eba3d924db63037dea6c6e93fed203e5ff231a52378d663d557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ecadc8658e3eba3d924db63037dea6c6e93fed203e5ff231a52378d663d557", kill_on_drop: false }` [INFO] [stdout] a5ecadc8658e3eba3d924db63037dea6c6e93fed203e5ff231a52378d663d557