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

random doc tests fail with --persist-doctests #69411

Closed
Luro02 opened this issue Feb 23, 2020 · 2 comments · Fixed by #69458
Closed

random doc tests fail with --persist-doctests #69411

Luro02 opened this issue Feb 23, 2020 · 2 comments · Fixed by #69458
Labels
C-bug Category: This is a bug. requires-nightly This issue requires a nightly compiler in some way. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Luro02
Copy link
Contributor

Luro02 commented Feb 23, 2020

I have this repository: https://github.com/Luro02/hls_m3u8 and some time ago random doc tests started to fail with cargo tarpaulin (xd009642/tarpaulin#345).

After some tinkering I narrowed it down to this command:

RUSTDOCFLAGS="--persist-doctests target/doctests -Z unstable-options" cargo test --doc

I would need some help with reducing the example :)

Meta

rustc --version --verbose:

rustc 1.42.0-nightly (212b2c7da 2020-01-30)
binary: rustc
commit-hash: 212b2c7da87f3086af535b33a9ca6b5242f2d5a7
commit-date: 2020-01-30
host: x86_64-unknown-linux-gnu
release: 1.42.0-nightly
LLVM version: 9.0
Stdout

lucas@luna:/media/hdd/home/projects/hls_m3u8$ RUSTDOCFLAGS="--persist-doctests target/doctests -Z unstable-options" cargo test --doc
    Finished test [unoptimized + debuginfo] target(s) in 0.14s
   Doc-tests hls_m3u8

running 173 tests
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81) ... FAILED
test src/tags/basic/version.rs - tags::basic::version::ExtXVersion::version (line 36) ... ok
test src/tags/basic/version.rs - tags::basic::version::ExtXVersion::new (line 24) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81) ... FAILED
test src/master_playlist.rs - master_playlist::MasterPlaylist::builder (line 105) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::builder (line 301) ... ok
test src/lib.rs -  (line 25) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::media_type (line 31) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_language (line 101) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_media_type (line 31) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::new (line 268) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_group_id (line 81) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::media_type (line 31) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_uri (line 51) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::language (line 101) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::language (line 101) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::group_id (line 81) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::group_id (line 81) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::media_type (line 31) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::media_type (line 31) ... ok
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::uri (line 51) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103) ... FAILED
test src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::uri (line 51) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data (line 75) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::builder (line 155) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data (line 75) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data_id (line 44) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data_id (line 44) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::new (line 134) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data (line 75) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_language (line 103) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::with_language (line 172) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data_id (line 44) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data_id (line 44) ... FAILED
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data_id (line 44) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::language (line 103) ... FAILED
test src/tags/master_playlist/variant_stream.rs - tags::master_playlist::variant_stream::VariantStream::is_associated (line 178) ... ok
test src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::new (line 48) ... ok
test src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::language (line 103) ... ok
test src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31) ... FAILED
test src/tags/master_playlist/session_key.rs - tags::master_playlist::session_key::ExtXSessionKey::new (line 39) ... ok
test src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31) ... FAILED
test src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::set_seq_num (line 31) ... ok
test src/tags/media_playlist/media_sequence.rs - tags::media_playlist::media_sequence::ExtXMediaSequence::new (line 26) ... ok
test src/tags/media_playlist/target_duration.rs - tags::media_playlist::target_duration::ExtXTargetDuration::duration (line 45) ... ok
test src/tags/media_playlist/target_duration.rs - tags::media_playlist::target_duration::ExtXTargetDuration::new (line 29) ... ok
test src/tags/media_playlist/media_sequence.rs - tags::media_playlist::media_sequence::ExtXMediaSequence::seq_num (line 37) ... ok
test src/tags/media_playlist/media_sequence.rs - tags::media_playlist::media_sequence::ExtXMediaSequence::set_seq_num (line 49) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange (line 28) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange (line 19) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange::as_byte_range (line 121) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange::saturating_add (line 47) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange::saturating_add (line 61) ... ok
test src/tags/media_segment/date_range.rs - tags::media_segment::date_range::ExtXDateRange::new (line 149) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange::saturating_sub (line 84) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::new (line 29) ... ok
test src/tags/media_segment/byte_range.rs - tags::media_segment::byte_range::ExtXByteRange::saturating_sub (line 98) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::duration (line 63) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::set_duration (line 77) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::set_title (line 110) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::title (line 96) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::is_empty (line 237) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::builder (line 195) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::empty (line 216) ... ok
test src/tags/media_segment/inf.rs - tags::media_segment::inf::ExtInf::with_title (line 46) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format_versions (line 132) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format_versions (line 132) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::iv (line 84) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::iv (line 84) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format (line 111) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::method (line 39) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::method (line 39) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format (line 111) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::new (line 170) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_key_format_versions (line 132) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_method (line 39) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_key_format (line 111) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_uri (line 61) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::uri (line 61) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::uri (line 61) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_iv (line 84) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::iv (line 84) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::iv (line 84) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format (line 111) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format (line 111) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format_versions (line 132) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format_versions (line 132) ... ok
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::new (line 65) ... ok
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::uri (line 61) ... FAILED
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43) ... FAILED
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43) ... FAILED
test src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::uri (line 61) ... ok
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::set_uri (line 27) ... FAILED
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::set_range (line 43) ... ok
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::uri (line 27) ... ok
test src/tags/media_segment/program_date_time.rs - tags::media_segment::program_date_time::ExtXProgramDateTime::new (line 29) ... ok
test src/tags/media_segment/program_date_time.rs - tags::media_segment::program_date_time::ExtXProgramDateTime::date_time (line 48) ... ok
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::with_range (line 81) ... ok
test src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::uri (line 27) ... ok
test src/tags/media_segment/program_date_time.rs - tags::media_segment::program_date_time::ExtXProgramDateTime::set_date_time (line 73) ... ok
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::new (line 46) ... ok
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24) ... FAILED
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24) ... FAILED
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::set_is_precise (line 24) ... ok
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::time_offset (line 85) ... ok
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::with_precise (line 67) ... ok
test src/tags/shared/start.rs - tags::shared::start::ExtXStart::set_time_offset (line 97) ... ok
test src/traits.rs - traits::Encrypted (line 10) ... ok
test src/traits.rs - traits::RequiredVersion (line 112) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange (line 17) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::is_empty (line 237) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::len (line 223) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::end (line 40) ... FAILED
test src/types/byte_range.rs - types::byte_range::ByteRange::saturating_add (line 105) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::saturating_add (line 119) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::saturating_sub (line 163) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::saturating_sub (line 177) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::end (line 40) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::set_start (line 81) ... ok
test src/types/channels.rs - types::channels::Channels::new (line 38) ... ok
test src/types/byte_range.rs - types::byte_range::ByteRange::set_len (line 53) ... ok
test src/types/channels.rs - types::channels::Channels::set_number (line 22) ... FAILED
test src/types/channels.rs - types::channels::Channels::number (line 22) ... FAILED
test src/types/channels.rs - types::channels::Channels::number (line 22) ... FAILED
test src/types/byte_range.rs - types::byte_range::ByteRange::start (line 30) ... FAILED
test src/types/byte_range.rs - types::byte_range::ByteRange::start (line 30) ... ok
test src/types/float.rs - types::float::Float::new (line 27) ... ok
test src/types/closed_captions.rs - types::closed_captions::ClosedCaptions::group_id (line 42) ... ok
test src/types/protocol_version.rs - types::protocol_version::ProtocolVersion::latest (line 32) ... ok
test src/types/float.rs - types::float::Float::new (line 35) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::bandwidth (line 38) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::bandwidth (line 38) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::builder (line 234) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::hdcp_level (line 160) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::average_bandwidth (line 76) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::average_bandwidth (line 76) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::hdcp_level (line 160) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::new (line 214) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::set_average_bandwidth (line 76) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::set_bandwidth (line 38) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::set_hdcp_level (line 160) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::set_video (line 188) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::set_resolution (line 134) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::set_codecs (line 110) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::resolution (line 134) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::resolution (line 134) ... ok
test src/types/stream_data.rs - types::stream_data::StreamData::video (line 188) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::bandwidth (line 38) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamData::video (line 188) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::bandwidth (line 38) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::average_bandwidth (line 76) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::codecs (line 110) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::hdcp_level (line 160) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::average_bandwidth (line 76) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::codecs (line 110) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::resolution (line 134) ... FAILED
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::resolution (line 134) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::hdcp_level (line 160) ... ok
test src/types/ufloat.rs - types::ufloat::UFloat::new (line 28) ... ok
test src/types/ufloat.rs - types::ufloat::UFloat::new (line 36) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::video (line 188) ... ok
test src/types/stream_data.rs - types::stream_data::StreamDataBuilder::video (line 188) ... ok

failures:

---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/media_rs_81/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/media_rs_81/rust_out" "target/doctests/media_rs_81/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::media_type (line 31) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_media_type (line 31) stdout ----
error: failed to remove target/doctests/media_rs_31/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/media_rs_31/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_uri (line 51) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51) stdout ----
error: failed to remove target/doctests/media_rs_51/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/media_rs_51/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::language (line 101) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::group_id (line 81) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::media_type (line 31) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::uri (line 51) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/session_data_rs_103/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/session_data_rs_103/rust_out" "target/doctests/session_data_rs_103/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data (line 75) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data_id (line 44) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/session_data_rs_75/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/session_data_rs_75/rust_out" "target/doctests/session_data_rs_75/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data (line 75) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_language (line 103) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data_id (line 44) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75) stdout ----
error: failed to remove target/doctests/session_data_rs_75/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/session_data_rs_75/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: No such file or directory (os error 2)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data_id (line 44) stdout ----
error: failed to remove target/doctests/session_data_rs_44/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/session_data_rs_44/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::language (line 103) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31) stdout ----
error: failed to remove target/doctests/discontinuity_sequence_rs_31/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/discontinuity_sequence_rs_31/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format_versions (line 132) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/key_rs_132/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/key_rs_132/rust_out" "target/doctests/key_rs_132/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: cc: error: target/doctests/key_rs_132/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory
          cc: error: target/doctests/key_rs_132/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format (line 111) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_iv (line 84) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::iv (line 84) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/key_rs_84/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/key_rs_84/rust_out" "target/doctests/key_rs_84/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: cc: error: target/doctests/key_rs_84/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory
          cc: error: target/doctests/key_rs_84/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/key_rs_39/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/key_rs_39/rust_out" "target/doctests/key_rs_39/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format_versions (line 132) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::uri (line 61) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/map_rs_43/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/map_rs_43/rust_out" "target/doctests/map_rs_43/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: can not read symbols: file truncated
          /usr/bin/ld: can not read symbols: file truncated
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/map_rs_43/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/map_rs_43/rust_out" "target/doctests/map_rs_43/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::set_uri (line 27) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24) stdout ----
error: failed to remove target/doctests/start_rs_24/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/start_rs_24/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/types/byte_range.rs - types::byte_range::ByteRange::end (line 40) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/channels.rs - types::channels::Channels::set_number (line 22) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/channels_rs_22/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/channels_rs_22/rust_out" "target/doctests/channels_rs_22/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find target/doctests/channels_rs_22/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/types/channels.rs - types::channels::Channels::number (line 22) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/channels_rs_22/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/channels_rs_22/rust_out" "target/doctests/channels_rs_22/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find target/doctests/channels_rs_22/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/types/channels.rs - types::channels::Channels::number (line 22) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/types/byte_range.rs - types::byte_range::ByteRange::start (line 30) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamData::bandwidth (line 38) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/stream_data_rs_38/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/stream_data_rs_38/rust_out" "target/doctests/stream_data_rs_38/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: cc: error: target/doctests/stream_data_rs_38/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory
          cc: error: target/doctests/stream_data_rs_38/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory
          

error: aborting due to previous error

Couldn't compile the test.
---- src/types/stream_data.rs - types::stream_data::StreamData::hdcp_level (line 160) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamData::average_bandwidth (line 76) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110) stdout ----
Couldn't run the test: Permission denied (os error 13) - maybe your tempdir is mounted with noexec?
---- src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110) stdout ----
error: failed to remove target/doctests/stream_data_rs_110/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o: No such file or directory (os error 2)

error: failed to remove target/doctests/stream_data_rs_110/rust_out.33dyzt1ekirinwy8.rcgu.o: No such file or directory (os error 2)

error: aborting due to 2 previous errors

Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamData::set_video (line 188) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/stream_data_rs_188/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/stream_data_rs_188/rust_out" "target/doctests/stream_data_rs_188/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: can not read symbols: file truncated
          /usr/bin/ld: can not read symbols: file truncated
          /usr/bin/ld: can not read symbols: file truncated
          /usr/bin/ld: .eh_frame/.stab edit: file truncated
          /usr/bin/ld: BFD (GNU Binutils) 2.34 internal error, aborting at /build/binutils/src/binutils-2.34/bfd/merge.c:929 in _bfd_merged_section_offset
          
          /usr/bin/ld: Please report this bug.
          
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/types/stream_data.rs - types::stream_data::StreamData::video (line 188) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "target/doctests/stream_data_rs_188/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "target/doctests/stream_data_rs_188/rust_out" "target/doctests/stream_data_rs_188/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/projects/hls_m3u8/target/debug/deps" "-L" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhls_m3u8-9f8c6f04596a98de.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libthiserror-75865b51786239f1.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libhex-ab89bb5300d75d11.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libstrum-9a49d4f62bfc0ccc.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libchrono-2f354b649aeccdd4.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_integer-638e9997917163d2.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libnum_traits-ff670e3fc43dec41.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/libtime-936caa4620167d91.rlib" "/media/hdd/home/projects/hls_m3u8/target/debug/deps/liblibc-c4cea010f3e0f227.rlib" "-Wl,--start-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ead27d57481cfbe9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56c6fb62320f7811.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8d2fcd39e1f4d52b.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5944518166c58149.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4fdeee5f36a8c692.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-16f33a77941597f2.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8a6103687898629d.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-31d5721b3b8ae283.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-92231c2a8e5f7d44.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d16266792cec1d9.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-91dd04a2ae4de648.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-28582af71d870c45.rlib" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-a81aeca708357101.rlib" "-Wl,--end-group" "/media/hdd/home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b351e0c7ada8bf9.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/Scrt1.o: in function `_start':
          (.text+0x24): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Couldn't compile the test.
---- src/types/stream_data.rs - types::stream_data::StreamDataBuilder::bandwidth (line 38) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamDataBuilder::average_bandwidth (line 76) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamDataBuilder::codecs (line 110) stdout ----
Couldn't run the test: Text file busy (os error 26)
---- src/types/stream_data.rs - types::stream_data::StreamDataBuilder::resolution (line 134) stdout ----
Couldn't run the test: Text file busy (os error 26)

failures:
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::group_id (line 81)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::language (line 101)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::media_type (line 31)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_media_type (line 31)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::set_uri (line 51)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMedia::uri (line 51)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::group_id (line 81)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::language (line 101)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::media_type (line 31)
    src/tags/master_playlist/media.rs - tags::master_playlist::media::ExtXMediaBuilder::uri (line 51)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data (line 75)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::data_id (line 44)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::language (line 103)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data (line 75)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_data_id (line 44)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionData::set_language (line 103)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data (line 75)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::data_id (line 44)
    src/tags/master_playlist/session_data.rs - tags::master_playlist::session_data::ExtXSessionDataBuilder::language (line 103)
    src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31)
    src/tags/media_playlist/discontinuity_sequence.rs - tags::media_playlist::discontinuity_sequence::ExtXDiscontinuitySequence::seq_num (line 31)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format (line 111)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::key_format_versions (line 132)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKey::set_iv (line 84)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::iv (line 84)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::key_format_versions (line 132)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::method (line 39)
    src/tags/media_segment/key.rs - tags::media_segment::key::ExtXKeyBuilder::uri (line 61)
    src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43)
    src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::range (line 43)
    src/tags/media_segment/map.rs - tags::media_segment::map::ExtXMap::set_uri (line 27)
    src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24)
    src/tags/shared/start.rs - tags::shared::start::ExtXStart::is_precise (line 24)
    src/types/byte_range.rs - types::byte_range::ByteRange::end (line 40)
    src/types/byte_range.rs - types::byte_range::ByteRange::start (line 30)
    src/types/channels.rs - types::channels::Channels::number (line 22)
    src/types/channels.rs - types::channels::Channels::number (line 22)
    src/types/channels.rs - types::channels::Channels::set_number (line 22)
    src/types/stream_data.rs - types::stream_data::StreamData::average_bandwidth (line 76)
    src/types/stream_data.rs - types::stream_data::StreamData::bandwidth (line 38)
    src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110)
    src/types/stream_data.rs - types::stream_data::StreamData::codecs (line 110)
    src/types/stream_data.rs - types::stream_data::StreamData::hdcp_level (line 160)
    src/types/stream_data.rs - types::stream_data::StreamData::set_video (line 188)
    src/types/stream_data.rs - types::stream_data::StreamData::video (line 188)
    src/types/stream_data.rs - types::stream_data::StreamDataBuilder::average_bandwidth (line 76)
    src/types/stream_data.rs - types::stream_data::StreamDataBuilder::bandwidth (line 38)
    src/types/stream_data.rs - types::stream_data::StreamDataBuilder::codecs (line 110)
    src/types/stream_data.rs - types::stream_data::StreamDataBuilder::resolution (line 134)

test result: FAILED. 118 passed; 55 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--doc'

I think this is a bug of #56925

@Luro02 Luro02 added the C-bug Category: This is a bug. label Feb 23, 2020
@jonas-schievink jonas-schievink added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. requires-nightly This issue requires a nightly compiler in some way. labels Feb 23, 2020
@Luro02
Copy link
Contributor Author

Luro02 commented Feb 24, 2020

This seems to be an issue related to multi threading, because running this command

RUSTDOCFLAGS="--persist-doctests target/doctests -Z unstable-options" cargo test --doc -- --test-threads=1

makes all tests succeed.

@Luro02
Copy link
Contributor Author

Luro02 commented Feb 25, 2020

I think I found the reason for the failure:

--persist-doctests generates the output directory based on the filename and the line of the doctest.

For example a doc-test in line 1 from file.rs would be named file_rs_1 and inside this folder would be a file called rust_out.

So now imagine a crate structure like this

src/
├── lib.rs
├── module_1
│   ├── file.rs
│   └── mod.rs
└── module_2
    ├── file.rs
    └── mod.rs

where both file.rs have a doc test in the same line. (for example line 1).

Currently, they are treated like the same file, and they overwrite each other:

target/doctests/
└── file_rs_1
    └── rust_out

The same issue is also caused in hls_m3u8, because of my proc_macro called shorthand, which generates getters + setters and forwards the documentation of a field. So each test gets duplicated, but the line stays the same :/


The problem is this piece of code

    let outdir = if let Some(mut path) = options.persist_doctests {
        path.push(format!(
            "{}_{}",
            filename.to_string().rsplit('/').next().unwrap().replace(".", "_"),
            line
        ));
        std::fs::create_dir_all(&path).expect("Couldn't create directory for doctest executables");

        DirState::Perm(path)
    }

let outdir = if let Some(mut path) = options.persist_doctests {

An easy solution for the first problem would be to have folder names like this

    path.push(format!(
        "{}_{}",
        filename.to_string().replace("/", "_").replace(".", "_"),
        line,
    ));

Then both tests would have unique names, module_1_file_rs_1 and module_2_file_rs_1.

I do not know how to fix the problem with the proc-macro.

Centril added a commit to Centril/rust that referenced this issue Mar 30, 2020
…ie27

improve folder name for persistent doc tests

This partially fixes rust-lang#69411 by using the entire path as folder name, but I do not know how to deal with the proc-macro problem, where a doc test is forwarded to multiple generated functions, which have the same line for the doc test (origin).

For example

```rust
#[derive(ShortHand)]
pub struct ExtXMedia {
    /// The [`MediaType`] associated with this tag.
    ///
    /// # Example
    ///
 -> /// ``` <- this line is given to `run_test`
    /// # use hls_m3u8::tags::ExtXMedia;
    /// use hls_m3u8::types::MediaType;
    ///
    /// let mut media = ExtXMedia::new(MediaType::Audio, "ag1", "english audio channel");
    ///
    /// media.set_media_type(MediaType::Video);
    ///
    /// assert_eq!(media.media_type(), MediaType::Video);
    /// ```
    ///
    /// # Note
    ///
    /// This attribute is required.
    #[shorthand(enable(copy))]
    media_type: MediaType,

    // the rest of the fields are omitted
}
```

and my proc macro generates

```rust
#[allow(dead_code)]
impl ExtXMedia {
    /// The [`MediaType`] associated with this tag.
    ///
    /// # Example
    ///
    /// ```
    /// # use hls_m3u8::tags::ExtXMedia;
    /// use hls_m3u8::types::MediaType;
    ///
    /// let mut media = ExtXMedia::new(MediaType::Audio, "ag1", "english audio channel");
    ///
    /// media.set_media_type(MediaType::Video);
    ///
    /// assert_eq!(media.media_type(), MediaType::Video);
    /// ```
    ///
    /// # Note
    ///
    /// This attribute is required.
    #[inline(always)]
    #[must_use]
    pub fn media_type(&self) -> MediaType {
        struct _AssertCopy
        where
            MediaType: ::std::marker::Copy;
        self.media_type
    }
    /// The [`MediaType`] associated with this tag.
    ///
    /// # Example
    ///
    /// ```
    /// # use hls_m3u8::tags::ExtXMedia;
    /// use hls_m3u8::types::MediaType;
    ///
    /// let mut media = ExtXMedia::new(MediaType::Audio, "ag1", "english audio channel");
    ///
    /// media.set_media_type(MediaType::Video);
    ///
    /// assert_eq!(media.media_type(), MediaType::Video);
    /// ```
    ///
    /// # Note
    ///
    /// This attribute is required.
    #[inline(always)]
    pub fn set_media_type<VALUE: ::std::convert::Into<MediaType>>(
        &mut self,
        value: VALUE,
    ) -> &mut Self {
        self.media_type = value.into();
        self
    }
}
```

rustdoc then executes both tests with the same line (the line from the example above the field -> 2 different tests have the same name). We need a way to differentiate between the two tests generated by the proc-macro, so that they do not cause threading issues.
@bors bors closed this as completed in 3e31006 Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. requires-nightly This issue requires a nightly compiler in some way. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants