[INFO] fetching crate rust-htslib 0.49.0... [INFO] checking rust-htslib-0.49.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rust-htslib 0.49.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-htslib 0.49.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libdeflate-sys v1.24.0 [INFO] [stderr] Downloaded hts-sys v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4093fe8d19fc77fe41606c35219dc9c476dcbd3083462b5e252293032221d949 [INFO] running `Command { std: "docker" "start" "-a" "4093fe8d19fc77fe41606c35219dc9c476dcbd3083462b5e252293032221d949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4093fe8d19fc77fe41606c35219dc9c476dcbd3083462b5e252293032221d949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4093fe8d19fc77fe41606c35219dc9c476dcbd3083462b5e252293032221d949", kill_on_drop: false }` [INFO] [stdout] 4093fe8d19fc77fe41606c35219dc9c476dcbd3083462b5e252293032221d949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 846d83634a0341949af7a973b1ce439e38b5d957f4c72871b5e0b261e9fc9917 [INFO] running `Command { std: "docker" "start" "-a" "846d83634a0341949af7a973b1ce439e38b5d957f4c72871b5e0b261e9fc9917", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking percent-encoding v2.3.1 [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 heck v0.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl-src v300.5.0+3.5.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling curl-sys v0.4.82+curl-8.14.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking regex v1.11.1 [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 strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling hts-sys v2.2.0 [INFO] [stderr] Checking 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 + '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] [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" "846d83634a0341949af7a973b1ce439e38b5d957f4c72871b5e0b261e9fc9917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846d83634a0341949af7a973b1ce439e38b5d957f4c72871b5e0b261e9fc9917", kill_on_drop: false }` [INFO] [stdout] 846d83634a0341949af7a973b1ce439e38b5d957f4c72871b5e0b261e9fc9917