[INFO] cloning repository https://github.com/tqwewe/simpl_actor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tqwewe/simpl_actor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqwewe%2Fsimpl_actor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqwewe%2Fsimpl_actor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39f4c0d14125299cffe0cd49491166e563a94c1c [INFO] testing tqwewe/simpl_actor against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqwewe%2Fsimpl_actor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqwewe/simpl_actor on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tqwewe/simpl_actor [INFO] finished tweaking git repo https://github.com/tqwewe/simpl_actor [INFO] tweaked toml for git repo https://github.com/tqwewe/simpl_actor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50973a1084af2729cb0c8d0c2630ef3e1a01134272a68cd6b17b8bf220580b8b [INFO] running `Command { std: "docker" "start" "-a" "50973a1084af2729cb0c8d0c2630ef3e1a01134272a68cd6b17b8bf220580b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50973a1084af2729cb0c8d0c2630ef3e1a01134272a68cd6b17b8bf220580b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50973a1084af2729cb0c8d0c2630ef3e1a01134272a68cd6b17b8bf220580b8b", kill_on_drop: false }` [INFO] [stdout] 50973a1084af2729cb0c8d0c2630ef3e1a01134272a68cd6b17b8bf220580b8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae74e550a6f517ecc239d8b2cb0c3ac5621a2e370ce41fe82649f03f286558e [INFO] running `Command { std: "docker" "start" "-a" "8ae74e550a6f517ecc239d8b2cb0c3ac5621a2e370ce41fe82649f03f286558e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling simpl_actor_macros v0.2.7 (/opt/rustwide/workdir/crates/simpl_actor_macros) [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling simpl_actor v0.2.7 (/opt/rustwide/workdir/crates/simpl_actor) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.42s [INFO] running `Command { std: "docker" "inspect" "8ae74e550a6f517ecc239d8b2cb0c3ac5621a2e370ce41fe82649f03f286558e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae74e550a6f517ecc239d8b2cb0c3ac5621a2e370ce41fe82649f03f286558e", kill_on_drop: false }` [INFO] [stdout] 8ae74e550a6f517ecc239d8b2cb0c3ac5621a2e370ce41fe82649f03f286558e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce490a9abd731a3cb8f509103a6a53c79398766c72d19860d10a30cc5d89e566 [INFO] running `Command { std: "docker" "start" "-a" "ce490a9abd731a3cb8f509103a6a53c79398766c72d19860d10a30cc5d89e566", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling simpl_actor_macros v0.2.7 (/opt/rustwide/workdir/crates/simpl_actor_macros) [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling simpl_actor v0.2.7 (/opt/rustwide/workdir/crates/simpl_actor) [INFO] [stderr] Compiling regex v1.11.1 [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 53.72s [INFO] running `Command { std: "docker" "inspect" "ce490a9abd731a3cb8f509103a6a53c79398766c72d19860d10a30cc5d89e566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce490a9abd731a3cb8f509103a6a53c79398766c72d19860d10a30cc5d89e566", kill_on_drop: false }` [INFO] [stdout] ce490a9abd731a3cb8f509103a6a53c79398766c72d19860d10a30cc5d89e566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b0f4fedded4b399a17c381df6ca736c5048dad8a0008bbfea7a6842ea580997 [INFO] running `Command { std: "docker" "start" "-a" "8b0f4fedded4b399a17c381df6ca736c5048dad8a0008bbfea7a6842ea580997", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simpl_actor-8573923370c57753) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simpl_actor_macros-31d036abe7a5582a) [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 crates/simpl_actor/src/actor_ref.rs - actor_ref::ActorRef::wait_for_stop (line 84) ... ignored [INFO] [stdout] test crates/simpl_actor/src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test crates/simpl_actor/src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- crates/simpl_actor/src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 6 | fn msg(&self) -> Result {} [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyActorRef` in this scope [INFO] [stdout] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] | ~~~~~~~~~~~~~~~~~~~~ [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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] ---- crates/simpl_actor/src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> crates/simpl_actor/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] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 19 | pub fn count(&self) -> i64 { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/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] --> crates/simpl_actor/src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_simpl_actor_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] --> crates/simpl_actor/src/lib.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_simpl_actor_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] --> crates/simpl_actor/src/lib.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_crates_simpl_actor_src_lib_rs_12_0() { [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] --> crates/simpl_actor/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] [INFO] [stdout] failures: [INFO] [stdout] crates/simpl_actor/src/lib.rs - (line 12) [INFO] [stdout] crates/simpl_actor/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.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p simpl_actor --doc` [INFO] running `Command { std: "docker" "inspect" "8b0f4fedded4b399a17c381df6ca736c5048dad8a0008bbfea7a6842ea580997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0f4fedded4b399a17c381df6ca736c5048dad8a0008bbfea7a6842ea580997", kill_on_drop: false }` [INFO] [stdout] 8b0f4fedded4b399a17c381df6ca736c5048dad8a0008bbfea7a6842ea580997