Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distributed-bakery: can't run --customer-id 2: Result::unwrap() on an Err value: Unexpected(None) #71

Open
bbigras opened this issue Jun 22, 2024 · 0 comments

Comments

@bbigras
Copy link

bbigras commented Jun 22, 2024

I can start the first one with cargo run --release --example distributed-bakery --features="tokio" -- --bootstrap --customer-id "1", but the second one gives this error:

RUST_BACKTRACE=1 cargo run --release --example distributed-bakery --features="tokio" -- --customer-id "2"

thread 'tokio-runtime-worker' panicked at examples/distributed_bakery.rs:154:47:
called `Result::unwrap()` on an `Err` value: Unexpected(None)
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: automerge_repo::dochandle::DocHandle::with_doc_mut
   4: distributed_bakery::main::{{closure}}::{{closure}}
   5: tokio::runtime::task::core::Core<T,S>::poll
   6: tokio::runtime::task::harness::Harness<T,S>::poll
   7: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   8: tokio::runtime::scheduler::multi_thread::worker::Context::run
   9: tokio::runtime::context::scoped::Scoped<T>::set
  10: tokio::runtime::context::runtime::enter_runtime
  11: tokio::runtime::scheduler::multi_thread::worker::run
  12: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
  13: tokio::runtime::task::core::Core<T,S>::poll
  14: tokio::runtime::task::harness::Harness<T,S>::poll
  15: tokio::runtime::blocking::pool::Inner::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

9b0ca93 is the first bad commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant