[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] checking wheaton5/molecule_kmers against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheaton5%2Fmolecule_kmers" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wheaton5/molecule_kmers on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-61/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: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5296536b877c05b3ea7988e44bcb188b76b4328a80a978e6235831ad2cd64828 [INFO] running `Command { std: "docker" "start" "-a" "5296536b877c05b3ea7988e44bcb188b76b4328a80a978e6235831ad2cd64828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5296536b877c05b3ea7988e44bcb188b76b4328a80a978e6235831ad2cd64828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5296536b877c05b3ea7988e44bcb188b76b4328a80a978e6235831ad2cd64828", kill_on_drop: false }` [INFO] [stdout] 5296536b877c05b3ea7988e44bcb188b76b4328a80a978e6235831ad2cd64828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1258a6d68bd7e115184ebf2919ee0be42d149133c8a864e6a7e1efea179c77fd [INFO] running `Command { std: "docker" "start" "-a" "1258a6d68bd7e115184ebf2919ee0be42d149133c8a864e6a7e1efea179c77fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking 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] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking needletail v0.4.0 [INFO] [stderr] Checking 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] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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: 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: 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: 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: 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: 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: 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: 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: struct is never constructed: `Kmers` [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: function is never used: `write_1_zero` [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 is never used: `write_2_zeros` [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Kmers` [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: function is never used: `write_1_zero` [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 is never used: `write_2_zeros` [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "1258a6d68bd7e115184ebf2919ee0be42d149133c8a864e6a7e1efea179c77fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1258a6d68bd7e115184ebf2919ee0be42d149133c8a864e6a7e1efea179c77fd", kill_on_drop: false }` [INFO] [stdout] 1258a6d68bd7e115184ebf2919ee0be42d149133c8a864e6a7e1efea179c77fd