Skip to content

deno_doc panic during publishing task #999

Open
@littledivy

Description

@littledivy

publishing task fails for @type/is 0.2.0

2025-03-02 12:45:00.028 IST
thread 'tokio-runtime-worker' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_doc-0.165.0/src/parser.rs:346:30:
2025-03-02 12:45:00.028 IST
range start index 18446744073709551615 out of range for slice of length 1
2025-03-02 12:45:00.028 IST
stack backtrace:
2025-03-02 12:45:00.064 IST
0: rust_begin_unwind
2025-03-02 12:45:00.064 IST
1: core::panicking::panic_fmt
2025-03-02 12:45:00.065 IST
2: core::slice::index::slice_start_index_len_fail
2025-03-02 12:45:00.065 IST
3: deno_doc::parser::DocParser::resolve_dangling_reference
2025-03-02 12:45:00.065 IST
4: deno_doc::parser::DocParser::resolve_references_for_nodes
2025-03-02 12:45:00.065 IST
5: deno_doc::parser::DocParser::resolve_references_for_nodes
2025-03-02 12:45:00.065 IST
6: deno_doc::parser::DocParser::parse
2025-03-02 12:45:00.068 IST
7: registry_api::docs::generate_docs::{{closure}}
2025-03-02 12:45:00.071 IST
8: registry_api::docs::generate_docs
2025-03-02 12:45:00.071 IST
9: registry_api::analysis::analyze_package_inner::{{closure}}::{{closure}}
2025-03-02 12:45:00.073 IST
10: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
2025-03-02 12:45:00.074 IST
11: <core::pin::Pin<P> as core::future::future::Future>::poll
2025-03-02 12:45:00.074 IST
12: tokio::runtime::scheduler::current_thread::Context::enter
2025-03-02 12:45:00.074 IST
13: tokio::runtime::context::scoped::Scoped<T>::set
2025-03-02 12:45:00.074 IST
14: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
2025-03-02 12:45:00.074 IST
15: tokio::runtime::context::runtime::enter_runtime
2025-03-02 12:45:00.074 IST
16: tokio::runtime::runtime::Runtime::block_on
2025-03-02 12:45:00.075 IST
17: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
2025-03-02 12:45:00.075 IST
18: tokio::runtime::task::core::Core<T,S>::poll
2025-03-02 12:45:00.075 IST
19: tokio::runtime::task::harness::Harness<T,S>::poll
2025-03-02 12:45:00.075 IST
20: tokio::runtime::blocking::pool::Inner::run
2025-03-02 12:45:00.076 IST
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs genRelated to the documentation generationpublishingProblems with publishing

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions