[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.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NickRoz1/gbam on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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.6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 173 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.13.0) [INFO] [stderr] Adding brotli v3.5.0 (available: v8.0.4) [INFO] [stderr] Adding flume v0.10.14 (available: v0.12.0) [INFO] [stderr] Adding indicatif v0.16.2 (available: v0.18.6) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.15.0) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.15.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.11) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.11) [INFO] [stderr] Adding num_cpus v0.2.13 (available: v1.17.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.2) [INFO] [stderr] Adding rust-htslib v0.39.5 (available: v1.0.1) [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.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded crossbeam-deque v0.8.7 [INFO] [stderr] Downloaded zstd v0.12.4 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded alloc-stdlib v0.2.4 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded lzzzz v1.1.0 [INFO] [stderr] Downloaded fs-utils v1.1.4 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded memmap2 v0.7.1 [INFO] [stderr] Downloaded jobserver v0.1.35 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.13 [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded zstd-safe v6.0.6 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded linear-map v1.2.0 [INFO] [stderr] Downloaded lz4_flex v0.8.2 [INFO] [stderr] Downloaded bio-types v1.0.4 [INFO] [stderr] Downloaded flume v0.10.14 [INFO] [stderr] Downloaded console v0.16.4 [INFO] [stderr] Downloaded rust-htslib v0.39.5 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded libz-sys v1.1.29 [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-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d [INFO] running `Command { std: "docker" "start" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-epoch v0.9.20 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.7 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling zerocopy v0.8.54 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling cc v1.2.66 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling console v0.16.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.16 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lz4_flex v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.13 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling hts-sys v2.2.0 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling lzzzz v1.1.0 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling pin-project v1.1.13 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling bio-types v1.0.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bam_tools v0.1.0 (/opt/rustwide/workdir/bam_tools) [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 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 1m 16s [INFO] running `Command { std: "docker" "inspect" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", 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] [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] [stderr] Compiling gbam_tools v0.1.0 (/opt/rustwide/workdir/gbam_tools) [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] [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: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: 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] | ^^^^^^^^^^^^^^^^^ 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 2.15s [INFO] running `Command { std: "docker" "inspect" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", 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-8f2eafd2df1448da) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test block::tests::test_set_len ... ok [INFO] [stdout] test block::tests::test_is_eof ... ok [INFO] [stdout] test block::tests::test_data_mut ... ok [INFO] [stdout] test block::tests::test_set_position ... ok [INFO] [stdout] test block::tests::test_virtual_position ... ok [INFO] [stdout] test sorting::flags::tests::test_contains ... ok [INFO] [stdout] test sorting::flags::tests::test_from_flags_for_u16 ... ok [INFO] [stdout] test sorting::flags::tests::test_default ... ok [INFO] [stdout] test virtual_position::tests::test_from_u64_for_virtual_position ... ok [INFO] [stdout] test virtual_position::tests::test_from_virtual_position_for_u64 ... ok [INFO] [stdout] test virtual_position::tests::test_from_virtual_position_for_u64_u16_tuple ... ok [INFO] [stdout] test virtual_position::tests::test_try_from_u64_u16_tuple_for_virtual_position ... ok [INFO] [stdout] test sorting::flags::tests::test_from_u16_for_flags ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gbam_binary-558bd6d46d94e574) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_parse_tag_with_longer_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_empty_target_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_multiple_tags ... ok [INFO] [stdout] test tests::test_parse_tag_with_exact_match ... ok [INFO] [stdout] test tests::test_parse_tag_with_empty_tags ... ok [INFO] [stdout] test tests::test_parse_tag_with_nonexistent_tag ... ok [INFO] [stdout] test tests::test_parse_tag_with_no_null_terminator ... ok [INFO] [stdout] test tests::test_parse_tag_with_null_terminator_at_end ... ok [INFO] [stdout] test tests::test_parse_tag_with_partial_tag_match ... 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-df59dbc2ca9b9952) [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' (3624) 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: 0x5fac80199078 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fac80199078 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fac80199078 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5fac80199078 - <::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5fac801ace8a - ::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5fac801ace8a - core[8fb95b77d25ab6c8]::fmt::write [INFO] [stdout] 6: 0x5fac8019d892 - std[10d71ac2c42b111e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x5fac8019d892 - as std[10d71ac2c42b111e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x5fac80178236 - ::print [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5fac80178236 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5fac801915c9 - std[10d71ac2c42b111e]::panicking::default_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5fac8012550c - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 12: 0x5fac8012550c - test[213991da798b1c03]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x5fac80191782 - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 14: 0x5fac80191782 - std[10d71ac2c42b111e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5fac801782f2 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5fac8016d4f9 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5fac8017900d - __rustc[3be9ba60078d4c86]::rust_begin_unwind [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5fac801ad5bc - core[8fb95b77d25ab6c8]::panicking::panic_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5fac801ad392 - core[8fb95b77d25ab6c8]::result::unwrap_failed [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5fac80115e54 - >, std[10d71ac2c42b111e]::io::error::Error>>::unwrap [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5fac80115e54 - gbam_tools[decba2a6287664a9]::utils::bed::tests::test_bed_reader [INFO] [stdout] at /opt/rustwide/workdir/gbam_tools/src/utils/bed.rs:112:42 [INFO] [stdout] 22: 0x5fac80112b57 - gbam_tools[decba2a6287664a9]::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: 0x5fac80118506 - >::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5fac801185eb - core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5fac801185eb - test[213991da798b1c03]::__rust_begin_short_backtrace::, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x5fac80125e65 - test[213991da798b1c03]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x5fac80125e65 - as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5fac80125e65 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5fac80125e65 - std[10d71ac2c42b111e]::panicking::catch_unwind::, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5fac80125e65 - std[10d71ac2c42b111e]::panic::catch_unwind::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5fac80125e65 - test[213991da798b1c03]::run_test_in_process [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x5fac80125e65 - test[213991da798b1c03]::run_test::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x5fac8011f774 - test[213991da798b1c03]::run_test::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x5fac8011f774 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5fac80128ee2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x5fac80128ee2 - ::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5fac80128ee2 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5fac80128ee2 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5fac80128ee2 - std[10d71ac2c42b111e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5fac80128ee2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x5fac80128ee2 - ::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5fac801989df - + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9 [INFO] [stdout] 43: 0x5fac801989df - ::new::thread_start [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7b8da0323aa4 - [INFO] [stdout] 45: 0x7b8da03b0a64 - 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.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p gbam_tools --lib` [INFO] running `Command { std: "docker" "inspect" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d", kill_on_drop: false }` [INFO] [stdout] 4b781540fea715db4b9d6374337c390094781372b1f288db97b0e8829c2ea99d