[INFO] cloning repository https://github.com/ejovo13/viruses-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ejovo13/viruses-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejovo13%2Fviruses-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejovo13%2Fviruses-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc8d6b2a21929350a260d88beab330b7230aacd8 [INFO] checking ejovo13/viruses-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fejovo13%2Fviruses-rust" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ejovo13/viruses-rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ejovo13/viruses-rust [INFO] finished tweaking git repo https://github.com/ejovo13/viruses-rust [INFO] tweaked toml for git repo https://github.com/ejovo13/viruses-rust written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate git repo https://github.com/ejovo13/viruses-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 908ff2f50fd27f2445f4b421584ec00081bc4782ec1ad50e9279174808785795 [INFO] running `Command { std: "docker" "start" "-a" "908ff2f50fd27f2445f4b421584ec00081bc4782ec1ad50e9279174808785795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "908ff2f50fd27f2445f4b421584ec00081bc4782ec1ad50e9279174808785795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "908ff2f50fd27f2445f4b421584ec00081bc4782ec1ad50e9279174808785795", kill_on_drop: false }` [INFO] [stdout] 908ff2f50fd27f2445f4b421584ec00081bc4782ec1ad50e9279174808785795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12a64cbfcd6b3caf7c4fa0da98df7b3fa8ceb4ac0fa4b8438561ccb475239062 [INFO] running `Command { std: "docker" "start" "-a" "12a64cbfcd6b3caf7c4fa0da98df7b3fa8ceb4ac0fa4b8438561ccb475239062", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.98 (as host dependency): default, std [INFO] [stderr] syn v1.0.74 (as host dependency): visit [INFO] [stderr] tokio v1.9.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking libflate v1.1.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking vdbmgr v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/vdb_reader.rs (1 fix) [INFO] [stdout] warning: type `vector` should have an upper camel case name [INFO] [stdout] --> src/math.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type vector = [T; 3]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_info` [INFO] [stdout] --> src/mol.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Atom` [INFO] [stdout] --> src/mol.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | enum Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VDB` [INFO] [stdout] --> src/vdb_reader.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct VDB { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vdb_reader.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(full_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/vdb_reader.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn load(&mut self) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_lines` [INFO] [stdout] --> src/vdb_reader.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_lines(&self) -> std::io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_radius` [INFO] [stdout] --> src/vdb_reader.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn max_radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Atom` [INFO] [stdout] --> src/vdb_reader.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vdb_reader.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(serial_number: u64, atom_name: String, alternate_location_indicator: char, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vdb_reader.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vdb_reader.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vdb_reader.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vdb_line` [INFO] [stdout] --> src/vdb_reader.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn from_vdb_line(line: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `radius` [INFO] [stdout] --> src/vdb_reader.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, "Amino Acid: {}", info.full_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | writeln!(f, "Abbreviation: {}", info.abbr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/vdb_reader.rs (1 fix) [INFO] [stdout] warning: type `vector` should have an upper camel case name [INFO] [stdout] --> src/math.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type vector = [T; 3]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `my_atom` is assigned to, but never used [INFO] [stdout] --> src/vdb_reader.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut my_atom: super::Atom; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_my_atom` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `my_atom` is never read [INFO] [stdout] --> src/vdb_reader.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | my_atom = super::Atom::from_vdb_line(ip).expect("Atom is empty"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_info` [INFO] [stdout] --> src/mol.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Atom` [INFO] [stdout] --> src/mol.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | enum Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vdb_read` [INFO] [stdout] --> src/vdb_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | vdb_read: bool, // Determine whether the vdb has actually been read [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `serial_number` [INFO] [stdout] --> src/vdb_reader.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | serial_number: u64, // 7-11 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `atom_name` [INFO] [stdout] --> src/vdb_reader.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | atom_name: String, // 13-16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `alternate_location_indicator` [INFO] [stdout] --> src/vdb_reader.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | alternate_location_indicator: char, // 17 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue_name` [INFO] [stdout] --> src/vdb_reader.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | residue_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chain_identifier` [INFO] [stdout] --> src/vdb_reader.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | chain_identifier: char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue_sequence_number` [INFO] [stdout] --> src/vdb_reader.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | residue_sequence_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `insertion_code` [INFO] [stdout] --> src/vdb_reader.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | insertion_code: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupancy` [INFO] [stdout] --> src/vdb_reader.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | occupancy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temperature_factor` [INFO] [stdout] --> src/vdb_reader.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | temperature_factor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, "Amino Acid: {}", info.full_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | writeln!(f, "Abbreviation: {}", info.abbr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 54s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking futures-util v0.3.16 [INFO] [stderr] Checking value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking native-tls v0.2.7 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking vdbmgr v0.2.0 (/tmp/fixit) [INFO] [stdout] warning: type `vector` should have an upper camel case name [INFO] [stdout] --> src/math.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type vector = [T; 3]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vector` should have an upper camel case name [INFO] [stdout] --> src/math.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type vector = [T; 3]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `my_atom` is assigned to, but never used [INFO] [stdout] --> src/vdb_reader.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut my_atom: super::Atom; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_my_atom` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `my_atom` is never read [INFO] [stdout] --> src/vdb_reader.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | my_atom = super::Atom::from_vdb_line(ip).expect("Atom is empty"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_info` [INFO] [stdout] --> src/mol.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Atom` [INFO] [stdout] --> src/mol.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | enum Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vdb_read` [INFO] [stdout] --> src/vdb_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | vdb_read: bool, // Determine whether the vdb has actually been read [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `serial_number` [INFO] [stdout] --> src/vdb_reader.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | serial_number: u64, // 7-11 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `atom_name` [INFO] [stdout] --> src/vdb_reader.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | atom_name: String, // 13-16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `alternate_location_indicator` [INFO] [stdout] --> src/vdb_reader.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | alternate_location_indicator: char, // 17 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue_name` [INFO] [stdout] --> src/vdb_reader.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | residue_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chain_identifier` [INFO] [stdout] --> src/vdb_reader.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | chain_identifier: char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue_sequence_number` [INFO] [stdout] --> src/vdb_reader.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | residue_sequence_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `insertion_code` [INFO] [stdout] --> src/vdb_reader.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | insertion_code: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occupancy` [INFO] [stdout] --> src/vdb_reader.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | occupancy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temperature_factor` [INFO] [stdout] --> src/vdb_reader.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | temperature_factor: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, "Amino Acid: {}", info.full_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_info` [INFO] [stdout] --> src/mol.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Atom` [INFO] [stdout] --> src/mol.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | enum Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VDB` [INFO] [stdout] --> src/vdb_reader.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct VDB { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | writeln!(f, "Abbreviation: {}", info.abbr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vdb_reader.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(full_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/vdb_reader.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn load(&mut self) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_lines` [INFO] [stdout] --> src/vdb_reader.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn read_lines(&self) -> std::io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_radius` [INFO] [stdout] --> src/vdb_reader.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn max_radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Atom` [INFO] [stdout] --> src/vdb_reader.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct Atom { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vdb_reader.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(serial_number: u64, atom_name: String, alternate_location_indicator: char, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vdb_reader.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vdb_reader.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vdb_reader.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vdb_line` [INFO] [stdout] --> src/vdb_reader.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn from_vdb_line(line: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `radius` [INFO] [stdout] --> src/vdb_reader.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, "Amino Acid: {}", info.full_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mol.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | writeln!(f, "Abbreviation: {}", info.abbr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.71s [INFO] running `Command { std: "docker" "inspect" "12a64cbfcd6b3caf7c4fa0da98df7b3fa8ceb4ac0fa4b8438561ccb475239062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a64cbfcd6b3caf7c4fa0da98df7b3fa8ceb4ac0fa4b8438561ccb475239062", kill_on_drop: false }` [INFO] [stdout] 12a64cbfcd6b3caf7c4fa0da98df7b3fa8ceb4ac0fa4b8438561ccb475239062