[INFO] fetching crate coerce 0.8.11... [INFO] testing coerce-0.8.11 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate coerce 0.8.11 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate coerce 0.8.11 [INFO] finished tweaking crates.io crate coerce 0.8.11 [INFO] tweaked toml for crates.io crate coerce 0.8.11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coerce 0.8.11 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 218 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding hashbrown v0.13.1 (available: v0.13.2) [INFO] [stderr] Adding metrics v0.21.1 (available: v0.24.2) [INFO] [stderr] Adding metrics-exporter-prometheus v0.12.2 (available: v0.17.2) [INFO] [stderr] Adding metrics-util v0.15.1 (available: v0.20.0) [INFO] [stderr] Adding protobuf v3.2.0 (available: v3.7.2) [INFO] [stderr] Adding protobuf-support v3.2.0 (available: v3.7.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding utoipa v3.5.0 (available: v5.4.0) [INFO] [stderr] Adding utoipa-swagger-ui v3.1.5 (available: v9.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4317edae9b64e90b0dc5f37c1f635fc8cb1d2fe714901d3f876b55065a8f8db7 [INFO] running `Command { std: "docker" "start" "-a" "4317edae9b64e90b0dc5f37c1f635fc8cb1d2fe714901d3f876b55065a8f8db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4317edae9b64e90b0dc5f37c1f635fc8cb1d2fe714901d3f876b55065a8f8db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4317edae9b64e90b0dc5f37c1f635fc8cb1d2fe714901d3f876b55065a8f8db7", kill_on_drop: false }` [INFO] [stdout] 4317edae9b64e90b0dc5f37c1f635fc8cb1d2fe714901d3f876b55065a8f8db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b1a1364a237000ee1ef308bd7bba3f2525baabf3efb0d89d11ee9a5994d77b [INFO] running `Command { std: "docker" "start" "-a" "70b1a1364a237000ee1ef308bd7bba3f2525baabf3efb0d89d11ee9a5994d77b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling valuable v0.1.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling valuable-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling coerce v0.8.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::actor::describe::Describe` [INFO] [stdout] --> src/actor/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::actor::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Status` and `Stop` [INFO] [stdout] --> src/actor/mod.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | use crate::actor::lifecycle::{Status, Stop}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorMessage`, `Exec`, `MessageHandler`, `MessageUnwrapErr`, and `MessageWrapErr` [INFO] [stdout] --> src/actor/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ActorMessage, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, MessageWrapErr, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::metrics::ActorMetrics` [INFO] [stdout] --> src/actor/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::actor::metrics::ActorMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::supervised::Terminated` [INFO] [stdout] --> src/actor/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use crate::actor::supervised::Terminated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/actor/mod.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc::UnboundedSender` [INFO] [stdout] --> src/actor/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/actor/mod.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actor/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields`, `NamedValues`, `StructDef`, `Structable`, `Valuable`, `Value`, and `Visit` [INFO] [stdout] --> src/actor/context.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use valuable::{Fields, NamedField, NamedValues, StructDef, Structable, Valuable, Value, Visit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxedActorRef` [INFO] [stdout] --> src/actor/watch/watchers.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::{ActorId, BoxedActorRef, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Instrument` [INFO] [stdout] --> src/actor/lifecycle.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `valuable::Valuable` [INFO] [stdout] --> src/actor/lifecycle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use valuable::Valuable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Envelope` [INFO] [stdout] --> src/actor/refs/mod.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ActorMessage, Envelope, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/actor/refs/mod.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | (self as (&dyn Debug)).fmt(f) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - (self as (&dyn Debug)).fmt(f) [INFO] [stdout] 84 + (self as &dyn Debug ).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/mod.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/actor/mod.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/actor/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/actor/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/actor/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CoreActorRef` [INFO] [stdout] --> src/actor/lifecycle.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::actor::{Actor, ActorId, BoxedActorRef, CoreActorRef, LocalActorRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/actor/lifecycle.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let log = ctx.log(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn incr_actor_created(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn incr_actor_stopped(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | actor_type: &'static str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | msg_type: &'static str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | wait_time: Duration, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processing_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | processing_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processing_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actor/refs/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 174 | Ref::Local(local_ref) => local_ref, [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] 175 | _ => panic!("ActorRef does not contain a local ref"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARGO_PKG_VERSION` is never used [INFO] [stdout] --> src/lib.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOG_CONTEXT_FIELDS` is never used [INFO] [stdout] --> src/actor/context.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | static LOG_CONTEXT_FIELDS: &[NamedField<'static>] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Notify` is never constructed [INFO] [stdout] --> src/actor/scheduler/timer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum TimerMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Notify, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.07s [INFO] running `Command { std: "docker" "inspect" "70b1a1364a237000ee1ef308bd7bba3f2525baabf3efb0d89d11ee9a5994d77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b1a1364a237000ee1ef308bd7bba3f2525baabf3efb0d89d11ee9a5994d77b", kill_on_drop: false }` [INFO] [stdout] 70b1a1364a237000ee1ef308bd7bba3f2525baabf3efb0d89d11ee9a5994d77b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 942fa465ccc3822b72a0701a71e6abc0eb13b7c0776124748e11ef4ab57359cd [INFO] running `Command { std: "docker" "start" "-a" "942fa465ccc3822b72a0701a71e6abc0eb13b7c0776124748e11ef4ab57359cd", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling coerce v0.8.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::actor::describe::Describe` [INFO] [stdout] --> src/actor/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::actor::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Status` and `Stop` [INFO] [stdout] --> src/actor/mod.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | use crate::actor::lifecycle::{Status, Stop}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorMessage`, `Exec`, `MessageHandler`, `MessageUnwrapErr`, and `MessageWrapErr` [INFO] [stdout] --> src/actor/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ActorMessage, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, MessageWrapErr, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::metrics::ActorMetrics` [INFO] [stdout] --> src/actor/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::actor::metrics::ActorMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::supervised::Terminated` [INFO] [stdout] --> src/actor/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use crate::actor::supervised::Terminated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/actor/mod.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc::UnboundedSender` [INFO] [stdout] --> src/actor/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/actor/mod.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actor/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields`, `NamedValues`, `StructDef`, `Structable`, `Valuable`, `Value`, and `Visit` [INFO] [stdout] --> src/actor/context.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use valuable::{Fields, NamedField, NamedValues, StructDef, Structable, Valuable, Value, Visit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxedActorRef` [INFO] [stdout] --> src/actor/watch/watchers.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::{ActorId, BoxedActorRef, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Instrument` [INFO] [stdout] --> src/actor/lifecycle.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `valuable::Valuable` [INFO] [stdout] --> src/actor/lifecycle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use valuable::Valuable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Envelope` [INFO] [stdout] --> src/actor/refs/mod.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ActorMessage, Envelope, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/actor/refs/mod.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | (self as (&dyn Debug)).fmt(f) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - (self as (&dyn Debug)).fmt(f) [INFO] [stdout] 84 + (self as &dyn Debug ).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/mod.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/actor/mod.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/actor/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/actor/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/actor/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CoreActorRef` [INFO] [stdout] --> src/actor/lifecycle.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::actor::{Actor, ActorId, BoxedActorRef, CoreActorRef, LocalActorRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/actor/lifecycle.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let log = ctx.log(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn incr_actor_created(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn incr_actor_stopped(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | actor_type: &'static str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | msg_type: &'static str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | wait_time: Duration, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processing_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | processing_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processing_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actor/refs/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 174 | Ref::Local(local_ref) => local_ref, [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] 175 | _ => panic!("ActorRef does not contain a local ref"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARGO_PKG_VERSION` is never used [INFO] [stdout] --> src/lib.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOG_CONTEXT_FIELDS` is never used [INFO] [stdout] --> src/actor/context.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | static LOG_CONTEXT_FIELDS: &[NamedField<'static>] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Notify` is never constructed [INFO] [stdout] --> src/actor/scheduler/timer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum TimerMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Notify, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling coerce-macros v0.2.0 [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_timer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_actor_err.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use coerce::remote::system::builder::RemoteSystemConfigBuilder; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coerce::remote` [INFO] [stdout] --> tests/test_remote_actor_err.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use coerce::remote::RemoteActorRef; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_pubsub.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use coerce::remote::net::StreamData; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_pubsub.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use coerce::remote::stream::pubsub::{PubSub, Receive, Subscription, Topic}; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_pubsub.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use coerce::remote::system::RemoteActorSystem; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_actor_creation.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use coerce::remote::system::{RemoteActorErr, RemoteActorSystem}; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `protobuf` [INFO] [stdout] --> tests/test_remote_actor_creation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `protobuf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `protobuf`, use `cargo add protobuf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_pubsub.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_cluster_node` in module `util` [INFO] [stdout] --> tests/test_remote_actor_err.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let node_1 = util::create_cluster_node(1, "localhost:30101", None, |handlers| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/util/mod.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 128 | pub async fn create_cluster_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_cluster_node` in module `util` [INFO] [stdout] --> tests/test_remote_actor_err.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | util::create_cluster_node(2, "localhost:30201", Some("localhost:30101"), |handlers| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/util/mod.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 128 | pub async fn create_cluster_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_actor_err.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `persistent` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use coerce::persistent::journal::provider::inmemory::InMemoryStorageProvider; [INFO] [stdout] | ^^^^^^^^^^ could not find `persistent` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(feature = "persistence")] [INFO] [stdout] | ----------------------- the item is gated behind the `persistence` feature [INFO] [stdout] 175 | pub mod persistent; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use coerce::remote::api::builder::HttpApiBuilder; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use coerce::remote::api::cluster::ClusterApi; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use coerce::remote::api::sharding::ShardingApi; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use coerce::remote::net::server::RemoteServer; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_api.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use coerce::remote::system::RemoteActorSystem; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coerce::persistent` [INFO] [stdout] --> tests/test_remote_api.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::persistent::Persistence; [INFO] [stdout] | ^^^^^^^^^^ could not find `persistent` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(feature = "persistence")] [INFO] [stdout] | ----------------------- the item is gated behind the `persistence` feature [INFO] [stdout] 175 | pub mod persistent; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coerce::sharding` [INFO] [stdout] --> tests/test_remote_api.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use coerce::sharding::Sharding; [INFO] [stdout] | ^^^^^^^^ could not find `sharding` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(feature = "sharding")] [INFO] [stdout] | -------------------- the item is gated behind the `sharding` feature [INFO] [stdout] 181 | pub mod sharding; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_api.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_api.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coerce` (test "test_remote_pubsub") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `persistent` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use coerce::persistent::journal::provider::inmemory::InMemoryStorageProvider; [INFO] [stdout] | ^^^^^^^^^^ could not find `persistent` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(feature = "persistence")] [INFO] [stdout] | ----------------------- the item is gated behind the `persistence` feature [INFO] [stdout] 175 | pub mod persistent; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sharding` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use coerce::sharding::coordinator::{ShardCoordinator, ShardHostState, ShardHostStatus}; [INFO] [stdout] | ^^^^^^^^ could not find `sharding` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(feature = "sharding")] [INFO] [stdout] | -------------------- the item is gated behind the `sharding` feature [INFO] [stdout] 181 | pub mod sharding; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sharding` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use coerce::sharding::host::ShardHost; [INFO] [stdout] | ^^^^^^^^ could not find `sharding` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(feature = "sharding")] [INFO] [stdout] | -------------------- the item is gated behind the `sharding` feature [INFO] [stdout] 181 | pub mod sharding; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coerce::persistent` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use coerce::persistent::Persistence; [INFO] [stdout] | ^^^^^^^^^^ could not find `persistent` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(feature = "persistence")] [INFO] [stdout] | ----------------------- the item is gated behind the `persistence` feature [INFO] [stdout] 175 | pub mod persistent; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use coerce::remote::heartbeat::HeartbeatConfig; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use coerce::remote::net::server::RemoteServer; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `coerce` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use coerce::remote::system::{NodeId, RemoteActorSystem}; [INFO] [stdout] | ^^^^^^ could not find `remote` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(feature = "remote")] [INFO] [stdout] | ------------------ the item is gated behind the `remote` feature [INFO] [stdout] 178 | pub mod remote; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coerce::sharding` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use coerce::sharding::Sharding; [INFO] [stdout] | ^^^^^^^^ could not find `sharding` in `coerce` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(feature = "sharding")] [INFO] [stdout] | -------------------- the item is gated behind the `sharding` feature [INFO] [stdout] 181 | pub mod sharding; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::describe::DescribeAll` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use coerce::actor::describe::DescribeAll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::describe::DescribeOptions` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use coerce::actor::describe::DescribeOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::system::ActorSystem` [INFO] [stdout] --> tests/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coerce::actor::system::ActorSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | .with_actors(|builder| builder.with_actor::(TestActorFactory {})) [INFO] [stdout] | ^^^^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | .with_actors(|builder: /* Type */| builder.with_actor::(TestActorFactory {})) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let remote = RemoteActorSystem::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | remote [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remote` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let remote: /* Type */ = RemoteActorSystem::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let remote_b = RemoteActorSystem::builder() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | remote_b [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remote_b` an explicit type [INFO] [stdout] | [INFO] [stdout] 68 | let remote_b: /* Type */ = RemoteActorSystem::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let deployment_result = remote_b [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | assert_eq!(deployment_result.is_ok(), true); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `deployment_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 94 | let deployment_result: /* Type */ = remote_b [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | .with_actors(|builder| builder.with_actor::(factory)) [INFO] [stdout] | ^^^^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | .with_actors(|builder: /* Type */| builder.with_actor::(factory)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let remote = RemoteActorSystem::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | let result = remote [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remote` an explicit type [INFO] [stdout] | [INFO] [stdout] 113 | let remote: /* Type */ = RemoteActorSystem::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let result = remote [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | let create_actor_res = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let result: /* Type */ = remote [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let actor = remote [INFO] [stdout] | _________________^ [INFO] [stdout] 141 | | .actor_system() [INFO] [stdout] 142 | | .get_tracked_actor::(actor_id.clone()) [INFO] [stdout] 143 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let actor_name = actor.exec(|a| a.name.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let duplicate = remote [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(Some(RemoteActorErr::ActorExists), duplicate.err()); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `duplicate` an explicit type [INFO] [stdout] | [INFO] [stdout] 128 | let duplicate: /* Type */ = remote [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_creation.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let node = remote.locate_actor_node(actor_id.clone()).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | assert_eq!(node.unwrap(), remote.node_id()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `node` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let node: /* Type */ = remote.locate_actor_node(actor_id.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_err.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let node_1 = util::create_cluster_node(1, "localhost:30101", None, |handlers| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | let local_ref = node_1 [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `node_1` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let node_1: /* Type */ = util::create_cluster_node(1, "localhost:30101", None, |handlers| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_err.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let local_ref = node_1 [INFO] [stdout] | _____________________^ [INFO] [stdout] 51 | | .actor_system() [INFO] [stdout] 52 | | .new_actor(actor_id.clone(), TestActor::new(), Tracked) [INFO] [stdout] 53 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_actor_err.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let node_2 = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | node_2.clone(), [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `node_2` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let node_2: /* Type */ = [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_persistent` found for struct `ActorSystem` in the current scope [INFO] [stdout] --> tests/test_remote_api.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | let sys = ActorSystem::new().to_persistent(persistence); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ActorSystem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_api.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | .with_actors(|a| { [INFO] [stdout] | ^ [INFO] [stdout] 66 | a.with_actor(TestActorFactory {}) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | .with_actors(|a: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_api.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let remote = RemoteActorSystem::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | let server = remote [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remote` an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let remote: /* Type */ = RemoteActorSystem::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let shard_coordinator = shard_coordinator [INFO] [stdout] | _____________________________^ [INFO] [stdout] 91 | | .into_actor(Some("ShardCoordinator".to_string()), remote.actor_system()) [INFO] [stdout] 92 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> tests/test_actor_messaging.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/test_remote_api.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let (remote, _server) = create_system(persistence).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | let sharding = Sharding::::builder(remote.clone()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 85 | let (remote, _server): (_, _) = create_system(persistence).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_persistent` found for struct `ActorSystem` in the current scope [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let sys = ActorSystem::new().to_persistent(persistence); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ActorSystem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | .with_actors(|a| { [INFO] [stdout] | ^ [INFO] [stdout] 109 | a.with_actor(TestActorFactory) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | .with_actors(|a: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | .configure(|c| { [INFO] [stdout] | ^ [INFO] [stdout] 114 | c.heartbeat(HeartbeatConfig { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 113 | .configure(|c: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let remote = RemoteActorSystem::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | let mut server = remote.clone().cluster_worker().listen_addr(listen_addr); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remote` an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | let remote: /* Type */ = RemoteActorSystem::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coerce` (test "test_remote_actor_err") due to 7 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::describe::Describe` [INFO] [stdout] --> src/actor/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::actor::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Status` and `Stop` [INFO] [stdout] --> src/actor/mod.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | use crate::actor::lifecycle::{Status, Stop}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorMessage`, `Exec`, `MessageHandler`, `MessageUnwrapErr`, and `MessageWrapErr` [INFO] [stdout] --> src/actor/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ActorMessage, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, MessageWrapErr, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::metrics::ActorMetrics` [INFO] [stdout] --> src/actor/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::actor::metrics::ActorMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actor::supervised::Terminated` [INFO] [stdout] --> src/actor/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use crate::actor::supervised::Terminated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coerce` (test "test_remote_actor_creation") due to 13 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/mod.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/actor/mod.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/actor/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/actor/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc::UnboundedSender` [INFO] [stdout] --> src/actor/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/actor/mod.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/actor/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actor/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields`, `NamedValues`, `StructDef`, `Structable`, `Valuable`, `Value`, and `Visit` [INFO] [stdout] --> src/actor/context.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use valuable::{Fields, NamedField, NamedValues, StructDef, Structable, Valuable, Value, Visit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxedActorRef` [INFO] [stdout] --> src/actor/watch/watchers.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actor::{ActorId, BoxedActorRef, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Instrument` [INFO] [stdout] --> src/actor/lifecycle.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `valuable::Valuable` [INFO] [stdout] --> src/actor/lifecycle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use valuable::Valuable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let (remote_a, server_a) = create_system(persistence.clone(), "127.0.0.1:31101", 1, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | let sharding_a = Sharding::::builder(remote_a.clone()) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 141 | let (remote_a, server_a): (_, _) = create_system(persistence.clone(), "127.0.0.1:31101", 1, None).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let (remote_b, _server_b) = create_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | let sharding_b = Sharding::::builder(remote_b.clone()) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 143 | let (remote_b, _server_b): (_, _) = create_system( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let sharding_a = Sharding::::builder(remote_a.clone()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | let sharded_actor = sharding_a.get("leon".to_string(), Some(TestActorRecipe)); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `sharding_a` an explicit type [INFO] [stdout] | [INFO] [stdout] 151 | let sharding_a: /* Type */ = Sharding::::builder(remote_a.clone()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | let res = sharded_actor [INFO] [stdout] | _______________^ [INFO] [stdout] 168 | | .send(GetStatusRequest) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut server_a = server_a; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 178 | server_a.stop(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server_a` an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | let mut server_a: /* Type */ = server_a; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Envelope` [INFO] [stdout] --> src/actor/refs/mod.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ActorMessage, Envelope, Exec, Handler, Message, MessageHandler, MessageUnwrapErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/actor/refs/mod.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | (self as (&dyn Debug)).fmt(f) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - (self as (&dyn Debug)).fmt(f) [INFO] [stdout] 84 + (self as &dyn Debug ).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let sharding_b = Sharding::::builder(remote_b.clone()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | let sharded_actor = sharding_b.get("leon".to_string(), None); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `sharding_b` an explicit type [INFO] [stdout] | [INFO] [stdout] 155 | let sharding_b: /* Type */ = Sharding::::builder(remote_b.clone()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let res_after_losing_node_1 = sharded_actor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | assert_eq!(res_after_losing_node_1.is_ok(), true); [INFO] [stdout] | ----------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res_after_losing_node_1` an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let res_after_losing_node_1: /* Type */ = sharded_actor [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coerce::actor::message::Message` [INFO] [stdout] --> tests/test_remote_sharding_rebalancing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use coerce::actor::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_actor_messaging.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | .exec(|mut actor| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_actor_messaging.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | .exec(|mut actor| { [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] --> tests/test_actor_messaging.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let _ = actor_ref.exec(|mut actor| actor.counter = 2).await; [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] --> tests/test_actor_messaging.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | let _ = actor_ref.notify_exec(move |mut actor| actor.counter = i); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coerce` (test "test_remote_sharding_rebalancing") due to 20 previous errors; 8 warnings emitted [INFO] [stderr] error: could not compile `coerce` (test "test_remote_api") due to 12 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/actor/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CoreActorRef` [INFO] [stdout] --> src/actor/lifecycle.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::actor::{Actor, ActorId, BoxedActorRef, CoreActorRef, LocalActorRef}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/actor/lifecycle.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let log = ctx.log(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn incr_actor_created(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn incr_actor_stopped(actor_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn incr_messages_sent(actor_type: &'static str, msg_type: &'static str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | actor_type: &'static str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg_type` [INFO] [stdout] --> src/actor/metrics/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | msg_type: &'static str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | wait_time: Duration, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processing_time` [INFO] [stdout] --> src/actor/metrics/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | processing_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processing_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actor/refs/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 174 | Ref::Local(local_ref) => local_ref, [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] 175 | _ => panic!("ActorRef does not contain a local ref"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARGO_PKG_VERSION` is never used [INFO] [stdout] --> src/lib.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOG_CONTEXT_FIELDS` is never used [INFO] [stdout] --> src/actor/context.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | static LOG_CONTEXT_FIELDS: &[NamedField<'static>] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Notify` is never constructed [INFO] [stdout] --> src/actor/scheduler/timer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum TimerMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Notify, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "942fa465ccc3822b72a0701a71e6abc0eb13b7c0776124748e11ef4ab57359cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942fa465ccc3822b72a0701a71e6abc0eb13b7c0776124748e11ef4ab57359cd", kill_on_drop: false }` [INFO] [stdout] 942fa465ccc3822b72a0701a71e6abc0eb13b7c0776124748e11ef4ab57359cd