[INFO] fetching crate rust-htslib 0.49.0...
[INFO] testing rust-htslib-0.49.0 against beta-2025-06-26 for beta-1.89-1
[INFO] extracting crate rust-htslib 0.49.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate rust-htslib 0.49.0
[INFO] finished tweaking crates.io crate rust-htslib 0.49.0
[INFO] tweaked toml for crates.io crate rust-htslib 0.49.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-htslib 0.49.0 on toolchain beta-2025-06-26
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 125 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v2.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2259d96ffd940a079763645c6175a92993769d4d2a2e29f323f469c49e705f8a
[INFO] running `Command { std: "docker" "start" "-a" "2259d96ffd940a079763645c6175a92993769d4d2a2e29f323f469c49e705f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2259d96ffd940a079763645c6175a92993769d4d2a2e29f323f469c49e705f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2259d96ffd940a079763645c6175a92993769d4d2a2e29f323f469c49e705f8a", kill_on_drop: false }`
[INFO] [stdout] 2259d96ffd940a079763645c6175a92993769d4d2a2e29f323f469c49e705f8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6695318bec8dc7f0af2ee6155f302447173df596664c9c9743938b459d978f83
[INFO] running `Command { std: "docker" "start" "-a" "6695318bec8dc7f0af2ee6155f302447173df596664c9c9743938b459d978f83", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling openssl-src v300.5.1+3.5.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling curl-sys v0.4.82+curl-8.14.1
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling fs-utils v1.1.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling newtype_derive v0.1.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling derive-new v0.6.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]    Compiling ieee754 v0.2.6
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling linear-map v1.2.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling hts-sys v2.2.0
[INFO] [stderr]    Compiling bio-types v1.0.4
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rust-htslib v0.49.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]     --> src/bam/mod.rs:1395:45
[INFO] [stdout]      |
[INFO] [stdout] 1395 |             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout]      |                                             ^          ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1395 -             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout] 1395 +             let rec = htslib::sam_hdr_parse(l_text + 1, text as *const c_char);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]    --> src/bcf/record.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct BufferBacked<'a, T: 'a + fmt::Debug, B: Borrow<Buffer> + 'a> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 133 |     value: T,
[INFO] [stdout] 134 |     buffer: B,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BufferBacked` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hts_format` is never read
[INFO] [stdout]   --> src/tbx/mod.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 94 |     hts_format: htslib::htsExactFormat,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/buffer.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn iter(&self) -> vec_deque::Iter<Rc<bam::Record>> {
[INFO] [stdout]     |                 ^^^^^     -------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn iter(&self) -> vec_deque::Iter<'_, Rc<bam::Record>> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/buffer.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn iter_mut(&mut self) -> vec_deque::IterMut<Rc<bam::Record>> {
[INFO] [stdout]     |                     ^^^^^^^^^     ----------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn iter_mut(&mut self) -> vec_deque::IterMut<'_, Rc<bam::Record>> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/header.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn comments(&self) -> impl Iterator<Item = Cow<str>> {
[INFO] [stdout]     |                     ^^^^^                          -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn comments(&self) -> impl Iterator<Item = Cow<'_, str>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `hts_sys::bam1_t` does not permit being left uninitialized
[INFO] [stdout]    --> src/bam/record.rs:140:42
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 let mut inner = unsafe { MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/record.rs:781:21
[INFO] [stdout]     |
[INFO] [stdout] 781 |     pub fn aux_iter(&self) -> AuxIter {
[INFO] [stdout]     |                     ^^^^^     ------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 781 |     pub fn aux_iter(&self) -> AuxIter<'_> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1066:26
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn basemods_iter(&self) -> Result<BaseModificationsIter> {
[INFO] [stdout]      |                          ^^^^^            --------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn basemods_iter(&self) -> Result<BaseModificationsIter<'_>> {
[INFO] [stdout]      |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1073:35
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     pub fn basemods_position_iter(&self) -> Result<BaseModificationsPositionIter> {
[INFO] [stdout]      |                                   ^^^^^            ----------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                                   |
[INFO] [stdout]      |                                   this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     pub fn basemods_position_iter(&self) -> Result<BaseModificationsPositionIter<'_>> {
[INFO] [stdout]      |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1452:17
[INFO] [stdout]      |
[INFO] [stdout] 1452 |     pub fn iter(&self) -> AuxArrayIter<T> {
[INFO] [stdout]      |                 ^^^^^     --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1452 |     pub fn iter(&self) -> AuxArrayIter<'_, T> {
[INFO] [stdout]      |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] running `Command { std: "docker" "inspect" "6695318bec8dc7f0af2ee6155f302447173df596664c9c9743938b459d978f83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6695318bec8dc7f0af2ee6155f302447173df596664c9c9743938b459d978f83", kill_on_drop: false }`
[INFO] [stdout] 6695318bec8dc7f0af2ee6155f302447173df596664c9c9743938b459d978f83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 123574636bc988df2a40cc3ff18524779183734cd695199010b73708c8350a1d
[INFO] running `Command { std: "docker" "start" "-a" "123574636bc988df2a40cc3ff18524779183734cd695199010b73708c8350a1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling hts-sys v2.2.0
[INFO] [stderr]    Compiling rust-htslib v0.49.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]     --> src/bam/mod.rs:1395:45
[INFO] [stdout]      |
[INFO] [stdout] 1395 |             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout]      |                                             ^          ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1395 -             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout] 1395 +             let rec = htslib::sam_hdr_parse(l_text + 1, text as *const c_char);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/bgzf/../../test/bgzip/plain.vcf`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/bgzf/mod.rs:312:27
[INFO] [stdout]     |
[INFO] [stdout] 312 |     const CONTENT: &str = include_str!("../../test/bgzip/plain.vcf");
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]     --> src/bam/mod.rs:1395:45
[INFO] [stdout]      |
[INFO] [stdout] 1395 |             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout]      |                                             ^          ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1395 -             let rec = htslib::sam_hdr_parse((l_text + 1), text as *const c_char);
[INFO] [stdout] 1395 +             let rec = htslib::sam_hdr_parse(l_text + 1, text as *const c_char);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/bcf/header.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]    --> src/bcf/record.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct BufferBacked<'a, T: 'a + fmt::Debug, B: Borrow<Buffer> + 'a> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 133 |     value: T,
[INFO] [stdout] 134 |     buffer: B,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BufferBacked` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hts_format` is never read
[INFO] [stdout]   --> src/tbx/mod.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 94 |     hts_format: htslib::htsExactFormat,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/buffer.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn iter(&self) -> vec_deque::Iter<Rc<bam::Record>> {
[INFO] [stdout]     |                 ^^^^^     -------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn iter(&self) -> vec_deque::Iter<'_, Rc<bam::Record>> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/buffer.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn iter_mut(&mut self) -> vec_deque::IterMut<Rc<bam::Record>> {
[INFO] [stdout]     |                     ^^^^^^^^^     ----------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn iter_mut(&mut self) -> vec_deque::IterMut<'_, Rc<bam::Record>> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/header.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn comments(&self) -> impl Iterator<Item = Cow<str>> {
[INFO] [stdout]     |                     ^^^^^                          -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn comments(&self) -> impl Iterator<Item = Cow<'_, str>> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `hts_sys::bam1_t` does not permit being left uninitialized
[INFO] [stdout]    --> src/bam/record.rs:140:42
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 let mut inner = unsafe { MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/bam/record.rs:781:21
[INFO] [stdout]     |
[INFO] [stdout] 781 |     pub fn aux_iter(&self) -> AuxIter {
[INFO] [stdout]     |                     ^^^^^     ------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 781 |     pub fn aux_iter(&self) -> AuxIter<'_> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1066:26
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn basemods_iter(&self) -> Result<BaseModificationsIter> {
[INFO] [stdout]      |                          ^^^^^            --------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn basemods_iter(&self) -> Result<BaseModificationsIter<'_>> {
[INFO] [stdout]      |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1073:35
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     pub fn basemods_position_iter(&self) -> Result<BaseModificationsPositionIter> {
[INFO] [stdout]      |                                   ^^^^^            ----------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                                   |
[INFO] [stdout]      |                                   this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     pub fn basemods_position_iter(&self) -> Result<BaseModificationsPositionIter<'_>> {
[INFO] [stdout]      |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/bam/record.rs:1452:17
[INFO] [stdout]      |
[INFO] [stdout] 1452 |     pub fn iter(&self) -> AuxArrayIter<T> {
[INFO] [stdout]      |                 ^^^^^     --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1452 |     pub fn iter(&self) -> AuxArrayIter<'_, T> {
[INFO] [stdout]      |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/bam/mod.rs:3030:17
[INFO] [stdout]      |
[INFO] [stdout] 3030 |             let mut record = Record::new();
[INFO] [stdout]      |                 ----^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-htslib` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "123574636bc988df2a40cc3ff18524779183734cd695199010b73708c8350a1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "123574636bc988df2a40cc3ff18524779183734cd695199010b73708c8350a1d", kill_on_drop: false }`
[INFO] [stdout] 123574636bc988df2a40cc3ff18524779183734cd695199010b73708c8350a1d
