[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] checking NickRoz1/gbam against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickRoz1%2Fgbam" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NickRoz1/gbam [INFO] finished tweaking git repo https://github.com/NickRoz1/gbam [INFO] tweaked toml for git repo https://github.com/NickRoz1/gbam written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NickRoz1/gbam on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 171 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.10.0) [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.3) [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.12.0) [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.9) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.9) [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.51.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d87a684e34c726b2358d288050256a84dda9d31c92c6cfaffff8abf6840e4273 [INFO] running `Command { std: "docker" "start" "-a" "d87a684e34c726b2358d288050256a84dda9d31c92c6cfaffff8abf6840e4273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87a684e34c726b2358d288050256a84dda9d31c92c6cfaffff8abf6840e4273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87a684e34c726b2358d288050256a84dda9d31c92c6cfaffff8abf6840e4273", kill_on_drop: false }` [INFO] [stdout] d87a684e34c726b2358d288050256a84dda9d31c92c6cfaffff8abf6840e4273 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3a68245d5c08a28910d6ad3e31135f6534c6b8b68d16d86c7e876f2d0973d7e [INFO] running `Command { std: "docker" "start" "-a" "c3a68245d5c08a28910d6ad3e31135f6534c6b8b68d16d86c7e876f2d0973d7e", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking console v0.16.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lz4_flex v0.8.2 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling cmake v0.1.54 [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 libz-sys v1.1.23 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking 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] [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] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking rust-htslib v0.39.5 [INFO] [stderr] Checking 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: 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: 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: 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] error: this type will no longer be must used: Result [INFO] [stdout] --> gbam_tools/src/bam/bam_to_gbam.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | sort_temp_mode = Some(String::from_str("file").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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] [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] [stderr] error: could not compile `gbam_tools` (lib test) due to 1 previous error; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result [INFO] [stdout] --> gbam_tools/src/bam/bam_to_gbam.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | sort_temp_mode = Some(String::from_str("file").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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] error: could not compile `gbam_tools` (lib) due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3a68245d5c08a28910d6ad3e31135f6534c6b8b68d16d86c7e876f2d0973d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a68245d5c08a28910d6ad3e31135f6534c6b8b68d16d86c7e876f2d0973d7e", kill_on_drop: false }` [INFO] [stdout] c3a68245d5c08a28910d6ad3e31135f6534c6b8b68d16d86c7e876f2d0973d7e