[INFO] cloning repository https://github.com/NickRoz1/gbam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NickRoz1/gbam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90ef03c8d50bdcc30b4d42796d7aa87b02d36522 [INFO] testing NickRoz1/gbam against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NickRoz1/gbam [INFO] finished tweaking git repo https://github.com/NickRoz1/gbam [INFO] tweaked toml for git repo https://github.com/NickRoz1/gbam written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NickRoz1/gbam on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "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" "+1.97.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.1) [INFO] [stderr] Adding brotli v3.5.0 (available: v8.0.3) [INFO] [stderr] Adding flume v0.10.14 (available: v0.12.0) [INFO] [stderr] Adding indicatif v0.16.2 (available: v0.18.4) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding lz4_flex v0.8.2 (available: v0.13.1) [INFO] [stderr] Adding lzzzz v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding md5 v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding memmap2 v0.3.1 (available: v0.9.10) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.10) [INFO] [stderr] Adding num_cpus v0.2.13 (available: v1.17.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] [stderr] Adding rust-htslib v0.39.5 (available: v1.0.0) [INFO] [stderr] Adding zstd v0.12.4 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a77c987946c164e793f7ec5a64b82d8a008175ec4056db4b24d811bab9ea20b [INFO] running `Command { std: "docker" "start" "-a" "8a77c987946c164e793f7ec5a64b82d8a008175ec4056db4b24d811bab9ea20b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a77c987946c164e793f7ec5a64b82d8a008175ec4056db4b24d811bab9ea20b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a77c987946c164e793f7ec5a64b82d8a008175ec4056db4b24d811bab9ea20b", kill_on_drop: false }` [INFO] [stdout] 8a77c987946c164e793f7ec5a64b82d8a008175ec4056db4b24d811bab9ea20b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa2f577e74e1f11690f2251a1de744cc57e0b3dc6422f0935a16af9c024fa61b [INFO] running `Command { std: "docker" "start" "-a" "aa2f577e74e1f11690f2251a1de744cc57e0b3dc6422f0935a16af9c024fa61b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling zerocopy v0.8.49 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling lz4_flex v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling console v0.16.3 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.28 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling hts-sys v2.2.0 [INFO] [stderr] Compiling lzzzz v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling pin-project v1.1.13 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling bio-types v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bam_tools v0.1.0 (/opt/rustwide/workdir/bam_tools) [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stdout] warning: field `track_progress` is never read [INFO] [stdout] --> bam_tools/src/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | track_progress: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `get_refid` are never used [INFO] [stdout] --> bam_tools/src/record/bamrawrecord.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> BAMRawRecord<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn get_refid(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bam_tools/src/sorting/sort.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> bam_tools/src/reader/records.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 16 - pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] 16 + pub(crate) fn new(reader: &'a mut Reader) -> Records<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rust-htslib v0.39.5 [INFO] [stderr] Compiling gbam_tools v0.1.0 (/opt/rustwide/workdir/gbam_tools) [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/lib.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(feature = "python-ffi"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/reader/parse_tmplt.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "python-ffi")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `OnceLock` [INFO] [stdout] --> gbam_tools/src/compressor.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Mutex, OnceLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write as FmtWrite` [INFO] [stdout] --> gbam_tools/src/compressor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::Write as FmtWrite; // For formatting into String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bam_tools::record::fields::Fields` [INFO] [stdout] --> gbam_tools/src/compressor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bam_tools::record::fields::Fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> gbam_tools/src/compressor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> gbam_tools/src/writer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> gbam_tools/src/reader/column.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_meta` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | file_meta: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_records` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | number_of_records: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let file = gbam_file.try_clone().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_line` [INFO] [stdout] --> gbam_tools/src/compressor.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let log_line = format!( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_leftmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | fn find_leftmost_block(id: i32, block_metas: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rightmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_rightmost_block(id: i32, block_metas: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/reader/reader.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/query/cigar.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter<'_, Op> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gbam_binary v0.1.0 (/opt/rustwide/workdir/gbam_binary) [INFO] [stdout] warning: function `parse_tag` is never used [INFO] [stdout] --> gbam_binary/src/main.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn parse_tag(tags: &[u8], target_tag: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.37s [INFO] running `Command { std: "docker" "inspect" "aa2f577e74e1f11690f2251a1de744cc57e0b3dc6422f0935a16af9c024fa61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2f577e74e1f11690f2251a1de744cc57e0b3dc6422f0935a16af9c024fa61b", kill_on_drop: false }` [INFO] [stdout] aa2f577e74e1f11690f2251a1de744cc57e0b3dc6422f0935a16af9c024fa61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dccedf0f9db2936eb60c470f64d260ac2ac3033a7252a84699de24f9f3c3012 [INFO] running `Command { std: "docker" "start" "-a" "2dccedf0f9db2936eb60c470f64d260ac2ac3033a7252a84699de24f9f3c3012", kill_on_drop: false }` [INFO] [stdout] warning: field `track_progress` is never read [INFO] [stdout] --> bam_tools/src/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | track_progress: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `get_refid` are never used [INFO] [stdout] --> bam_tools/src/record/bamrawrecord.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> BAMRawRecord<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn get_refid(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bam_tools/src/sorting/sort.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> bam_tools/src/reader/records.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 16 - pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] 16 + pub(crate) fn new(reader: &'a mut Reader) -> Records<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bam_tools v0.1.0 (/opt/rustwide/workdir/bam_tools) [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/lib.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(feature = "python-ffi"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/reader/parse_tmplt.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "python-ffi")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `OnceLock` [INFO] [stdout] --> gbam_tools/src/compressor.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Mutex, OnceLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write as FmtWrite` [INFO] [stdout] --> gbam_tools/src/compressor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::Write as FmtWrite; // For formatting into String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bam_tools::record::fields::Fields` [INFO] [stdout] --> gbam_tools/src/compressor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bam_tools::record::fields::Fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> gbam_tools/src/compressor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> gbam_tools/src/writer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> gbam_tools/src/reader/column.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_meta` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | file_meta: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_records` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | number_of_records: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let file = gbam_file.try_clone().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_line` [INFO] [stdout] --> gbam_tools/src/compressor.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let log_line = format!( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_leftmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | fn find_leftmost_block(id: i32, block_metas: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rightmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_rightmost_block(id: i32, block_metas: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/reader/reader.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/query/cigar.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter<'_, Op> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gbam_tools v0.1.0 (/opt/rustwide/workdir/gbam_tools) [INFO] [stderr] Compiling gbam_binary v0.1.0 (/opt/rustwide/workdir/gbam_binary) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/lib.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(feature = "python-ffi"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stdout] --> gbam_tools/src/reader/parse_tmplt.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "python-ffi")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `OnceLock` [INFO] [stdout] --> gbam_tools/src/compressor.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Mutex, OnceLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write as FmtWrite` [INFO] [stdout] --> gbam_tools/src/compressor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::Write as FmtWrite; // For formatting into String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bam_tools::record::fields::Fields` [INFO] [stdout] --> gbam_tools/src/compressor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bam_tools::record::fields::Fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> gbam_tools/src/compressor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> gbam_tools/src/writer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> gbam_tools/src/reader/column.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_progress` is never read [INFO] [stdout] --> bam_tools/src/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | track_progress: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `get_refid` are never used [INFO] [stdout] --> bam_tools/src/record/bamrawrecord.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> BAMRawRecord<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn get_refid(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bam_tools/src/sorting/sort.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple, usize) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | pub fn get_key(&self) -> (&KeyTuple<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> bam_tools/src/reader/records.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 16 - pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stdout] 16 + pub(crate) fn new(reader: &'a mut Reader) -> Records<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_meta` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | file_meta: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_records` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | number_of_records: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> gbam_tools/src/query/depth.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let file = gbam_file.try_clone().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_line` [INFO] [stdout] --> gbam_tools/src/compressor.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let log_line = format!( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_leftmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | fn find_leftmost_block(id: i32, block_metas: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rightmost_block` is never used [INFO] [stdout] --> gbam_tools/src/query/depth.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_rightmost_block(id: i32, block_metas: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/reader/reader.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn records(&mut self) -> Records<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/query/cigar.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ops(&self) -> Iter<'_, Op> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> gbam_tools/src/writer.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "2dccedf0f9db2936eb60c470f64d260ac2ac3033a7252a84699de24f9f3c3012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dccedf0f9db2936eb60c470f64d260ac2ac3033a7252a84699de24f9f3c3012", kill_on_drop: false }` [INFO] [stdout] 2dccedf0f9db2936eb60c470f64d260ac2ac3033a7252a84699de24f9f3c3012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4378f459045426176bf2489c4b2f684a705b6734846f5aa2a20c726f151cea32 [INFO] running `Command { std: "docker" "start" "-a" "4378f459045426176bf2489c4b2f684a705b6734846f5aa2a20c726f151cea32", kill_on_drop: false }` [INFO] [stderr] warning: field `track_progress` is never read [INFO] [stderr] --> bam_tools/src/reader.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Reader { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | track_progress: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_name` and `get_refid` are never used [INFO] [stderr] --> bam_tools/src/record/bamrawrecord.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 15 | impl<'a> BAMRawRecord<'a> { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub(crate) fn get_name(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub(crate) fn get_refid(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> bam_tools/src/sorting/sort.rs:464:20 [INFO] [stderr] | [INFO] [stderr] 464 | pub fn get_key(&self) -> (&KeyTuple, usize) { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 464 | pub fn get_key(&self) -> (&KeyTuple<'_>, usize) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> bam_tools/src/reader/records.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stderr] | -- ^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 16 - pub(crate) fn new(reader: &'a mut Reader) -> Records<'_> { [INFO] [stderr] 16 + pub(crate) fn new(reader: &'a mut Reader) -> Records<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bam_tools` (lib) generated 4 warnings (run `cargo fix --lib -p bam_tools` to apply 2 suggestions) [INFO] [stderr] warning: `bam_tools` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stderr] --> gbam_tools/src/lib.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg(not(feature = "python-ffi"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python-ffi` [INFO] [stderr] --> gbam_tools/src/reader/parse_tmplt.rs:133:7 [INFO] [stderr] | [INFO] [stderr] 133 | #[cfg(feature = "python-ffi")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `python-ffi` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mutex` and `OnceLock` [INFO] [stderr] --> gbam_tools/src/compressor.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | use std::sync::{Mutex, OnceLock}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Write as FmtWrite` [INFO] [stderr] --> gbam_tools/src/compressor.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::fmt::Write as FmtWrite; // For formatting into String [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bam_tools::record::fields::Fields` [INFO] [stderr] --> gbam_tools/src/compressor.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use bam_tools::record::fields::Fields; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> gbam_tools/src/compressor.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> gbam_tools/src/writer.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> gbam_tools/src/reader/column.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_meta` [INFO] [stderr] --> gbam_tools/src/query/depth.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | file_meta: Arc, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `number_of_records` [INFO] [stderr] --> gbam_tools/src/query/depth.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | number_of_records: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_records` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> gbam_tools/src/query/depth.rs:368:17 [INFO] [stderr] | [INFO] [stderr] 368 | let file = gbam_file.try_clone().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `log_line` [INFO] [stderr] --> gbam_tools/src/compressor.rs:97:21 [INFO] [stderr] | [INFO] [stderr] 97 | let log_line = format!( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_line` [INFO] [stderr] [INFO] [stderr] warning: function `find_leftmost_block` is never used [INFO] [stderr] --> gbam_tools/src/query/depth.rs:438:4 [INFO] [stderr] | [INFO] [stderr] 438 | fn find_leftmost_block(id: i32, block_metas: &Vec) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `find_rightmost_block` is never used [INFO] [stderr] --> gbam_tools/src/query/depth.rs:462:4 [INFO] [stderr] | [INFO] [stderr] 462 | fn find_rightmost_block(id: i32, block_metas: &Vec) -> i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/reader/reader.rs:121:20 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn records(&mut self) -> Records { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | pub fn records(&mut self) -> Records<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/query/cigar.rs:80:16 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn ops(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn ops(&self) -> Iter<'_, Op> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/writer.rs:321:23 [INFO] [stderr] | [INFO] [stderr] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 321 | pub fn write_data(&mut self, data: &[u8]) -> WriteStatus<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/writer.rs:370:27 [INFO] [stderr] | [INFO] [stderr] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 370 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/writer.rs:388:27 [INFO] [stderr] | [INFO] [stderr] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 388 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> gbam_tools/src/writer.rs:426:27 [INFO] [stderr] | [INFO] [stderr] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 426 | fn write_record_field(&mut self, rec: &BAMRawRecord) -> WriteStatus<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `gbam_tools` (lib) generated 20 warnings (run `cargo fix --lib -p gbam_tools` to apply 15 suggestions) [INFO] [stderr] warning: `gbam_tools` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bam_tools-ff1c2157b9fb9035) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test block::tests::test_data_mut ... ok [INFO] [stdout] test block::tests::test_set_len ... ok [INFO] [stdout] test block::tests::test_virtual_position ... ok [INFO] [stdout] test sorting::flags::tests::test_contains ... ok [INFO] [stdout] test block::tests::test_set_position ... ok [INFO] [stdout] test block::tests::test_is_eof ... ok [INFO] [stdout] test sorting::flags::tests::test_from_flags_for_u16 ... ok [INFO] [stdout] test virtual_position::tests::test_from_u64_for_virtual_position ... ok [INFO] [stdout] test sorting::flags::tests::test_default ... ok [INFO] [stdout] test sorting::flags::tests::test_from_u16_for_flags ... ok [INFO] [stdout] test virtual_position::tests::test_try_from_u64_u16_tuple_for_virtual_position ... ok [INFO] [stdout] test virtual_position::tests::test_from_virtual_position_for_u64_u16_tuple ... ok [INFO] [stdout] test virtual_position::tests::test_from_virtual_position_for_u64 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gbam_binary-0026bdf9e81516bf) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_parse_tag_with_exact_match ... ok [INFO] [stdout] test tests::test_parse_tag_with_multiple_tags ... ok [INFO] [stdout] test tests::test_parse_tag_with_longer_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_nonexistent_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_empty_tags ... ok [INFO] [stdout] test tests::test_parse_tag_with_empty_target_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_no_null_terminator ... ok [INFO] [stdout] test tests::test_parse_tag_with_partial_tag_match ... ok [INFO] [stdout] test tests::test_parse_tag_with_null_terminator_at_end ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gbam_tools-496cd054341c9fe3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test utils::bed::tests::test_region_query ... ok [INFO] [stdout] test utils::bed::tests::test_bed_reader ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::bed::tests::test_bed_reader stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::bed::tests::test_bed_reader' (41) panicked at gbam_tools/src/utils/bed.rs:112:42: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Kind(InvalidData) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x603b6387cfa8 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x603b6387cfa8 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x603b6387cfa8 - std[d04d96f94fe49f48]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x603b6387cfa8 - <::print::DisplayBacktrace as core[62a6a15d25c41f78]::fmt::Display>::fmt [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x603b63890dba - ::fmt [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x603b63890dba - core[62a6a15d25c41f78]::fmt::write [INFO] [stdout] 6: 0x603b638817c2 - std[d04d96f94fe49f48]::io::default_write_fmt::> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x603b638817c2 - as std[d04d96f94fe49f48]::io::Write>::write_fmt [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x603b6385c166 - ::print [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x603b6385c166 - std[d04d96f94fe49f48]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x603b63875549 - std[d04d96f94fe49f48]::panicking::default_hook [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x603b63807d7c - core[62a6a15d25c41f78]::ops::function::Fn<(&'a std[d04d96f94fe49f48]::panic::PanicHookInfo<'b>,), Output = ()> + core[62a6a15d25c41f78]::marker::Send + core[62a6a15d25c41f78]::marker::Sync> as core[62a6a15d25c41f78]::ops::function::Fn<(&std[d04d96f94fe49f48]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 12: 0x603b63807d7c - test[692ded6b456f550c]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x603b63875702 - core[62a6a15d25c41f78]::ops::function::Fn<(&'a std[d04d96f94fe49f48]::panic::PanicHookInfo<'b>,), Output = ()> + core[62a6a15d25c41f78]::marker::Send + core[62a6a15d25c41f78]::marker::Sync> as core[62a6a15d25c41f78]::ops::function::Fn<(&std[d04d96f94fe49f48]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 14: 0x603b63875702 - std[d04d96f94fe49f48]::panicking::panic_with_hook [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x603b6385c222 - std[d04d96f94fe49f48]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x603b63853bb9 - std[d04d96f94fe49f48]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x603b6385cf3d - __rustc[7f3d614e80e58542]::rust_begin_unwind [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x603b638914ec - core[62a6a15d25c41f78]::panicking::panic_fmt [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x603b638912c2 - core[62a6a15d25c41f78]::result::unwrap_failed [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x603b637f86c4 - >, std[d04d96f94fe49f48]::io::error::Error>>::unwrap [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x603b637f86c4 - gbam_tools[7c36f6643b9c30d4]::utils::bed::tests::test_bed_reader [INFO] [stdout] at /opt/rustwide/workdir/gbam_tools/src/utils/bed.rs:112:42 [INFO] [stdout] 22: 0x603b637f53c7 - gbam_tools[7c36f6643b9c30d4]::utils::bed::tests::test_bed_reader::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/gbam_tools/src/utils/bed.rs:106:25 [INFO] [stdout] 23: 0x603b637fad76 - >::call_once [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x603b637fae5b - core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x603b637fae5b - test[692ded6b456f550c]::__rust_begin_short_backtrace::, fn() -> core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x603b638086d5 - test[692ded6b456f550c]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x603b638086d5 - as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x603b638086d5 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::, core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x603b638086d5 - std[d04d96f94fe49f48]::panicking::catch_unwind::, core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x603b638086d5 - std[d04d96f94fe49f48]::panic::catch_unwind::, core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x603b638086d5 - test[692ded6b456f550c]::run_test_in_process [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x603b638086d5 - test[692ded6b456f550c]::run_test::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x603b63803234 - test[692ded6b456f550c]::run_test::{closure#1} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x603b63803234 - std[d04d96f94fe49f48]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x603b6380b752 - std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x603b6380b752 - ::{closure#1}::{closure#0}> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x603b6380b752 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x603b6380b752 - std[d04d96f94fe49f48]::panicking::catch_unwind::<(), core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x603b6380b752 - std[d04d96f94fe49f48]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x603b6380b752 - std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x603b6380b752 - ::{closure#1} as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x603b6387c90f - + core[62a6a15d25c41f78]::marker::Send> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2275:9 [INFO] [stdout] 43: 0x603b6387c90f - ::new::thread_start [INFO] [stdout] at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71e5f82a9aa4 - [INFO] [stdout] 45: 0x71e5f8336a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::bed::tests::test_bed_reader [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p gbam_tools --lib` [INFO] running `Command { std: "docker" "inspect" "4378f459045426176bf2489c4b2f684a705b6734846f5aa2a20c726f151cea32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4378f459045426176bf2489c4b2f684a705b6734846f5aa2a20c726f151cea32", kill_on_drop: false }` [INFO] [stdout] 4378f459045426176bf2489c4b2f684a705b6734846f5aa2a20c726f151cea32