Skip to content

thread 'main' panicked #132

@GoodYk

Description

@GoodYk

Packages versions

[package]
name = "rust-client"
version = "0.1.0"
edition = "2021"

[dependencies]
miden-client = { version = "0.11", features = ["testing", "tonic", "sqlite"] }
miden-lib = { version = "0.11", default-features = false }
miden-objects = { version = "0.11", default-features = false, features = ["testing"] }
miden-crypto = { version = "0.15.9", features = ["executable"] }
miden-assembly = "0.17.0"
rand = { version = "0.9" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
tokio = { version = "1.46", features = ["rt-multi-thread", "net", "macros", "fs"] }
rand_chacha = "0.9.0"

Bug description

thread 'main' panicked at src\bin\create_mint_consume_send.rs:40:50:
called Result::unwrap() on an Err value: RpcError(AcceptHeaderError(NoSupportedMediaRange))
stack backtrace:
0: 0x7ff7a52ebad0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h2011df4dd83cdd21
1: 0x7ff7a53381cb - core::fmt::write::hcb4871ab0ad98bd3
2: 0x7ff7a52e18e2 - std::io::Write::write_fmt::hc575ea127b8aa151
3: 0x7ff7a52eb955 - std::sys::backtrace::BacktraceLock::print::hd193f18392c710f6
4: 0x7ff7a52f08c1 - std::panicking::default_hook::{{closure}}::ha1a3b854a5d440e8
5: 0x7ff7a52f06d6 - std::panicking::default_hook::hcc5f2c5213da11b4
6: 0x7ff7a52f1415 - std::panicking::rust_panic_with_hook::h90f0604542d0c7c3
7: 0x7ff7a52f11b2 - std::panicking::begin_panic_handler::{{closure}}::h0587d24490cce0ed
8: 0x7ff7a52ec4cf - std::sys::backtrace::__rust_end_short_backtrace::h78d3148919afb846
9: 0x7ff7a52f0e2e - __rustc[5224e6b81cd82a8f]::rust_begin_unwind
10: 0x7ff7a5334331 - core::panicking::panic_fmt::hd8bd6cb86ff62669
11: 0x7ff7a5334950 - core::result::unwrap_failed::hd336dae74e008bfa
12: 0x7ff7a3d84fab - create_mint_consume_send::main::{{closure}}::h3f54ffc9fb9ad07f
13: 0x7ff7a3d46638 - tokio::runtime::park::CachedParkThread::block_on::h9d14dcca9c73fa02
14: 0x7ff7a3e49e42 - tokio::runtime::context::runtime::enter_runtime::h616594906cf46f3e
15: 0x7ff7a3dd95b4 - tokio::runtime::runtime::Runtime::block_on::h2513e8f337553c72
16: 0x7ff7a3deb604 - create_mint_consume_send::main::hc9b6abea63fba5c3
17: 0x7ff7a3decf2a - std::sys::backtrace::__rust_begin_short_backtrace::hd57c1f08a0ded0ab
18: 0x7ff7a3e01e55 - std::rt::lang_start::{{closure}}::h37b3ce3d384487a6
19: 0x7ff7a52d2772 - std::rt::lang_start_internal::h7be68976dcad6582
20: 0x7ff7a3deb6fd - main
21: 0x7ff7a3d212ef - __tmainCRTStartup
22: 0x7ff7a3d21406 - mainCRTStartup
23: 0x7ff8c4cee8d7 -
24: 0x7ff8c6e9bf6c -
error: process didn't exit successfully: target\release\create_mint_consume_send.exe (exit code: 101)

How can this be reproduced?

cargo run --release --bin create_mint_consume_send

Relevant log output


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions