[INFO] updating cached repository https://github.com/hillst/bamreadfilt [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fbcf1d13b49dd648b7e51756c9b66987d9176b0c [INFO] testing hillst/bamreadfilt against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhillst%2Fbamreadfilt" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hillst/bamreadfilt on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hillst/bamreadfilt [INFO] finished tweaking git repo https://github.com/hillst/bamreadfilt [INFO] tweaked toml for git repo https://github.com/hillst/bamreadfilt written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/hillst/bamreadfilt already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9bec2a1cf0bc0b09e5b7ea63c6872ad03ff06f1674e7d2c2c7accc763d6066d2 [INFO] running `"docker" "start" "-a" "9bec2a1cf0bc0b09e5b7ea63c6872ad03ff06f1674e7d2c2c7accc763d6066d2"` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling rust-htslib v0.16.0 [INFO] [stderr] Compiling bamreadfilt v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `StoreFalse`, `StoreOption` [INFO] [stderr] --> src/lib.rs:10:50 [INFO] [stderr] | [INFO] [stderr] 10 | use argparse::{ArgumentParser, StoreTrue, Store, StoreFalse, StoreOption}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fetched` [INFO] [stderr] --> src/lib.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | let fetched = match bam_reader.fetch(vcf_head.chrm, vcf_head.pos, vcf_head.pos + 1){ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetched` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fetched` [INFO] [stderr] --> src/lib.rs:242:21 [INFO] [stderr] | [INFO] [stderr] 242 | let fetched = match self._bam.fetch(rid, entry.pos(), entry.pos() + 1){ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetched` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vcf` [INFO] [stderr] --> src/lib.rs:357:64 [INFO] [stderr] | [INFO] [stderr] 357 | pub fn collect_stats_stream(&mut self, item: &bam::Record, vcf: &VCFRecord, pir: usize) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vcf` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BamRecord` [INFO] [stderr] --> src/lib.rs:437:5 [INFO] [stderr] | [INFO] [stderr] 437 | BamRecord(bam::Record), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `iter` [INFO] [stderr] --> src/lib.rs:485:5 [INFO] [stderr] | [INFO] [stderr] 485 | fn iter(&self) -> std::collections::hash_set::Iter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/lib.rs:489:5 [INFO] [stderr] | [INFO] [stderr] 489 | fn len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `max` [INFO] [stderr] --> src/lib.rs:493:5 [INFO] [stderr] | [INFO] [stderr] 493 | fn max(&self) -> Option<&UniqueRead> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `min` [INFO] [stderr] --> src/lib.rs:497:5 [INFO] [stderr] | [INFO] [stderr] 497 | fn min(&self) -> Option<&UniqueRead> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0635]: unknown feature `rand` [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(rand)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0635`. [INFO] [stderr] error: could not compile `bamreadfilt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "9bec2a1cf0bc0b09e5b7ea63c6872ad03ff06f1674e7d2c2c7accc763d6066d2"` [INFO] running `"docker" "rm" "-f" "9bec2a1cf0bc0b09e5b7ea63c6872ad03ff06f1674e7d2c2c7accc763d6066d2"` [INFO] [stdout] 9bec2a1cf0bc0b09e5b7ea63c6872ad03ff06f1674e7d2c2c7accc763d6066d2