Skip to content

rustdoc - panicked at 'Unexpected empty destination: ["dsp"]' - occurs on beta and nightly #28927

Closed
@mitchmindtree

Description

@mitchmindtree

Travis is failing when running rustdoc on my dsp crate due to a panic occurring in rustdoc:

Compiling dsp-chain v0.7.1 (file:///home/travis/build/RustAudio/dsp-chain)
     Running `rustdoc src/lib.rs --crate-name dsp -o /home/travis/build/RustAudio/dsp-chain/target/doc -L dependency=/home/travis/build/RustAudio/dsp-chain/target/debug -L dependency=/home/travis/build/RustAudio/dsp-chain/target/debug/deps --extern num=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libnum-397f282c1d72fe58.rlib --extern num=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libnum-397f282c1d72fe58.rlib --extern sound_stream=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libsound_stream-96ca28702c32f71d.rlib --extern sound_stream=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libsound_stream-96ca28702c32f71d.rlib --extern daggy=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libdaggy-6c8daed9a0d833d9.rlib --extern daggy=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libdaggy-6c8daed9a0d833d9.rlib`
thread '<unnamed>' panicked at 'Unexpected empty destination: ["dsp"]', ../src/librustdoc/html/render.rs:1127
Could not document `dsp-chain`.
Caused by:
  Process didn't exit successfully: `rustdoc src/lib.rs --crate-name dsp -o /home/travis/build/RustAudio/dsp-chain/target/doc -L dependency=/home/travis/build/RustAudio/dsp-chain/target/debug -L dependency=/home/travis/build/RustAudio/dsp-chain/target/debug/deps --extern num=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libnum-397f282c1d72fe58.rlib --extern num=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libnum-397f282c1d72fe58.rlib --extern sound_stream=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libsound_stream-96ca28702c32f71d.rlib --extern sound_stream=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libsound_stream-96ca28702c32f71d.rlib --extern daggy=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libdaggy-6c8daed9a0d833d9.rlib --extern daggy=/home/travis/build/RustAudio/dsp-chain/target/debug/deps/libdaggy-6c8daed9a0d833d9.rlib` (exit code: 101)
The command "cargo doc --verbose" exited with 101.

He builds fine on the stable channel, but fails with the same error on both beta and nightly channels.

The line where the panic occurs seems to be here.

Unfortunately I only have stable available to me on my personal computer atm, and I don't have time to investigate much further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions