[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] building NickRoz1/gbam against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NickRoz1/gbam on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding brotli v3.5.0 (available: v8.0.2) [INFO] [stderr] Adding flume v0.10.14 (available: v0.11.1) [INFO] [stderr] Adding indicatif v0.16.2 (available: v0.18.0) [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.11.5) [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.8) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.8) [INFO] [stderr] Adding num_cpus v0.2.13 (available: v1.17.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rust-htslib v0.39.5 (available: v0.50.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linear-map v1.2.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded zstd v0.12.4 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded memmap2 v0.7.1 [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded zstd-safe v6.0.6 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded console v0.16.1 [INFO] [stderr] Downloaded bio-types v1.0.4 [INFO] [stderr] Downloaded lz4_flex v0.8.2 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded lzzzz v1.1.0 [INFO] [stderr] Downloaded rust-htslib v0.39.5 [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded fs-utils v1.1.4 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] [stderr] Downloaded hts-sys v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e92c814cf8f3654531fe99d269f8e318766afff954fb9a31c8da302a59cba0 [INFO] running `Command { std: "docker" "start" "-a" "69e92c814cf8f3654531fe99d269f8e318766afff954fb9a31c8da302a59cba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e92c814cf8f3654531fe99d269f8e318766afff954fb9a31c8da302a59cba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e92c814cf8f3654531fe99d269f8e318766afff954fb9a31c8da302a59cba0", kill_on_drop: false }` [INFO] [stdout] 69e92c814cf8f3654531fe99d269f8e318766afff954fb9a31c8da302a59cba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9670223f68e7a26a5b1eca18af68ea3a98832923ec05d3948320a5777b6d7ecf [INFO] running `Command { std: "docker" "start" "-a" "9670223f68e7a26a5b1eca18af68ea3a98832923ec05d3948320a5777b6d7ecf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lz4_flex v0.8.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [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 xz2 v0.1.7 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regex v1.11.3 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling bio-types v1.0.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling bam_tools v0.1.0 (/opt/rustwide/workdir/bam_tools) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.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.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | _number_of_records: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SIZE_LIMIT` [INFO] [stdout] | [INFO] [stdout] 67 - number_of_records: usize, [INFO] [stdout] 67 + SIZE_LIMIT: usize, [INFO] [stdout] | [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 1m 06s [INFO] running `Command { std: "docker" "inspect" "9670223f68e7a26a5b1eca18af68ea3a98832923ec05d3948320a5777b6d7ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9670223f68e7a26a5b1eca18af68ea3a98832923ec05d3948320a5777b6d7ecf", kill_on_drop: false }` [INFO] [stdout] 9670223f68e7a26a5b1eca18af68ea3a98832923ec05d3948320a5777b6d7ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 176e22587771b9b2f1190460a3d519cb9b77290d150fb087f9f61175d1bf8418 [INFO] running `Command { std: "docker" "start" "-a" "176e22587771b9b2f1190460a3d519cb9b77290d150fb087f9f61175d1bf8418", 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 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] [stderr] Compiling bam_tools v0.1.0 (/opt/rustwide/workdir/bam_tools) [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | _number_of_records: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SIZE_LIMIT` [INFO] [stdout] | [INFO] [stdout] 67 - number_of_records: usize, [INFO] [stdout] 67 + SIZE_LIMIT: usize, [INFO] [stdout] | [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: 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: 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 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | _number_of_records: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SIZE_LIMIT` [INFO] [stdout] | [INFO] [stdout] 67 - number_of_records: usize, [INFO] [stdout] 67 + SIZE_LIMIT: usize, [INFO] [stdout] | [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 2.54s [INFO] running `Command { std: "docker" "inspect" "176e22587771b9b2f1190460a3d519cb9b77290d150fb087f9f61175d1bf8418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176e22587771b9b2f1190460a3d519cb9b77290d150fb087f9f61175d1bf8418", kill_on_drop: false }` [INFO] [stdout] 176e22587771b9b2f1190460a3d519cb9b77290d150fb087f9f61175d1bf8418