[INFO] fetching crate accord-rs 0.0.11... [INFO] checking accord-rs-0.0.11 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate accord-rs 0.0.11 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate accord-rs 0.0.11 [INFO] finished tweaking crates.io crate accord-rs 0.0.11 [INFO] tweaked toml for crates.io crate accord-rs 0.0.11 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate accord-rs 0.0.11 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] crate crates.io crate accord-rs 0.0.11 already has a lockfile, it will not be regenerated [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] 0775c1a5a7db12c5b456d56878b2a1601119023d01fce56ebf090e4f06cad8ff [INFO] running `Command { std: "docker" "start" "-a" "0775c1a5a7db12c5b456d56878b2a1601119023d01fce56ebf090e4f06cad8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0775c1a5a7db12c5b456d56878b2a1601119023d01fce56ebf090e4f06cad8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0775c1a5a7db12c5b456d56878b2a1601119023d01fce56ebf090e4f06cad8ff", kill_on_drop: false }` [INFO] [stdout] 0775c1a5a7db12c5b456d56878b2a1601119023d01fce56ebf090e4f06cad8ff [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] 01e4d3258d0fed53557bb6faac5dc0d2cecdce63ef12f5b81815c50f2dcbc15e [INFO] running `Command { std: "docker" "start" "-a" "01e4d3258d0fed53557bb6faac5dc0d2cecdce63ef12f5b81815c50f2dcbc15e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling pyo3-build-config v0.22.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking counter v0.6.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling pyo3-ffi v0.22.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.5 [INFO] [stderr] Compiling pyo3 v0.22.5 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling openssl-src v300.3.2+3.3.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling curl-sys v0.4.77+curl-8.10.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling hts-sys v2.1.4 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Compiling pyo3-macros v0.22.5 [INFO] [stderr] Checking rust-htslib v0.46.0 [INFO] [stderr] Checking accord-rs v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::settings::AlnQualityReqs` [INFO] [stdout] --> src/accord/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::settings::AlnQualityReqs; [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: `super::settings::AlnQualityReqs` [INFO] [stdout] --> src/accord/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::settings::AlnQualityReqs; [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: `super::settings::AlnQualityReqs` [INFO] [stdout] --> src/accord/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::settings::AlnQualityReqs; [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: `super::settings::AlnQualityReqs` [INFO] [stdout] --> src/accord/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::settings::AlnQualityReqs; [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 variable: `stats` [INFO] [stdout] --> src/accord/calculator.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let stats = aln_reader.index_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/accord/calculator.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let stats = aln_reader.index_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factor` [INFO] [stdout] --> src/accord/data/stats.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for factor in factors { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/calculator.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calculate_from_path(&self, ref_path: String, aln_path: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_stop(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/accord/data/indel.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_seq(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn preserves_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn breaks_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | fn py_from_fasta(_cls: &Bound<'_, PyType>, fasta: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn py_from_file(_cls: &Bound<'_, PyType>, file: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/seq.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn to_fasta(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:174:93 [INFO] [stdout] | [INFO] [stdout] 174 | fn py_from_numbers(_cls: &Bound<'_, PyType>, numbers: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:271:89 [INFO] [stdout] | [INFO] [stdout] 271 | fn py_from_data(_cls: &Bound<'_, PyType>, data: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factor` [INFO] [stdout] --> src/accord/data/stats.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for factor in factors { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accord-rs` (bin "accord") due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `init_seq` is never used [INFO] [stdout] --> src/accord/data/seq.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn init_seq() -> Seq { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/calculator.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calculate_from_path(&self, ref_path: String, aln_path: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_stop(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/accord/data/indel.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_seq(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn preserves_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn breaks_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | fn py_from_fasta(_cls: &Bound<'_, PyType>, fasta: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn py_from_file(_cls: &Bound<'_, PyType>, file: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/seq.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn to_fasta(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:174:93 [INFO] [stdout] | [INFO] [stdout] 174 | fn py_from_numbers(_cls: &Bound<'_, PyType>, numbers: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:271:89 [INFO] [stdout] | [INFO] [stdout] 271 | fn py_from_data(_cls: &Bound<'_, PyType>, data: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/accord/calculator.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let stats = aln_reader.index_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accord-rs` (bin "accord" test) due to 11 previous errors; 4 warnings emitted [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/accord/calculator.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let stats = aln_reader.index_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factor` [INFO] [stdout] --> src/accord/data/stats.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for factor in factors { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factor` [INFO] [stdout] --> src/accord/data/stats.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for factor in factors { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_seq` is never used [INFO] [stdout] --> src/accord/data/seq.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn init_seq() -> Seq { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/accord/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `main` is never used [INFO] [stdout] --> src/accord/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_args` is never used [INFO] [stdout] --> src/accord/cli.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 25 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> src/accord/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_file(content: &String, path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/calculator.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calculate_from_path(&self, ref_path: String, aln_path: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_stop(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/accord/data/indel.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_seq(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn preserves_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn breaks_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | fn py_from_fasta(_cls: &Bound<'_, PyType>, fasta: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn py_from_file(_cls: &Bound<'_, PyType>, file: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/seq.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn to_fasta(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:174:93 [INFO] [stdout] | [INFO] [stdout] 174 | fn py_from_numbers(_cls: &Bound<'_, PyType>, numbers: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:271:89 [INFO] [stdout] | [INFO] [stdout] 271 | fn py_from_data(_cls: &Bound<'_, PyType>, data: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accord-rs` (lib test) due to 11 previous errors; 8 warnings emitted [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/accord/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `main` is never used [INFO] [stdout] --> src/accord/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_args` is never used [INFO] [stdout] --> src/accord/cli.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 25 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> src/accord/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_file(content: &String, path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/calculator.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calculate_from_path(&self, ref_path: String, aln_path: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_stop(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/accord/data/indel.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_seq(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn preserves_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/indel.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn breaks_reading_frame(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | fn py_from_fasta(_cls: &Bound<'_, PyType>, fasta: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/accord/data/seq.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn py_from_file(_cls: &Bound<'_, PyType>, file: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/seq.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn to_fasta(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:174:93 [INFO] [stdout] | [INFO] [stdout] 174 | fn py_from_numbers(_cls: &Bound<'_, PyType>, numbers: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accord/data/stats.rs:271:89 [INFO] [stdout] | [INFO] [stdout] 271 | fn py_from_data(_cls: &Bound<'_, PyType>, data: Vec, factors: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accord-rs` (lib) due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01e4d3258d0fed53557bb6faac5dc0d2cecdce63ef12f5b81815c50f2dcbc15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e4d3258d0fed53557bb6faac5dc0d2cecdce63ef12f5b81815c50f2dcbc15e", kill_on_drop: false }` [INFO] [stdout] 01e4d3258d0fed53557bb6faac5dc0d2cecdce63ef12f5b81815c50f2dcbc15e