[INFO] updating cached repository https://github.com/orhanbalci/rosalind-rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d527848f151bb1689a4970467b7b1994bb85c78 [INFO] testing orhanbalci/rosalind-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forhanbalci%2Frosalind-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orhanbalci/rosalind-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orhanbalci/rosalind-rs [INFO] finished tweaking git repo https://github.com/orhanbalci/rosalind-rs [INFO] tweaked toml for git repo https://github.com/orhanbalci/rosalind-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/orhanbalci/rosalind-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-12/source/src/long.rs [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-12/source/src/long.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2e051767e4792194c5036ff29a1f4dee4e4106a27c72c7d62a7cfa1179256342 [INFO] running `Command { std: "docker" "start" "-a" "2e051767e4792194c5036ff29a1f4dee4e4106a27c72c7d62a7cfa1179256342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e051767e4792194c5036ff29a1f4dee4e4106a27c72c7d62a7cfa1179256342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e051767e4792194c5036ff29a1f4dee4e4106a27c72c7d62a7cfa1179256342", kill_on_drop: false }` [INFO] [stdout] 2e051767e4792194c5036ff29a1f4dee4e4106a27c72c7d62a7cfa1179256342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccc646a26bbad1e51383e9cfaa692924c353d52450e0717d03e8e8cf0dba9dc1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccc646a26bbad1e51383e9cfaa692924c353d52450e0717d03e8e8cf0dba9dc1", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/long.rs [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling suffix v1.2.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rosalind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/long.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let sorted_vertices = toposort(&overlap_graph); [INFO] [stdout] | ^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/long.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let sorted_vertices = toposort(&overlap_graph); [INFO] [stdout] | ^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/long.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | ... .map(|&x| overlap_graph.node_weight(x).unwrap()) [INFO] [stdout] | ^ expected struct `petgraph::prelude::NodeIndex`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::NodeIndex` [INFO] [stdout] found struct `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sseq.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | result_index += (next_index + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rosalind`. [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] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/prob.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/prob.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/dag.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/dag.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/long.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | ... .map(|&x| overlap_graph.node_weight(x).unwrap()) [INFO] [stdout] | ^ expected struct `petgraph::prelude::NodeIndex`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::NodeIndex` [INFO] [stdout] found struct `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | Err(why) => panic!("Could not open {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 100 | Err(why) => panic!("Could not read {} : {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/protein_utilities.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lgis.rs:59:73 [INFO] [stdout] | [INFO] [stdout] 59 | ... .max_by_key(|&(index, &elem)| elem) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lgis.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for i in 0..sequence.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sseq.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut dnas = protein_utilities::read_fasta("./data/sseq.txt"); [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/tran.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut raw_lines: Vec<&str> = file_contents.split("\r\n").collect(); [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: `x` [INFO] [stdout] --> src/sset.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | (1..set_size + 1).fold(1, |accum, x| 2 * accum % modulo) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/sseq.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / dnas[1] [INFO] [stdout] 9 | | .chars() [INFO] [stdout] 10 | | .inspect(|c| { [INFO] [stdout] 11 | | let next_index = dnas[0].chars().skip(result_index).position(|k| k == *c).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 14 | | }) [INFO] [stdout] 15 | | .collect::>(); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/sseq.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | result.iter().inspect(|x| print!("{} ", x)).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/splc.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut raw_lines: Vec<&str> = file_contents.split("\r\n").collect(); [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 return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/pdst.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / dnas.iter() [INFO] [stdout] 10 | | .enumerate() [INFO] [stdout] 11 | | .inspect(|first_dna| { [INFO] [stdout] 12 | | dnas.iter() [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | .collect::>(); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/pdst.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / dnas.iter() [INFO] [stdout] 13 | | .skip(first_dna.0) [INFO] [stdout] 14 | | .enumerate() [INFO] [stdout] 15 | | .inspect(|second_dna| { [INFO] [stdout] ... | [INFO] [stdout] 19 | | }) [INFO] [stdout] 20 | | .collect::>(); [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/pdst.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / matrix.iter() [INFO] [stdout] 39 | | .inspect(|row| { [INFO] [stdout] 40 | | row.iter() [INFO] [stdout] 41 | | .inspect(|element| { [INFO] [stdout] ... | [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .collect::>(); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stdout] --> src/pdst.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | / row.iter() [INFO] [stdout] 41 | | .inspect(|element| { [INFO] [stdout] 42 | | print!("{} ", element); [INFO] [stdout] 43 | | }) [INFO] [stdout] 44 | | .collect::>(); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ccc646a26bbad1e51383e9cfaa692924c353d52450e0717d03e8e8cf0dba9dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc646a26bbad1e51383e9cfaa692924c353d52450e0717d03e8e8cf0dba9dc1", kill_on_drop: false }` [INFO] [stdout] ccc646a26bbad1e51383e9cfaa692924c353d52450e0717d03e8e8cf0dba9dc1