[INFO] cloning repository https://github.com/wheaton5/molecule_kmers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wheaton5/molecule_kmers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheaton5%2Fmolecule_kmers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheaton5%2Fmolecule_kmers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ca991c6fca82ea31e250c5aab9760cf4ac57056 [INFO] building wheaton5/molecule_kmers against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheaton5%2Fmolecule_kmers" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wheaton5/molecule_kmers on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wheaton5/molecule_kmers [INFO] finished tweaking git repo https://github.com/wheaton5/molecule_kmers [INFO] tweaked toml for git repo https://github.com/wheaton5/molecule_kmers written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wheaton5/molecule_kmers 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded crc32fast v1.2.1 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded clap v2.27.1 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] [stderr] Downloaded lzma-sys v0.1.17 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded flate2 v1.0.19 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded xz2 v0.1.6 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded num_cpus v1.13.0 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded needletail v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a119246af30dd5075658abfba452e2908d1d71270f3ff0b4d0c9092068f14a4a [INFO] running `Command { std: "docker" "start" "-a" "a119246af30dd5075658abfba452e2908d1d71270f3ff0b4d0c9092068f14a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a119246af30dd5075658abfba452e2908d1d71270f3ff0b4d0c9092068f14a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a119246af30dd5075658abfba452e2908d1d71270f3ff0b4d0c9092068f14a4a", kill_on_drop: false }` [INFO] [stdout] a119246af30dd5075658abfba452e2908d1d71270f3ff0b4d0c9092068f14a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98057da28873597faba09e0550968ec3dc29c074a72936d7890ff869fef1927 [INFO] running `Command { std: "docker" "start" "-a" "d98057da28873597faba09e0550968ec3dc29c074a72936d7890ff869fef1927", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling needletail v0.4.0 [INFO] [stderr] Compiling molecule_kmers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KMER_TYPE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum KMER_TYPE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `KmerType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNPAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | UNPAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnpairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FastxReader` [INFO] [stdout] --> src/main.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use needletail::{parse_fastx_file, FastxReader, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let first = str::from_utf8(&buf1).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_readname` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_readname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linedex` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linedex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/main.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kmers` is never constructed [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Kmers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unpaired_kmers` is never read [INFO] [stdout] --> src/main.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | struct Params { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 430 | paired_kmers: Option, [INFO] [stdout] 431 | unpaired_kmers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_1_zero` is never used [INFO] [stdout] --> src/main.rs:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | fn write_1_zero() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_2_zeros` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn write_2_zeros() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d98057da28873597faba09e0550968ec3dc29c074a72936d7890ff869fef1927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98057da28873597faba09e0550968ec3dc29c074a72936d7890ff869fef1927", kill_on_drop: false }` [INFO] [stdout] d98057da28873597faba09e0550968ec3dc29c074a72936d7890ff869fef1927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d67cc8fdef5c7d1041d8195bb14aa253d25fc1ee2d421add08b96621879bcfe [INFO] running `Command { std: "docker" "start" "-a" "7d67cc8fdef5c7d1041d8195bb14aa253d25fc1ee2d421add08b96621879bcfe", kill_on_drop: false }` [INFO] [stderr] Compiling molecule_kmers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KMER_TYPE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum KMER_TYPE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `KmerType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNPAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | UNPAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnpairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FastxReader` [INFO] [stdout] --> src/main.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use needletail::{parse_fastx_file, FastxReader, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let first = str::from_utf8(&buf1).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_readname` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_readname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linedex` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linedex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/main.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kmers` is never constructed [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Kmers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unpaired_kmers` is never read [INFO] [stdout] --> src/main.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | struct Params { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 430 | paired_kmers: Option, [INFO] [stdout] 431 | unpaired_kmers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_1_zero` is never used [INFO] [stdout] --> src/main.rs:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | fn write_1_zero() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_2_zeros` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn write_2_zeros() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7d67cc8fdef5c7d1041d8195bb14aa253d25fc1ee2d421add08b96621879bcfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d67cc8fdef5c7d1041d8195bb14aa253d25fc1ee2d421add08b96621879bcfe", kill_on_drop: false }` [INFO] [stdout] 7d67cc8fdef5c7d1041d8195bb14aa253d25fc1ee2d421add08b96621879bcfe [INFO] building wheaton5/molecule_kmers against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheaton5%2Fmolecule_kmers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wheaton5/molecule_kmers on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wheaton5/molecule_kmers [INFO] finished tweaking git repo https://github.com/wheaton5/molecule_kmers [INFO] tweaked toml for git repo https://github.com/wheaton5/molecule_kmers written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wheaton5/molecule_kmers 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd2f8ac684d1cef55ce0a441ce62037e320998dcec3bbe0c64eb4caa570a3e66 [INFO] running `Command { std: "docker" "start" "-a" "fd2f8ac684d1cef55ce0a441ce62037e320998dcec3bbe0c64eb4caa570a3e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd2f8ac684d1cef55ce0a441ce62037e320998dcec3bbe0c64eb4caa570a3e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2f8ac684d1cef55ce0a441ce62037e320998dcec3bbe0c64eb4caa570a3e66", kill_on_drop: false }` [INFO] [stdout] fd2f8ac684d1cef55ce0a441ce62037e320998dcec3bbe0c64eb4caa570a3e66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b400373fa4b4bdc015f92311b9134298df86a289e3745972b8c1661ea9271d4c [INFO] running `Command { std: "docker" "start" "-a" "b400373fa4b4bdc015f92311b9134298df86a289e3745972b8c1661ea9271d4c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling needletail v0.4.0 [INFO] [stderr] Compiling molecule_kmers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KMER_TYPE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum KMER_TYPE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `KmerType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNPAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | UNPAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnpairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FastxReader` [INFO] [stdout] --> src/main.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use needletail::{parse_fastx_file, FastxReader, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let first = str::from_utf8(&buf1).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_readname` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_readname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linedex` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linedex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/main.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kmers` is never constructed [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Kmers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unpaired_kmers` is never read [INFO] [stdout] --> src/main.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | struct Params { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 430 | paired_kmers: Option, [INFO] [stdout] 431 | unpaired_kmers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_1_zero` is never used [INFO] [stdout] --> src/main.rs:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | fn write_1_zero() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_2_zeros` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn write_2_zeros() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b400373fa4b4bdc015f92311b9134298df86a289e3745972b8c1661ea9271d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b400373fa4b4bdc015f92311b9134298df86a289e3745972b8c1661ea9271d4c", kill_on_drop: false }` [INFO] [stdout] b400373fa4b4bdc015f92311b9134298df86a289e3745972b8c1661ea9271d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a88afd9c5e95756ce1372370bdb81de36e07cbea13aebd102f010a43d505bbca [INFO] running `Command { std: "docker" "start" "-a" "a88afd9c5e95756ce1372370bdb81de36e07cbea13aebd102f010a43d505bbca", kill_on_drop: false }` [INFO] [stderr] Compiling molecule_kmers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KMER_TYPE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum KMER_TYPE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `KmerType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNPAIRED_HET` should have an upper camel case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | UNPAIRED_HET, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnpairedHet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn handle_read(vars: &Vec, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FastxReader` [INFO] [stdout] --> src/main.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use needletail::{parse_fastx_file, FastxReader, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let first = str::from_utf8(&buf1).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_readname` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_readname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linedex` [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linedex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut current_readname = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut linedex = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmer_type` [INFO] [stdout] --> src/main.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some((kmer_id, kmer_type)) = kmer_type.get(kmer) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/main.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/main.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for (filenum, r1, _, r2, _) in to_iterate.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kmers` is never constructed [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Kmers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unpaired_kmers` is never read [INFO] [stdout] --> src/main.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | struct Params { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 430 | paired_kmers: Option, [INFO] [stdout] 431 | unpaired_kmers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_1_zero` is never used [INFO] [stdout] --> src/main.rs:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | fn write_1_zero() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_2_zeros` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn write_2_zeros() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a88afd9c5e95756ce1372370bdb81de36e07cbea13aebd102f010a43d505bbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88afd9c5e95756ce1372370bdb81de36e07cbea13aebd102f010a43d505bbca", kill_on_drop: false }` [INFO] [stdout] a88afd9c5e95756ce1372370bdb81de36e07cbea13aebd102f010a43d505bbca