[INFO] fetching crate aector 0.1.1... [INFO] checking aector-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate aector 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate aector 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aector 0.1.1 [INFO] finished tweaking crates.io crate aector 0.1.1 [INFO] tweaked toml for crates.io crate aector 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate aector 0.1.1 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6db432e1ffe25c35112729f5052a87eec7faaa80527aa2b2da961bde4913133 [INFO] running `Command { std: "docker" "start" "-a" "c6db432e1ffe25c35112729f5052a87eec7faaa80527aa2b2da961bde4913133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6db432e1ffe25c35112729f5052a87eec7faaa80527aa2b2da961bde4913133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6db432e1ffe25c35112729f5052a87eec7faaa80527aa2b2da961bde4913133", kill_on_drop: false }` [INFO] [stdout] c6db432e1ffe25c35112729f5052a87eec7faaa80527aa2b2da961bde4913133 [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82eee76a196d8a118fc9ad0d399d424a1d4d45e8bc7d0457ee32f537c08cc8e3 [INFO] running `Command { std: "docker" "start" "-a" "82eee76a196d8a118fc9ad0d399d424a1d4d45e8bc7d0457ee32f537c08cc8e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Checking tracing-appender v0.2.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking aector v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `test_state` is never read [INFO] [stdout] --> src/testing/actor_test.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ActorTestBuilder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 221 | test_state: TestActorState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/address.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | tx.send(msg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = tx.send(msg); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/address.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | tx.send(msg).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = tx.send(msg).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type BehaviorAction = Result>, Box>; [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | type HandlerFn = Arc BehaviorAction + Send + Sync>; [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 28 - type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] 28 + type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 30 - type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] 30 + type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | type PlainActorAction = fn(&mut S, &mut ActorContext) -> (); [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | type UserDefinedTellHandlerClosure = Box BehaviorAction + Se... [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 36 - type UserDefinedTellHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] 36 + type UserDefinedTellHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | type UserDefinedAskHandlerClosure = Box BehaviorAction... [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 38 - type UserDefinedAskHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] 38 + type UserDefinedAskHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `test_state` is never read [INFO] [stdout] --> src/testing/actor_test.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ActorTestBuilder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 221 | test_state: TestActorState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/address.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | tx.send(msg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = tx.send(msg); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/address.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | tx.send(msg).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = tx.send(msg).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type BehaviorAction = Result>, Box>; [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | type HandlerFn = Arc BehaviorAction + Send + Sync>; [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 28 - type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] 28 + type UserDefinedAskHandlerFn = fn(M, &mut S, Addr, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 30 - type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] 30 + type UserDefinedTellHandlerFn = fn(M, &mut S, &mut ActorContext) -> BehaviorAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | type PlainActorAction = fn(&mut S, &mut ActorContext) -> (); [INFO] [stdout] | --^^^^---^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | type UserDefinedTellHandlerClosure = Box BehaviorAction + Se... [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 36 - type UserDefinedTellHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] 36 + type UserDefinedTellHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | type UserDefinedAskHandlerClosure = Box BehaviorAction... [INFO] [stdout] | ^^^ ^^^^ ^^^^ ^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 38 - type UserDefinedAskHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] 38 + type UserDefinedAskHandlerClosure = Box BehaviorAction + Send + Sync>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> examples/testing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/memory_sharing_state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> examples/testing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/memory_sharing_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/testing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BunyanFormattingLayer` and `JsonStorageLayer` [INFO] [stdout] --> examples/memory_sharing_state.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_bunyan_formatter::{BunyanFormattingLayer, JsonStorageLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor` and `MailboxType` [INFO] [stdout] --> examples/testing.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use aector::actor::{Actor, MailboxType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::LogTracer` [INFO] [stdout] --> examples/memory_sharing_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_log::LogTracer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `Registry` [INFO] [stdout] --> examples/memory_sharing_state.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing_subscriber::{EnvFilter, Registry}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aector::actor_system::ActorSystem` [INFO] [stdout] --> examples/testing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use aector::actor_system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> examples/memory_sharing_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aector::supervision::strategies::SimpleRestartStrategy` [INFO] [stdout] --> examples/memory_sharing_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use aector::supervision::strategies::SimpleRestartStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorManageMessage`, `BehaviorAction`, `BehaviorBuilder`, `Behavior`, and `StateCheckMessage` [INFO] [stdout] --> examples/testing.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use aector::behavior::{ActorManageMessage, Behavior, BehaviorBuilder, BehaviorAction, StateCheckMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr` and `Message` [INFO] [stdout] --> examples/testing.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use aector::{Addr, Message}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorTestBuilder`, `MessageType`, `Response`, and `TestActor` [INFO] [stdout] --> examples/testing.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use aector::testing::{MessageType, Response, TestActor, ActorTestBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DOWN` and `UP` [INFO] [stdout] --> examples/testing.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Direction::{DOWN, UP}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> examples/testing.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleState` is never constructed [INFO] [stdout] --> examples/testing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct SimpleState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleMessage` is never used [INFO] [stdout] --> examples/testing.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum SimpleMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/memory_sharing_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/memory_sharing_message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BunyanFormattingLayer` and `JsonStorageLayer` [INFO] [stdout] --> examples/memory_sharing_message.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_bunyan_formatter::{BunyanFormattingLayer, JsonStorageLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::LogTracer` [INFO] [stdout] --> examples/memory_sharing_message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_log::LogTracer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `Registry` [INFO] [stdout] --> examples/memory_sharing_message.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing_subscriber::{EnvFilter, Registry}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> examples/memory_sharing_message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aector::supervision::strategies::SimpleRestartStrategy` [INFO] [stdout] --> examples/memory_sharing_message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use aector::supervision::strategies::SimpleRestartStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/ping_pong.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> examples/memory_sharing_state.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | .on_tell::<()>(|msg, state, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/memory_sharing_state.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | .on_tell::<()>(|msg, state, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aector::supervision::strategies::SimpleRestartStrategy` [INFO] [stdout] --> examples/ping_pong.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use aector::supervision::strategies::SimpleRestartStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/memory_sharing_state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut behavior = BehaviorBuilder::new() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/memory_sharing_message.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | .on_tell::(|msg, state, ctx| -> BehaviorAction<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/memory_sharing_message.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut behavior = BehaviorBuilder::new() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/ping_pong.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ping_pong.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut behavior1 = BehaviorBuilder::new() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ping_pong.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut actor1 = Actor::new(PingPong {}, behavior1, MailboxType::Unbounded); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ping_pong.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut actor2 = Actor::new(PingPong {}, behavior2, MailboxType::Unbounded); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ping_pong.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut actor_sys = ActorSystem::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | .on_start(|state, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/memory_sharing_state.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | actor_sys.spawn(actor, "actor".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = actor_sys.spawn(actor, "actor".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/large_example.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | .on_start(|state, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> examples/large_example.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | .on_tell::(|msg, state, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | .on_tell::(|msg, state, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/large_example.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | .on_tell::(|msg, state, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> examples/large_example.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> examples/large_example.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/large_example.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> examples/large_example.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | .on_ask::(|msg, state, sender, ctx| -> BehaviorAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | .on_tell::(|msg, state, ctx| -> BehaviorAction> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/large_example.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | .on_tell::(|msg, state, ctx| -> BehaviorAction> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> examples/large_example.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .on_kill(|state, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/large_example.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .on_kill(|state, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/ping_pong.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | actor_sys.spawn(actor1, "a1".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = actor_sys.spawn(actor1, "a1".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/ping_pong.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | actor_sys.spawn(actor2, "a2".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = actor_sys.spawn(actor2, "a2".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/memory_sharing_message.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | actor_sys.spawn(actor, "actor".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = actor_sys.spawn(actor, "actor".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut behavior = BehaviorBuilder::new() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut state = MyState { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut my_actor = Actor::new(state, behavior, MailboxType::Unbounded); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut state2 = MyState { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut my_actor2 = Actor::new(state2, behavior2, MailboxType::Unbounded); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/large_example.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let mut actor_sys = ActorSystem::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simple` is never constructed [INFO] [stdout] --> examples/large_example.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | struct Simple {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Beep` is never used [INFO] [stdout] --> examples/large_example.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | enum Beep { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pong` is never constructed [INFO] [stdout] --> examples/large_example.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | enum Ball { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 41 | Ping, [INFO] [stdout] 42 | Pong [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ball` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/large_example.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ctx.spawn(Actor::new(Some(3), BehaviorBuilder::new() [INFO] [stdout] 109 | | .on_tell::(|msg, state, ctx| -> BehaviorAction> { [INFO] [stdout] 110 | | println!("TEST: received {}", msg); [INFO] [stdout] 111 | | Behavior::keep() [INFO] [stdout] 112 | | }) [INFO] [stdout] 113 | | .build(), MailboxType::Unbounded), "test".to_owned()); [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = ctx.spawn(Actor::new(Some(3), BehaviorBuilder::new() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/large_example.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | actor_sys.spawn_with_supervision(my_actor, SimpleRestartStrategy::new(), "a0".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = actor_sys.spawn_with_supervision(my_actor, SimpleRestartStrategy::new(), "a0".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/large_example.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | actor_sys.spawn_with_supervision(my_actor2, SimpleRestartStrategy::new(), "a1".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = actor_sys.spawn_with_supervision(my_actor2, SimpleRestartStrategy::new(), "a1".to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.54s [INFO] running `Command { std: "docker" "inspect" "82eee76a196d8a118fc9ad0d399d424a1d4d45e8bc7d0457ee32f537c08cc8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82eee76a196d8a118fc9ad0d399d424a1d4d45e8bc7d0457ee32f537c08cc8e3", kill_on_drop: false }` [INFO] [stdout] 82eee76a196d8a118fc9ad0d399d424a1d4d45e8bc7d0457ee32f537c08cc8e3