[INFO] cloning repository https://github.com/sawsimeon/qsar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sawsimeon/qsar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawsimeon%2Fqsar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawsimeon%2Fqsar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b563021b5b384a4b959dc8c54f120cb8d588c5a [INFO] linting sawsimeon/qsar/9b563021b5b384a4b959dc8c54f120cb8d588c5a against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawsimeon%2Fqsar" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sawsimeon/qsar [INFO] finished tweaking git repo https://github.com/sawsimeon/qsar [INFO] tweaked toml for git repo https://github.com/sawsimeon/qsar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sawsimeon/qsar on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sawsimeon/qsar already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f82c887dd12288067613e76ef002006ac93a2b4fc280d8cd16d7a068909c65 [INFO] running `Command { std: "docker" "start" "-a" "69f82c887dd12288067613e76ef002006ac93a2b4fc280d8cd16d7a068909c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f82c887dd12288067613e76ef002006ac93a2b4fc280d8cd16d7a068909c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f82c887dd12288067613e76ef002006ac93a2b4fc280d8cd16d7a068909c65", kill_on_drop: false }` [INFO] [stdout] 69f82c887dd12288067613e76ef002006ac93a2b4fc280d8cd16d7a068909c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeabbc106d1c10842300b162814d92d8188a9e33a779569c9ad21fdeddf64e10 [INFO] running `Command { std: "docker" "start" "-a" "aeabbc106d1c10842300b162814d92d8188a9e33a779569c9ad21fdeddf64e10", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling linfa v0.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking term v1.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking slog-term v2.9.2 [INFO] [stderr] Checking slog-json v2.6.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking linfa-linalg v0.1.0 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking argmin v0.4.7 [INFO] [stderr] Checking linfa-datasets v0.6.1 [INFO] [stderr] Checking linfa-linear v0.6.1 [INFO] [stderr] Checking qsar v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `models` [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub mod models; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `models`, create file "src/models.rs" or "src/models/mod.rs" [INFO] [stdout] = note: if there is a `mod models` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `models` [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub mod models; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `models`, create file "src/models.rs" or "src/models/mod.rs" [INFO] [stdout] = note: if there is a `mod models` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::DescriptorError`, `super::atomic_weights` [INFO] [stdout] --> src/descriptors/physicochemical.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | use super::{DescriptorError, atomic_weights}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `atomic_weights` in `descriptors` [INFO] [stdout] | | [INFO] [stdout] | no `DescriptorError` in `descriptors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::DescriptorError`, `super::atomic_weights` [INFO] [stdout] --> src/descriptors/physicochemical.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | use super::{DescriptorError, atomic_weights}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `atomic_weights` in `descriptors` [INFO] [stdout] | | [INFO] [stdout] | no `DescriptorError` in `descriptors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::DescriptorError`, `super::parse_atoms_basic` [INFO] [stdout] --> src/descriptors/constitutional.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use super::{DescriptorError, parse_atoms_basic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `parse_atoms_basic` in `descriptors` [INFO] [stdout] | | [INFO] [stdout] | no `DescriptorError` in `descriptors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::DescriptorError`, `super::parse_atoms_basic` [INFO] [stdout] --> src/descriptors/constitutional.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use super::{DescriptorError, parse_atoms_basic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `parse_atoms_basic` in `descriptors` [INFO] [stdout] | | [INFO] [stdout] | no `DescriptorError` in `descriptors` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::descriptors::physicochemical::tests::DescriptorError` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::DescriptorError` [INFO] [stdout] --> src/descriptors/topological.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use super::DescriptorError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `DescriptorError` in `descriptors` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::descriptors::constitutional::tests::DescriptorError` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::DescriptorError` [INFO] [stdout] --> src/descriptors/topological.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use super::DescriptorError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `DescriptorError` in `descriptors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `approx` [INFO] [stdout] --> src/descriptors/physicochemical.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `approx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `approx`, use `cargo add approx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `approx` [INFO] [stdout] --> src/descriptors/topological.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `approx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `approx`, use `cargo add approx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `physicochemical::molecular_weight` [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | pub use physicochemical::molecular_weight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `molecular_weight` in `descriptors::physicochemical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `physicochemical::molecular_weight` [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | pub use physicochemical::molecular_weight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `molecular_weight` in `descriptors::physicochemical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AtomInfo` in module `super` [INFO] [stdout] --> src/descriptors/constitutional.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | fn count_heteroatoms(atoms: &[super::AtomInfo]) -> usize { [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::descriptors::fingerprint::AtomInfo` exists but is inaccessible [INFO] [stdout] --> src/descriptors/fingerprint.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | struct AtomInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/descriptors/physicochemical.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AtomInfo` in module `super` [INFO] [stdout] --> src/descriptors/constitutional.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | fn count_heteroatoms(atoms: &[super::AtomInfo]) -> usize { [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::descriptors::fingerprint::AtomInfo` exists but is inaccessible [INFO] [stdout] --> src/descriptors/fingerprint.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | struct AtomInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/descriptors/physicochemical.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/descriptors/fingerprint.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assignments don't nest intuitively [INFO] [stdout] --> src/descriptors/fingerprint.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | dist[a][b] = dist[b][a] = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multi_assignments [INFO] [stdout] = note: `#[warn(clippy::multi_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/descriptors/fingerprint.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assignments don't nest intuitively [INFO] [stdout] --> src/descriptors/fingerprint.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | dist[a][b] = dist[b][a] = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multi_assignments [INFO] [stdout] = note: `#[warn(clippy::multi_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | fn common_valence(element: &str, is_aromatic: bool) -> usize { /* ... */ } [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:172:91 [INFO] [stdout] | [INFO] [stdout] 172 | fn implicit_hydrogens(element: &str, previous_atoms: &[ParsedAtom], is_aromatic: bool) -> usize { /* ... */ } [INFO] [stdout] | ------------------ ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | fn wildman_crippen_logp(atoms: &[ParsedAtom]) -> f64 { /* ... */ } [INFO] [stdout] | -------------------- ^^^ expected `f64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | fn ertl_tpsa(atoms: &[ParsedAtom]) -> f64 { /* ... */ } [INFO] [stdout] | --------- ^^^ expected `f64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:176:59 [INFO] [stdout] | [INFO] [stdout] 176 | fn count_h_bond_donors_acceptors(atoms: &[ParsedAtom]) -> (usize, usize) { /* ... */ } [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ expected `(usize, usize)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, usize)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | fn common_valence(element: &str, is_aromatic: bool) -> usize { /* ... */ } [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:172:91 [INFO] [stdout] | [INFO] [stdout] 172 | fn implicit_hydrogens(element: &str, previous_atoms: &[ParsedAtom], is_aromatic: bool) -> usize { /* ... */ } [INFO] [stdout] | ------------------ ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | fn wildman_crippen_logp(atoms: &[ParsedAtom]) -> f64 { /* ... */ } [INFO] [stdout] | -------------------- ^^^ expected `f64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | fn ertl_tpsa(atoms: &[ParsedAtom]) -> f64 { /* ... */ } [INFO] [stdout] | --------- ^^^ expected `f64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/physicochemical.rs:176:59 [INFO] [stdout] | [INFO] [stdout] 176 | fn count_h_bond_donors_acceptors(atoms: &[ParsedAtom]) -> (usize, usize) { /* ... */ } [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ expected `(usize, usize)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, usize)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&descriptors::fingerprint::AtomInfo` [INFO] [stdout] --> src/descriptors/fingerprint.rs:228:53 [INFO] [stdout] | [INFO] [stdout] 228 | bonds.iter().filter(|&&(a, b, _)| a == self.index || b == self.index).count() [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `h_count`, `aromatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&descriptors::fingerprint::AtomInfo` [INFO] [stdout] --> src/descriptors/fingerprint.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | bonds.iter().filter(|&&(a, b, _)| a == self.index || b == self.index).count() [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `h_count`, `aromatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/fingerprint.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | dist[a][b] = dist[b][a] = 1; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected `u32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom` [INFO] [stdout] --> src/descriptors/fingerprint.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | for (i, atom) in atoms.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bonds` [INFO] [stdout] --> src/descriptors/fingerprint.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | fn enumerate_torsion_paths(bonds: &[(usize, usize, u8)], n_atoms: usize) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_atoms` [INFO] [stdout] --> src/descriptors/fingerprint.rs:315:58 [INFO] [stdout] | [INFO] [stdout] 315 | fn enumerate_torsion_paths(bonds: &[(usize, usize, u8)], n_atoms: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_atoms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&descriptors::fingerprint::AtomInfo` [INFO] [stdout] --> src/descriptors/fingerprint.rs:228:53 [INFO] [stdout] | [INFO] [stdout] 228 | bonds.iter().filter(|&&(a, b, _)| a == self.index || b == self.index).count() [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `h_count`, `aromatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&descriptors::fingerprint::AtomInfo` [INFO] [stdout] --> src/descriptors/fingerprint.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | bonds.iter().filter(|&&(a, b, _)| a == self.index || b == self.index).count() [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `h_count`, `aromatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/descriptors/fingerprint.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | dist[a][b] = dist[b][a] = 1; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected `u32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qsar` (lib) due to 14 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `atom` [INFO] [stdout] --> src/descriptors/fingerprint.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | for (i, atom) in atoms.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bonds` [INFO] [stdout] --> src/descriptors/fingerprint.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | fn enumerate_torsion_paths(bonds: &[(usize, usize, u8)], n_atoms: usize) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_atoms` [INFO] [stdout] --> src/descriptors/fingerprint.rs:315:58 [INFO] [stdout] | [INFO] [stdout] 315 | fn enumerate_torsion_paths(bonds: &[(usize, usize, u8)], n_atoms: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_atoms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qsar` (lib test) due to 16 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aeabbc106d1c10842300b162814d92d8188a9e33a779569c9ad21fdeddf64e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeabbc106d1c10842300b162814d92d8188a9e33a779569c9ad21fdeddf64e10", kill_on_drop: false }` [INFO] [stdout] aeabbc106d1c10842300b162814d92d8188a9e33a779569c9ad21fdeddf64e10