I am having an issue with running examples/coerce-cluster-example
I am doing the following
git clone ...
in one terminal run cargo run --package coerce-cluster-example --bin coerce-cluster-example which runs fine and doesn't log anything
in another terminal run cargo run --package coerce-cluster-example --bin worker which errors :
Running `target/debug/worker`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Serialisation(NotTransmittable)', examples/coerce-cluster-example/src/worker.rs:59:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running the worker a few times either results in the above or alternatively :
thread 'main' panicked at 'unable to get echo actor', examples/coerce-cluster-example/src/worker.rs:56:14
here's a backtrace for the later
thread 'main' panicked at 'unable to get echo actor', examples/coerce-cluster-example/src/worker.rs:56:14
stack backtrace:
0: rust_begin_unwind
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14
2: core::panicking::panic_display
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:139:5
3: core::panicking::panic_str
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:123:5
4: core::option::expect_failed
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/option.rs:1879:5
5: core::option::Option<T>::expect
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/option.rs:741:21
6: worker::main::{{closure}}
at ./examples/coerce-cluster-example/src/worker.rs:53:21
7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/future/mod.rs:91:19
8: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs:283:63
9: tokio::runtime::coop::with_budget
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:102:5
10: tokio::runtime::coop::budget
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:68:5
11: tokio::runtime::park::CachedParkThread::block_on
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs:283:31
12: tokio::runtime::context::BlockingRegionGuard::block_on
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/context.rs:295:13
13: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/multi_thread/mod.rs:66:9
14: tokio::runtime::runtime::Runtime::block_on
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs:284:45
15: worker::main
at ./examples/coerce-cluster-example/src/worker.rs:62:5
16: core::ops::function::FnOnce::call_once
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/ops/function.rs:251:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
and one for the former error
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Serialisation(NotTransmittable)', examples/coerce-cluster-example/src/worker.rs:59:27
stack backtrace:
0: 0x561f0b600250 - std::backtrace_rs::backtrace::libunwind::trace::he615646ea344481f
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x561f0b600250 - std::backtrace_rs::backtrace::trace_unsynchronized::h6ea8eaac68705b9c
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x561f0b600250 - std::sys_common::backtrace::_print_fmt::h7ac486a935ce0bf7
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:65:5
3: 0x561f0b600250 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1b5a095d3db2e28f
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:44:22
4: 0x561f0b6228be - core::fmt::write::h445545b92224a1cd
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/fmt/mod.rs:1209:17
5: 0x561f0b5fb365 - std::io::Write::write_fmt::h55a43474c6520b00
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/io/mod.rs:1682:15
6: 0x561f0b600015 - std::sys_common::backtrace::_print::h65d20526fdb736b0
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:47:5
7: 0x561f0b600015 - std::sys_common::backtrace::print::h6555fbe12a1cc41b
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:34:9
8: 0x561f0b60189f - std::panicking::default_hook::{{closure}}::hbdf58083140e7ac6
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:267:22
9: 0x561f0b6015da - std::panicking::default_hook::haef8271c56b74d85
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:286:9
10: 0x561f0b601f98 - std::panicking::rust_panic_with_hook::hfd45b6b6c12d9fa5
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:688:13
11: 0x561f0b601d37 - std::panicking::begin_panic_handler::{{closure}}::hf591e8609a75bd4b
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:579:13
12: 0x561f0b6006fc - std::sys_common::backtrace::__rust_end_short_backtrace::h81899558795e4ff7
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:137:18
13: 0x561f0b601a52 - rust_begin_unwind
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5
14: 0x561f0ab40603 - core::panicking::panic_fmt::h4235fa9b4675b332
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14
15: 0x561f0ab408c3 - core::result::unwrap_failed::ha17dbf463031a5e1
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1791:5
16: 0x561f0ab5990a - core::result::Result<T,E>::unwrap::h77d58a0b07e41725
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1113:23
17: 0x561f0acb4140 - worker::main::{{closure}}::h9aef3f54187918ed
at /workspace/Coerce-rs/examples/coerce-cluster-example/src/worker.rs:59:20
18: 0x561f0aca0b6c - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h7e820c479da0c931
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/future/mod.rs:91:19
19: 0x561f0ac28f00 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h37062d27951f96ee
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs:283:63
20: 0x561f0ac28895 - tokio::runtime::coop::with_budget::h667576cc87ecb351
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:102:5
21: 0x561f0ac28895 - tokio::runtime::coop::budget::h55c7487ad9871f6c
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:68:5
22: 0x561f0ac28895 - tokio::runtime::park::CachedParkThread::block_on::h99a02ad746356d5b
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs:283:31
23: 0x561f0abf9350 - tokio::runtime::context::BlockingRegionGuard::block_on::h0033b04aaa52f1cc
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/context.rs:295:13
24: 0x561f0ac96cb0 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h0abd54cdde5d5b80
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/multi_thread/mod.rs:66:9
25: 0x561f0ac9792e - tokio::runtime::runtime::Runtime::block_on::h55beae8d4b8413c7
at /home/cameronbraid/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs:284:45
26: 0x561f0ac56b09 - worker::main::ha19a9c6daaa193dd
at /workspace/Coerce-rs/examples/coerce-cluster-example/src/worker.rs:62:5
27: 0x561f0ab5bc7b - core::ops::function::FnOnce::call_once::hb6c9664bbfe19beb
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/ops/function.rs:251:5
28: 0x561f0acb33ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h07e129be76c7d72f
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:121:18
29: 0x561f0acb4f71 - std::rt::lang_start::{{closure}}::h7f6c2585d7162f42
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/rt.rs:166:18
30: 0x561f0b5f7edb - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h072eb4cd8da964ba
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/ops/function.rs:286:13
31: 0x561f0b5f7edb - std::panicking::try::do_call::h8eca204fe9266946
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:483:40
32: 0x561f0b5f7edb - std::panicking::try::h12574e1b7b2cbacb
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:447:19
33: 0x561f0b5f7edb - std::panic::catch_unwind::hf71522d4448329d6
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panic.rs:137:14
34: 0x561f0b5f7edb - std::rt::lang_start_internal::{{closure}}::h65b66ac9bff580f8
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/rt.rs:148:48
35: 0x561f0b5f7edb - std::panicking::try::do_call::hfff61e33ca3db9f1
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:483:40
36: 0x561f0b5f7edb - std::panicking::try::he48c8ecead279cad
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:447:19
37: 0x561f0b5f7edb - std::panic::catch_unwind::hd510a26bfc950ccc
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panic.rs:137:14
38: 0x561f0b5f7edb - std::rt::lang_start_internal::hc680b25eab888da9
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/rt.rs:148:20
39: 0x561f0acb4f4a - std::rt::lang_start::he0d1ffad91d65456
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/rt.rs:165:17
40: 0x561f0ac56bbe - main
41: 0x7f918c3c6d90 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
42: 0x7f918c3c6e40 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
43: 0x561f0ab40aa5 - _start
44: 0x0 - <unknown>
I am having an issue with running
examples/coerce-cluster-example
I am doing the following
cargo run --package coerce-cluster-example --bin coerce-cluster-example
which runs fine and doesn't log anythingcargo run --package coerce-cluster-example --bin worker
which errors :running the worker a few times either results in the above or alternatively :
here's a backtrace for the later
and one for the former error