[INFO] fetching crate optrs 0.1.0... [INFO] building optrs-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate optrs 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate optrs 0.1.0 [INFO] finished tweaking crates.io crate optrs 0.1.0 [INFO] tweaked toml for crates.io crate optrs 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate optrs 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate optrs 0.1.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6b96d09b5878d59c0619182cd5cda42853191af2e7e629c45876fc4f8eb5859 [INFO] running `Command { std: "docker" "start" "-a" "d6b96d09b5878d59c0619182cd5cda42853191af2e7e629c45876fc4f8eb5859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6b96d09b5878d59c0619182cd5cda42853191af2e7e629c45876fc4f8eb5859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b96d09b5878d59c0619182cd5cda42853191af2e7e629c45876fc4f8eb5859", kill_on_drop: false }` [INFO] [stdout] d6b96d09b5878d59c0619182cd5cda42853191af2e7e629c45876fc4f8eb5859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b404a5c7eb28ea04c0ee6a18f06a17ca82b1e33aac66d0d3ff2be30f112dc00e [INFO] running `Command { std: "docker" "start" "-a" "b404a5c7eb28ea04c0ee6a18f06a17ca82b1e33aac66d0d3ff2be30f112dc00e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unindent v0.1.9 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling optrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BondOrder` [INFO] [stdout] --> src/molecule.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::connectivity::bonds::{Bond, BondOrder}; [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: `crate::ff::forcefield::Forcefield` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ff::forcefield::Forcefield; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::molecule::Molecule` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::molecule::Molecule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() { run(CommandLineArguments::parse()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `involves_idxs` and `force_constant` are never used [INFO] [stdout] --> src/ff/forcefield.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait EnergyFunction{ [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn involves_idxs(&self, idxs: Vec) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | fn force_constant(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_j_are_in` is never used [INFO] [stdout] --> src/ff/nonbonded.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn i_j_are_in(i: usize, j: usize, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/io/xyz.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct XYZFile{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `involves_idxs` is never used [INFO] [stdout] --> src/ff/angles.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn involves_idxs(angle: &dyn HarmonicAngle, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_metal` is never used [INFO] [stdout] --> src/atoms.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Atom { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_metal(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn run(args: CommandLineArguments) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_integer` and `is_main_group` are never used [INFO] [stdout] --> src/atoms.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl AtomicNumber { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn from_integer(value: usize) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn is_main_group(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METALLIC_ELEMENTS` is never used [INFO] [stdout] --> src/atoms.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | static METALLIC_ELEMENTS: [&'static str; 92] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `energy`, `gradient`, `numerical_gradient`, and `has_dihedrals` are never used [INFO] [stdout] --> src/molecule.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Molecule{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn energy(&self, forcefield: &mut dyn Forcefield) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn gradient(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn numerical_gradient(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn has_dihedrals(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BondOrder` [INFO] [stdout] --> src/molecule.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::connectivity::bonds::{Bond, BondOrder}; [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: `crate::ff::forcefield::Forcefield` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ff::forcefield::Forcefield; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::molecule::Molecule` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::molecule::Molecule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/molecule.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Molecule{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_atomic_symbols(symbols: &[&str]) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn energy(&self, forcefield: &mut dyn Forcefield) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn gradient(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn numerical_gradient(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn has_dihedrals(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | fn minimum_pairwise_distance(&self) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn randomise_coordinates(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn build_3d(&mut self){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/molecule.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 551 | impl Connectivity { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn clear(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `involves_idxs` is never used [INFO] [stdout] --> src/ff/angles.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn involves_idxs(angle: &dyn HarmonicAngle, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quadruple` is never constructed [INFO] [stdout] --> src/connectivity/bonds.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum BondOrder{ [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 99 | Quadruple [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BondOrder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `iterator` and `from_value` are never used [INFO] [stdout] --> src/connectivity/bonds.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl BondOrder { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 110 | [INFO] [stdout] 111 | fn iterator() -> Iter<'static, BondOrder>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn from_value(value: &f64) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsVeryClose` is never used [INFO] [stdout] --> src/utils.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait IsVeryClose{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_max_iterations` is never used [INFO] [stdout] --> src/opt/sd.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SteepestDecentOptimiser { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_max_iterations(max_num_iterations: usize) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `involves_idxs` and `force_constant` are never used [INFO] [stdout] --> src/ff/forcefield.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait EnergyFunction{ [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn involves_idxs(&self, idxs: Vec) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | fn force_constant(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/io/xyz.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct XYZFile{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_j_are_in` is never used [INFO] [stdout] --> src/ff/nonbonded.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn i_j_are_in(i: usize, j: usize, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_metal` is never used [INFO] [stdout] --> src/atoms.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Atom { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_metal(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_integer` and `is_main_group` are never used [INFO] [stdout] --> src/atoms.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl AtomicNumber { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn from_integer(value: usize) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn is_main_group(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METALLIC_ELEMENTS` is never used [INFO] [stdout] --> src/atoms.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | static METALLIC_ELEMENTS: [&'static str; 92] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.31s [INFO] running `Command { std: "docker" "inspect" "b404a5c7eb28ea04c0ee6a18f06a17ca82b1e33aac66d0d3ff2be30f112dc00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b404a5c7eb28ea04c0ee6a18f06a17ca82b1e33aac66d0d3ff2be30f112dc00e", kill_on_drop: false }` [INFO] [stdout] b404a5c7eb28ea04c0ee6a18f06a17ca82b1e33aac66d0d3ff2be30f112dc00e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa03f023c8d90f7b1d3ed774e713adb6276b88cfb1516850f8c704f2715262e8 [INFO] running `Command { std: "docker" "start" "-a" "aa03f023c8d90f7b1d3ed774e713adb6276b88cfb1516850f8c704f2715262e8", kill_on_drop: false }` [INFO] [stderr] Compiling optrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BondOrder` [INFO] [stdout] --> src/molecule.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::connectivity::bonds::{Bond, BondOrder}; [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: `crate::ff::forcefield::Forcefield` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ff::forcefield::Forcefield; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::molecule::Molecule` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::molecule::Molecule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() { run(CommandLineArguments::parse()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `involves_idxs` and `force_constant` are never used [INFO] [stdout] --> src/ff/forcefield.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait EnergyFunction{ [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn involves_idxs(&self, idxs: Vec) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | fn force_constant(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_j_are_in` is never used [INFO] [stdout] --> src/ff/nonbonded.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn i_j_are_in(i: usize, j: usize, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/io/xyz.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct XYZFile{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `involves_idxs` is never used [INFO] [stdout] --> src/ff/angles.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn involves_idxs(angle: &dyn HarmonicAngle, idxs: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_metal` is never used [INFO] [stdout] --> src/atoms.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Atom { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_metal(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn run(args: CommandLineArguments) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_integer` and `is_main_group` are never used [INFO] [stdout] --> src/atoms.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl AtomicNumber { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn from_integer(value: usize) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn is_main_group(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METALLIC_ELEMENTS` is never used [INFO] [stdout] --> src/atoms.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | static METALLIC_ELEMENTS: [&'static str; 92] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `energy`, `gradient`, `numerical_gradient`, and `has_dihedrals` are never used [INFO] [stdout] --> src/molecule.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Molecule{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn energy(&self, forcefield: &mut dyn Forcefield) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn gradient(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn numerical_gradient(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn has_dihedrals(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/io/xyz.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct XYZFile{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/io/xyz.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct XYZFile{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "aa03f023c8d90f7b1d3ed774e713adb6276b88cfb1516850f8c704f2715262e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa03f023c8d90f7b1d3ed774e713adb6276b88cfb1516850f8c704f2715262e8", kill_on_drop: false }` [INFO] [stdout] aa03f023c8d90f7b1d3ed774e713adb6276b88cfb1516850f8c704f2715262e8