[INFO] cloning repository https://github.com/EnvOut/uactor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EnvOut/uactor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnvOut%2Fuactor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnvOut%2Fuactor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21699118a03cf3cb837d8b07abe5a3758f797a03 [INFO] checking EnvOut/uactor against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnvOut%2Fuactor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EnvOut/uactor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EnvOut/uactor [INFO] finished tweaking git repo https://github.com/EnvOut/uactor [INFO] tweaked toml for git repo https://github.com/EnvOut/uactor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EnvOut/uactor 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.32 [INFO] [stderr] Downloaded actix v0.13.2 [INFO] [stderr] Downloaded tokactor v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5ec08939fa2c66f801cd41b7c6692337ee1513112c2828ddea3313c03bfe317 [INFO] running `Command { std: "docker" "start" "-a" "f5ec08939fa2c66f801cd41b7c6692337ee1513112c2828ddea3313c03bfe317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5ec08939fa2c66f801cd41b7c6692337ee1513112c2828ddea3313c03bfe317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ec08939fa2c66f801cd41b7c6692337ee1513112c2828ddea3313c03bfe317", kill_on_drop: false }` [INFO] [stdout] f5ec08939fa2c66f801cd41b7c6692337ee1513112c2828ddea3313c03bfe317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c9cf10dc21f4290ab205573b398d25f40d522d7305b3288b5d1f7ff4ba4ed06 [INFO] running `Command { std: "docker" "start" "-a" "9c9cf10dc21f4290ab205573b398d25f40d522d7305b3288b5d1f7ff4ba4ed06", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking time v0.3.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking uactor v0.8.1 (/opt/rustwide/workdir/src/uactor) [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokactor v2.1.0 [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/uactor/src/actor.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::{ActorContext, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::MessageSender` [INFO] [stdout] --> src/uactor/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::MessageSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataPublisher`, `TryClone` [INFO] [stdout] --> src/uactor/src/context.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/uactor/src/context.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::system::{System, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/src/context.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/uactor/src/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let (supervisor) = found_actors.remove(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - let (supervisor) = found_actors.remove(0); [INFO] [stdout] 88 + let supervisor = found_actors.remove(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/uactor/src/select.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextInitializationError`, `ContextResult`, `Context` [INFO] [stdout] --> src/uactor/src/system.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{ActorContext, Context, ContextInitializationError, ContextResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/uactor/src/actor.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::{ActorContext, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::MessageSender` [INFO] [stdout] --> src/uactor/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::MessageSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataPublisher`, `TryClone` [INFO] [stdout] --> src/uactor/src/context.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/uactor/src/context.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::system::{System, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/src/context.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/uactor/src/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let (supervisor) = found_actors.remove(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - let (supervisor) = found_actors.remove(0); [INFO] [stdout] 88 + let supervisor = found_actors.remove(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/uactor/src/select.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextInitializationError`, `ContextResult`, `Context` [INFO] [stdout] --> src/uactor/src/system.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{ActorContext, Context, ContextInitializationError, ContextResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actix v0.13.2 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio_play v0.1.0 (/opt/rustwide/workdir/experiments/tokio_play) [INFO] [stderr] Checking toactor_play v0.1.0 (/opt/rustwide/workdir/experiments/toactor_play) [INFO] [stderr] Checking actix-mpv v0.1.0 (/opt/rustwide/workdir/experiments/actix-mpv) [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/uactor/src/system.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> src/uactor/src/context.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn on_die(&mut self, actor_name: Arc) -> ContextResult<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/uactor/src/system.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> src/uactor/src/context.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn on_die(&mut self, actor_name: Arc) -> ContextResult<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/uactor/src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SupervisedContext where T: MessageSender { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 52 | pub alive: bool, [INFO] [stdout] 53 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn pre_start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn pre_start( [INFO] [stdout] 18 | &mut self, [INFO] [stdout] 19 | state: &mut Self::Inject, [INFO] [stdout] 20 | ctx: &mut Self::Context, [INFO] [stdout] 21 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] 23 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/uactor/src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SupervisedContext where T: MessageSender { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 52 | pub alive: bool, [INFO] [stdout] 53 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] 75 + fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] 20 + fn create(system: &mut System) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/di.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn inject(system: &System) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn inject(system: &System) -> Result [INFO] [stdout] 35 + fn inject(system: &System) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn pre_start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn pre_start( [INFO] [stdout] 18 | &mut self, [INFO] [stdout] 19 | state: &mut Self::Inject, [INFO] [stdout] 20 | ctx: &mut Self::Context, [INFO] [stdout] 21 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] 23 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] 75 + fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] 20 + fn create(system: &mut System) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/di.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn inject(system: &System) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn inject(system: &System) -> Result [INFO] [stdout] 35 + fn inject(system: &System) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::util::SubscriberInitExt` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::util::SubscriberInitExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PongMsg` [INFO] [stdout] --> src/uactor/examples/single_channel_actor.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::messages::{PingMsg, PongMsg}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::writer::MakeWriterExt` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing_subscriber::fmt::writer::MakeWriterExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uactor::select::ActorSelect` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use uactor::select::ActorSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:74:97 [INFO] [stdout] | [INFO] [stdout] 74 | async fn handle(&mut self, Services { service1, .. }: &mut Self::Inject, ping: PingMsg, ctx: &mut Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Shl` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Shl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:86:110 [INFO] [stdout] | [INFO] [stdout] 86 | ...ject, msg: MessageWithoutReply, ctx: &mut Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/uactor/examples/interval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageSender` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | use uactor::actor::{Actor, Handler, HandleResult, MessageSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisherResult` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | async fn handle(&mut self, _: &mut Self::Inject, msg: PingPongMsg, ctx: &mut Self::Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/uactor/examples/interval.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | ... async fn handle(&mut self, _: &mut Self::Inject, IntervalMessage { time: _, duration }: IntervalMessage, _: &mut Context) -> Handle... [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:62:71 [INFO] [stdout] | [INFO] [stdout] 62 | async fn handle(&mut self, _: &mut Self::Inject, msg: ReqMsg, ctx: &mut Self::Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/uactor/examples/interval.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut actor1_ref, _) = uactor::spawn_with_ref!(system, actor1: Actor1, interval); [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 import: `MessageSender` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | use uactor::actor::{Actor, Handler, HandleResult, MessageSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryClone` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong1` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let pong1 = actor1_ref [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pong1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PrintMessage(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PrintMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PrintMessage(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.77s [INFO] running `Command { std: "docker" "inspect" "9c9cf10dc21f4290ab205573b398d25f40d522d7305b3288b5d1f7ff4ba4ed06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9cf10dc21f4290ab205573b398d25f40d522d7305b3288b5d1f7ff4ba4ed06", kill_on_drop: false }` [INFO] [stdout] 9c9cf10dc21f4290ab205573b398d25f40d522d7305b3288b5d1f7ff4ba4ed06 [INFO] checking EnvOut/uactor against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnvOut%2Fuactor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EnvOut/uactor on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EnvOut/uactor [INFO] finished tweaking git repo https://github.com/EnvOut/uactor [INFO] tweaked toml for git repo https://github.com/EnvOut/uactor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EnvOut/uactor 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b4fd539905ad8d1905da0361b2b8b8df1815d071b396b894a9167490dff23e6 [INFO] running `Command { std: "docker" "start" "-a" "6b4fd539905ad8d1905da0361b2b8b8df1815d071b396b894a9167490dff23e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b4fd539905ad8d1905da0361b2b8b8df1815d071b396b894a9167490dff23e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4fd539905ad8d1905da0361b2b8b8df1815d071b396b894a9167490dff23e6", kill_on_drop: false }` [INFO] [stdout] 6b4fd539905ad8d1905da0361b2b8b8df1815d071b396b894a9167490dff23e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e7100bf53536f562d93f5a32db4c32fb6fd7777ca5325b1640a3181daadce5 [INFO] running `Command { std: "docker" "start" "-a" "d3e7100bf53536f562d93f5a32db4c32fb6fd7777ca5325b1640a3181daadce5", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking time v0.3.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking uactor v0.8.1 (/opt/rustwide/workdir/src/uactor) [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokactor v2.1.0 [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/uactor/src/actor.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::{ActorContext, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::MessageSender` [INFO] [stdout] --> src/uactor/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::MessageSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataPublisher`, `TryClone` [INFO] [stdout] --> src/uactor/src/context.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/uactor/src/context.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::system::{System, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/src/context.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/uactor/src/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let (supervisor) = found_actors.remove(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - let (supervisor) = found_actors.remove(0); [INFO] [stdout] 88 + let supervisor = found_actors.remove(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/uactor/src/select.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextInitializationError`, `ContextResult`, `Context` [INFO] [stdout] --> src/uactor/src/system.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{ActorContext, Context, ContextInitializationError, ContextResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/uactor/src/actor.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::{ActorContext, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::MessageSender` [INFO] [stdout] --> src/uactor/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::MessageSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataPublisher`, `TryClone` [INFO] [stdout] --> src/uactor/src/context.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/uactor/src/context.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::system::{System, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/src/context.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::data_publisher::{DataPublisher, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/uactor/src/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let (supervisor) = found_actors.remove(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - let (supervisor) = found_actors.remove(0); [INFO] [stdout] 88 + let supervisor = found_actors.remove(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/uactor/src/select.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextInitializationError`, `ContextResult`, `Context` [INFO] [stdout] --> src/uactor/src/system.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::{ActorContext, Context, ContextInitializationError, ContextResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking actix v0.13.2 [INFO] [stderr] Checking toactor_play v0.1.0 (/opt/rustwide/workdir/experiments/toactor_play) [INFO] [stderr] Checking tokio_play v0.1.0 (/opt/rustwide/workdir/experiments/tokio_play) [INFO] [stderr] Checking actix-mpv v0.1.0 (/opt/rustwide/workdir/experiments/actix-mpv) [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/uactor/src/system.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> src/uactor/src/context.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn on_die(&mut self, actor_name: Arc) -> ContextResult<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/uactor/src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SupervisedContext where T: MessageSender { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 52 | pub alive: bool, [INFO] [stdout] 53 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn pre_start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn pre_start( [INFO] [stdout] 18 | &mut self, [INFO] [stdout] 19 | state: &mut Self::Inject, [INFO] [stdout] 20 | ctx: &mut Self::Context, [INFO] [stdout] 21 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] 23 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] 75 + fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] 20 + fn create(system: &mut System) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/di.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn inject(system: &System) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn inject(system: &System) -> Result [INFO] [stdout] 35 + fn inject(system: &System) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/uactor/src/system.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> src/uactor/src/context.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn on_die(&mut self, actor_name: Arc) -> ContextResult<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/uactor/src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SupervisedContext where T: MessageSender { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 52 | pub alive: bool, [INFO] [stdout] 53 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn pre_start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn pre_start( [INFO] [stdout] 18 | &mut self, [INFO] [stdout] 19 | state: &mut Self::Inject, [INFO] [stdout] 20 | ctx: &mut Self::Context, [INFO] [stdout] 21 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] 23 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/actor.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> Result; [INFO] [stdout] 75 + fn ask(&self, f: impl FnOnce(tokio::sync::oneshot::Sender) -> M) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn create(system: &mut System) -> ContextInitializationError; [INFO] [stdout] 20 + fn create(system: &mut System) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/uactor/src/di.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn inject(system: &System) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn inject(system: &System) -> Result [INFO] [stdout] 35 + fn inject(system: &System) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PongMsg` [INFO] [stdout] --> src/uactor/examples/single_channel_actor.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::messages::{PingMsg, PongMsg}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/uactor/examples/interval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::util::SubscriberInitExt` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::util::SubscriberInitExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::writer::MakeWriterExt` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing_subscriber::fmt::writer::MakeWriterExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uactor::select::ActorSelect` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use uactor::select::ActorSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Shl` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Shl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageSender` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | use uactor::actor::{Actor, Handler, HandleResult, MessageSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisherResult` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/uactor/examples/interval.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | ... async fn handle(&mut self, _: &mut Self::Inject, IntervalMessage { time: _, duration }: IntervalMessage, _: &mut Context) -> Handle... [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:74:97 [INFO] [stdout] | [INFO] [stdout] 74 | async fn handle(&mut self, Services { service1, .. }: &mut Self::Inject, ping: PingMsg, ctx: &mut Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | async fn handle(&mut self, _: &mut Self::Inject, msg: PingPongMsg, ctx: &mut Self::Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:86:110 [INFO] [stdout] | [INFO] [stdout] 86 | ...ject, msg: MessageWithoutReply, ctx: &mut Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/uactor/examples/base_sample.rs:62:71 [INFO] [stdout] | [INFO] [stdout] 62 | async fn handle(&mut self, _: &mut Self::Inject, msg: ReqMsg, ctx: &mut Self::Context) -> HandleResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/uactor/examples/interval.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut actor1_ref, _) = uactor::spawn_with_ref!(system, actor1: Actor1, interval); [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 import: `MessageSender` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | use uactor::actor::{Actor, Handler, HandleResult, MessageSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryClone` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataPublisher` [INFO] [stdout] --> src/uactor/examples/supervised_actor.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | use uactor::data_publisher::{DataPublisher, DataPublisherResult, TryClone}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong1` [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let pong1 = actor1_ref [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pong1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/uactor/examples/dependency_injection.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PrintMessage(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PrintMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PrintMessage(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.40s [INFO] running `Command { std: "docker" "inspect" "d3e7100bf53536f562d93f5a32db4c32fb6fd7777ca5325b1640a3181daadce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e7100bf53536f562d93f5a32db4c32fb6fd7777ca5325b1640a3181daadce5", kill_on_drop: false }` [INFO] [stdout] d3e7100bf53536f562d93f5a32db4c32fb6fd7777ca5325b1640a3181daadce5