[INFO] updating cached repository orhanbalci/rosalind-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/orhanbalci/rosalind-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/orhanbalci/rosalind-rs" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/orhanbalci/rosalind-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/orhanbalci/rosalind-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/orhanbalci/rosalind-rs" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/orhanbalci/rosalind-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/orhanbalci/rosalind-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2d527848f151bb1689a4970467b7b1994bb85c78 [INFO] sha for GitHub repo orhanbalci/rosalind-rs: 2d527848f151bb1689a4970467b7b1994bb85c78 [INFO] validating manifest of orhanbalci/rosalind-rs on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of orhanbalci/rosalind-rs on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing orhanbalci/rosalind-rs [INFO] finished frobbing orhanbalci/rosalind-rs [INFO] frobbed toml for orhanbalci/rosalind-rs written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/orhanbalci/rosalind-rs/Cargo.toml [INFO] started frobbing orhanbalci/rosalind-rs [INFO] finished frobbing orhanbalci/rosalind-rs [INFO] frobbed toml for orhanbalci/rosalind-rs written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/orhanbalci/rosalind-rs/Cargo.toml [INFO] crate orhanbalci/rosalind-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/orhanbalci/rosalind-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking orhanbalci/rosalind-rs against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-7/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/orhanbalci/rosalind-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 87ab9a8f479c1b7c241194ac1d8cc75588ab175d73ff4c6d9aa972b2ca2fbf14 [INFO] running `"docker" "start" "-a" "87ab9a8f479c1b7c241194ac1d8cc75588ab175d73ff4c6d9aa972b2ca2fbf14"` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/crater/workdir/src/long.rs [INFO] [stderr] Checking suffix v1.1.0 [INFO] [stderr] Checking rosalind v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tran.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | let mut raw_lines: Vec<&str> = file_contents.split("\r\n").collect(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/long.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let sorted_vertices = toposort(&overlap_graph); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/sseq.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | result_index += (next_index + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/long.rs:24:69 [INFO] [stderr] | [INFO] [stderr] 24 | .map(|&x| overlap_graph.node_weight(x).unwrap()) [INFO] [stderr] | ^ expected struct `petgraph::prelude::NodeIndex`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `petgraph::prelude::NodeIndex` [INFO] [stderr] found type `std::vec::Vec<_>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/long.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let sorted_vertices = toposort(&overlap_graph); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sseq.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let mut dnas = protein_utilities::read_fasta("./data/sseq.txt"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `rosalind`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/sseq.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / dnas[1] [INFO] [stderr] 9 | | .chars() [INFO] [stderr] 10 | | .inspect(|c| { [INFO] [stderr] 11 | | let next_index = dnas[0].chars().skip(result_index).position(|k| k == *c).unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 14 | | }) [INFO] [stderr] 15 | | .collect::>(); [INFO] [stderr] | |_____________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/sseq.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | result.iter().inspect(|x| print!("{} ", x)).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/long.rs:24:69 [INFO] [stderr] | [INFO] [stderr] 24 | .map(|&x| overlap_graph.node_weight(x).unwrap()) [INFO] [stderr] | ^ expected struct `petgraph::prelude::NodeIndex`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `petgraph::prelude::NodeIndex` [INFO] [stderr] found type `std::vec::Vec<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `rosalind`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/splc.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let mut raw_lines: Vec<&str> = file_contents.split("\r\n").collect(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/sset.rs:13:39 [INFO] [stderr] | [INFO] [stderr] 13 | (1..set_size + 1).fold(1, |accum, x| 2 * accum % modulo) [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "87ab9a8f479c1b7c241194ac1d8cc75588ab175d73ff4c6d9aa972b2ca2fbf14"` [INFO] running `"docker" "rm" "-f" "87ab9a8f479c1b7c241194ac1d8cc75588ab175d73ff4c6d9aa972b2ca2fbf14"` [INFO] [stdout] 87ab9a8f479c1b7c241194ac1d8cc75588ab175d73ff4c6d9aa972b2ca2fbf14