ntex-rs/ntex

compilation error below, how to resolve?

Opened this issue · 2 comments

cargo run --example hello-world
warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-rt/src/arbiter.rs:106:21
    |
106 | /                     crate::spawn(ArbiterController {
107 | |                         stop: Some(stop),
108 | |                         rx: Box::pin(arb_rx),
109 | |                     });
    | |______________________^
    |
    = note: futures do nothing unless you `.await` or poll them
    = note: `#[warn(unused_must_use)]` on by default

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-rt/src/arbiter.rs:271:25
    |
271 |                         crate::spawn(fut);
    |                         ^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-rt/src/builder.rs:162:9
    |
162 |         crate::spawn(arb);
    |         ^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-rt/src/builder.rs:163:9
    |
163 |         crate::spawn(arb_controller);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: `ntex-rt` (lib) generated 4 warnings
warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-util/src/time/wheel.rs:614:9
    |
614 |         crate::spawn(TimerDriver(timer));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them
    = note: `#[warn(unused_must_use)]` on by default

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-util/src/time/wheel.rs:679:9
    |
679 |         crate::spawn(LowresTimerDriver(timer));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: `ntex-util` (lib) generated 2 warnings
warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-io/src/testing.rs:358:9
    |
358 | /         ntex_util::spawn(ReadTask {
359 | |             io: io.clone(),
360 | |             state: read,
361 | |         });
    | |__________^
    |
    = note: futures do nothing unless you `.await` or poll them
    = note: `#[warn(unused_must_use)]` on by default

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-io/src/testing.rs:362:9
    |
362 | /         ntex_util::spawn(WriteTask {
363 | |             io: io.clone(),
364 | |             state: write,
365 | |             st: IoWriteState::Processing(None),
366 | |         });
    | |__________^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-io/src/dispatcher.rs:344:21
    |
344 | /                     spawn(async move {
345 | |                         let result = shared.service.call(item).await;
346 | |                         shared.handle_result(result, &shared.io);
347 | |                     });
    | |______________________^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-io/src/dispatcher.rs:368:21
    |
368 | /                     spawn(async move {
369 | |                         let result = shared.service.call(item).await;
370 | |                         shared.handle_result(result, &shared.io);
371 | |                     });
    | |______________________^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: unused pinned boxed `Future` trait object that must be used
   --> ntex-io/src/timer.rs:130:13
    |
130 | /             spawn(async move {
131 | |                 let guard = TimerGuard;
132 | |                 loop {
133 | |                     sleep(SEC).await;
...   |
166 | |                 drop(guard);
167 | |             });
    | |______________^
    |
    = note: futures do nothing unless you `.await` or poll them

warning: `ntex-io` (lib) generated 5 warnings
   Compiling ntex v1.1.0 (/usr/local/src/ntex/ntex)
error[E0432]: unresolved import `crate::rt::Signal`
 --> ntex/src/server/builder.rs:7:24
  |
7 | use crate::rt::{spawn, Signal, System};
  |                        ^^^^^^ no `Signal` in `rt`
  |
  = help: consider importing this variant instead:
          crate::server::ServerCommand::Signal

error[E0432]: unresolved import `crate::rt::tcp_connect`
 --> ntex/src/server/test.rs:6:17
  |
6 | use crate::rt::{tcp_connect, System};
  |                 ^^^^^^^^^^^ no `tcp_connect` in `rt`

error[E0425]: cannot find function `signal` in module `crate::rt`
   --> ntex/src/server/builder.rs:539:38
    |
539 |         if let Some(rx) = crate::rt::signal() {
    |                                      ^^^^^^ not found in `crate::rt`

error[E0425]: cannot find function `from_tcp_stream` in module `rt`
   --> ntex/src/server/socket.rs:166:40
    |
166 |             Stream::Tcp(stream) => rt::from_tcp_stream(stream),
    |                                        ^^^^^^^^^^^^^^^ not found in `rt`
    |
help: consider importing one of these items
    |
1   + use crate::connect::net::from_tcp_stream;
    |
1   + use ntex_connect::net::from_tcp_stream;
    |
help: if you import `from_tcp_stream`, refer to it directly
    |
166 -             Stream::Tcp(stream) => rt::from_tcp_stream(stream),
166 +             Stream::Tcp(stream) => from_tcp_stream(stream),
    |

error[E0425]: cannot find function `from_unix_stream` in module `rt`
   --> ntex/src/server/socket.rs:168:40
    |
168 |             Stream::Uds(stream) => rt::from_unix_stream(stream),
    |                                        ^^^^^^^^^^^^^^^^ not found in `rt`
    |
help: consider importing one of these items
    |
1   + use crate::connect::net::from_unix_stream;
    |
1   + use ntex_connect::net::from_unix_stream;
    |
help: if you import `from_unix_stream`, refer to it directly
    |
168 -             Stream::Uds(stream) => rt::from_unix_stream(stream),
168 +             Stream::Uds(stream) => from_unix_stream(stream),
    |

error[E0412]: cannot find type `Signal` in module `crate::rt`
  --> ntex/src/server/mod.rs:66:23
   |
66 |     Signal(crate::rt::Signal),
   |                       ^^^^^^ not found in `crate::rt`
   |
help: there is an enum variant `crate::server::ServerCommand::Signal`; try using the variant's enum
   |
66 |     Signal(crate::server::ServerCommand),
   |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0412]: cannot find type `Signal` in module `crate::rt`
  --> ntex/src/server/mod.rs:90:38
   |
90 |     fn signal(&self, sig: crate::rt::Signal) {
   |                                      ^^^^^^ not found in `crate::rt`
   |
help: there is an enum variant `crate::server::ServerCommand::Signal`; try using the variant's enum
   |
90 |     fn signal(&self, sig: crate::server::ServerCommand) {
   |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Some errors have detailed explanations: E0412, E0425, E0432.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `ntex` (lib) due to 7 previous errors

try: cargo run --example hello-world —features=“tokio”

@fafhrd91 can you check this pls:

trying to run the ntex tls https. is there a http2 example too?

(base) root@ubuntu:/usr/local/src/ntex/ntex-tls# RUST_BACKTRACE=full cargo run --example webserver
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `/usr/local/src/ntex/target/debug/examples/webserver`
Started openssl web server: 127.0.0.1:8443
thread 'main' panicked at ntex-tls/examples/webserver.rs:20:10:
called `Result::unwrap()` on an `Err` value: ErrorStack([Error { code: 2147483650, library: "system library", function: "file_ctrl", file: "../crypto/bio/bss_file.c", line: 297, data: "calling fopen(../tests/key.pem, r)" }, Error { code: 268959746, library: "BIO routines", function: "file_ctrl", reason: "system lib", file: "../crypto/bio/bss_file.c", line: 300 }, Error { code: 168296450, library: "SSL routines", function: "SSL_CTX_use_PrivateKey_file", reason: "system lib", file: "../ssl/ssl_rsa.c", line: 367 }])
stack backtrace:
   0:     0x559e2a96c926 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x559e2a96c926 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x559e2a96c926 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x559e2a96c926 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x559e2a991310 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
   5:     0x559e2a991310 - core::fmt::write::h3ed6aeaa977c8e45
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
   6:     0x559e2a96989f - std::io::Write::write_fmt::h78b18af5775fedb5
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
   7:     0x559e2a96c704 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x559e2a96c704 - std::sys_common::backtrace::print::h85035a511aafe7a8
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x559e2a96df87 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
  10:     0x559e2a96dce9 - std::panicking::default_hook::hf5fcb0f213fe709a
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
  11:     0x559e2a96e418 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
  12:     0x559e2a96e2f2 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
  13:     0x559e2a96ce26 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
  14:     0x559e2a96e050 - rust_begin_unwind
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
  15:     0x559e2a628825 - core::panicking::panic_fmt::h784f20a50eaab275
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
  16:     0x559e2a628e23 - core::result::unwrap_failed::h03d8a5018196e1cd
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
  17:     0x559e2a7ffddb - core::result::Result<T,E>::unwrap::hca08f3f6e6e2b2e2
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
  18:     0x559e2a62b78b - webserver::main::{{closure}}::hcea3ca1521717616
                               at /usr/local/src/ntex/ntex-tls/examples/webserver.rs:18:5
  19:     0x559e2a65baf7 - ntex_rt::builder::block_on::{{closure}}::hd6585e52a157a4f0
                               at /usr/local/src/ntex/ntex-rt/src/builder.rs:167:25
  20:     0x559e2a65e7eb - <core::pin::Pin<P> as core::future::future::Future>::poll::h4694aca0e15c9ed5
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/future/future.rs:124:9
  21:     0x559e2a633c8e - <tokio::task::local::RunUntil<T> as core::future::future::Future>::poll::{{closure}}::h7ba88541d551f6e5
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:978:42
  22:     0x559e2a6338d0 - tokio::task::local::LocalSet::with::{{closure}}::hece5201cd85ca0e3
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:730:13
  23:     0x559e2a6675a4 - std::thread::local::LocalKey<T>::try_with::h811a37f202d15978
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
  24:     0x559e2a6662ca - std::thread::local::LocalKey<T>::with::h92848e282fba6f5a
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
  25:     0x559e2a633836 - tokio::task::local::LocalSet::with::h9f382d96ffee8843
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:728:9
  26:     0x559e2a633c05 - <tokio::task::local::RunUntil<T> as core::future::future::Future>::poll::h63d9a20fd047dad1
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:968:9
  27:     0x559e2a633b25 - tokio::task::local::LocalSet::run_until::{{closure}}::h26344f3e1238ba1d
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:635:19
  28:     0x559e2a65e83b - <core::pin::Pin<P> as core::future::future::Future>::poll::h7762258be7e770ac
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/future/future.rs:124:9
  29:     0x559e2a65e734 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h9b31ac0c8202a8a7
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:659:57
  30:     0x559e2a65e65a - tokio::runtime::coop::with_budget::h8b3bc7e670dc6303
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:107:5
  31:     0x559e2a65e65a - tokio::runtime::coop::budget::had4f1f0536aac2fc
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:73:5
  32:     0x559e2a65e65a - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h1a002f1bb6921dac
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:659:25
  33:     0x559e2a65d30c - tokio::runtime::scheduler::current_thread::Context::enter::h78b8a919f261d690
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:404:19
  34:     0x559e2a65de6b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf53131aa09daae0c
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:658:36
  35:     0x559e2a65db7b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h05025b7df997d988
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:737:68
  36:     0x559e2a65a57b - tokio::runtime::context::scoped::Scoped<T>::set::h92f8181199323f4c
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/scoped.rs:40:9
  37:     0x559e2a677c69 - tokio::runtime::context::set_scheduler::{{closure}}::hed20a5d03c6a1550
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:176:26
  38:     0x559e2a6669c6 - std::thread::local::LocalKey<T>::try_with::h2c0619a9b38b1b82
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
  39:     0x559e2a66609a - std::thread::local::LocalKey<T>::with::h26a0f056bf99e86d
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
  40:     0x559e2a677c1d - tokio::runtime::context::set_scheduler::h0accc0a456789baa
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:176:9
  41:     0x559e2a65d910 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h3043f1ee342c9c1a
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:737:27
  42:     0x559e2a65dbad - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h9515a0dba0fec069
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:646:19
  43:     0x559e2a65cae3 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc28214c381047417
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:175:28
  44:     0x559e2a66a3db - tokio::runtime::context::runtime::enter_runtime::h7384dcaa02a2b799
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/runtime.rs:65:16
  45:     0x559e2a65c9de - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h227ce6ff89a0653b
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs:167:9
  46:     0x559e2a677b8b - tokio::runtime::runtime::Runtime::block_on::ha9c77e00304e7050
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/runtime.rs:348:47
  47:     0x559e2a633971 - tokio::task::local::LocalSet::block_on::hc30d2d78778e0ca8
                               at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/local.rs:592:9
  48:     0x559e2a6762f8 - ntex_rt::tokio::block_on::h90f1297202b6381e
                               at /usr/local/src/ntex/ntex-rt/src/lib.rs:176:9
  49:     0x559e2a65b424 - ntex_rt::builder::block_on::hbaccf4f5d358ec9c
                               at /usr/local/src/ntex/ntex-rt/src/builder.rs:161:5
  50:     0x559e2a65aeef - ntex_rt::builder::SystemRunner::block_on::h05ba7ca1ec7f6588
                               at /usr/local/src/ntex/ntex-rt/src/builder.rs:132:15
  51:     0x559e2a679848 - webserver::main::hfac60915e79a81f4
                               at /usr/local/src/ntex/ntex-tls/examples/webserver.rs:9:1
  52:     0x559e2a64e91b - core::ops::function::FnOnce::call_once::h450a13d7b25bba05
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
  53:     0x559e2a6697ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h96a0addf27ed6c4e
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
  54:     0x559e2a64b9c1 - std::rt::lang_start::{{closure}}::h670685fd51de0fce
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:166:18
  55:     0x559e2a964391 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h37600b1e5eea4ecd
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:284:13
  56:     0x559e2a964391 - std::panicking::try::do_call::hb4bda49fa13a0c2b
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
  57:     0x559e2a964391 - std::panicking::try::h8bbf75149211aaaa
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
  58:     0x559e2a964391 - std::panic::catch_unwind::h8c78ec68ebea34cb
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
  59:     0x559e2a964391 - std::rt::lang_start_internal::{{closure}}::hffdf44a19fd9e220
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:48
  60:     0x559e2a964391 - std::panicking::try::do_call::hcb3194972c74716d
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
  61:     0x559e2a964391 - std::panicking::try::hcdc6892c5f0dba4c
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
  62:     0x559e2a964391 - std::panic::catch_unwind::h4910beb4573f4776
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
  63:     0x559e2a964391 - std::rt::lang_start_internal::h6939038e2873596b
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:20
  64:     0x559e2a64b99a - std::rt::lang_start::hacb4199419289abf
                               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:165:17
  65:     0x559e2a67986e - main
  66:     0x7f67d1629d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  67:     0x7f67d1629e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  68:     0x559e2a629125 - _start
  69:                0x0 - <unknown>
Panic in Arbiter thread.