[INFO] fetching crate rust-htslib 0.49.0... [INFO] testing rust-htslib-0.49.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust-htslib 0.49.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-htslib 0.49.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded linear-map v1.2.0 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded fs-utils v1.1.4 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded bio-types v1.0.4 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded libdeflate-sys v1.24.0 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded curl-sys v0.4.82+curl-8.14.1 [INFO] [stderr] Downloaded hts-sys v2.2.0 [INFO] [stderr] Downloaded openssl-src v300.5.0+3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88d930712d799e9a1b20de703ab5cb1bbc60161e1c86b1e9df4dd78d666d2507 [INFO] running `Command { std: "docker" "start" "-a" "88d930712d799e9a1b20de703ab5cb1bbc60161e1c86b1e9df4dd78d666d2507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88d930712d799e9a1b20de703ab5cb1bbc60161e1c86b1e9df4dd78d666d2507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d930712d799e9a1b20de703ab5cb1bbc60161e1c86b1e9df4dd78d666d2507", kill_on_drop: false }` [INFO] [stdout] 88d930712d799e9a1b20de703ab5cb1bbc60161e1c86b1e9df4dd78d666d2507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fd2e8cefc9eaa372d109ea959ed0e3bc1aa0ae326b79c572e6ddeff3ecca23b8 [INFO] running `Command { std: "docker" "start" "-a" "fd2e8cefc9eaa372d109ea959ed0e3bc1aa0ae326b79c572e6ddeff3ecca23b8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-src v300.5.0+3.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling bio-types v1.0.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 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] 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 + '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> { [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> { [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> { [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> { [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> { [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> { [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` 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 { [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> { [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 { [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> { [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 { [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 2m 28s [INFO] running `Command { std: "docker" "inspect" "fd2e8cefc9eaa372d109ea959ed0e3bc1aa0ae326b79c572e6ddeff3ecca23b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2e8cefc9eaa372d109ea959ed0e3bc1aa0ae326b79c572e6ddeff3ecca23b8", kill_on_drop: false }` [INFO] [stdout] fd2e8cefc9eaa372d109ea959ed0e3bc1aa0ae326b79c572e6ddeff3ecca23b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2aa7d940caf5637048b85b3f32ddc4cb0a6e50294ad512c383e02848e01eefeb [INFO] running `Command { std: "docker" "start" "-a" "2aa7d940caf5637048b85b3f32ddc4cb0a6e50294ad512c383e02848e01eefeb", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [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 + '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> { [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> { [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> { [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> { [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> { [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> { [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` 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 { [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> { [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 { [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> { [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 { [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] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rust-htslib v0.49.0 (/opt/rustwide/workdir) [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: 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" "2aa7d940caf5637048b85b3f32ddc4cb0a6e50294ad512c383e02848e01eefeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa7d940caf5637048b85b3f32ddc4cb0a6e50294ad512c383e02848e01eefeb", kill_on_drop: false }` [INFO] [stdout] 2aa7d940caf5637048b85b3f32ddc4cb0a6e50294ad512c383e02848e01eefeb