[INFO] fetching crate gosh-elastic 0.1.2... [INFO] testing gosh-elastic-0.1.2 against try#fc4ba03ef77ca5018fb78a097d3b924d30f15bfc+target=i686-unknown-linux-musl for musl_upgrade_1_2_take3 [INFO] extracting crate gosh-elastic 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate gosh-elastic 0.1.2 on toolchain fc4ba03ef77ca5018fb78a097d3b924d30f15bfc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gosh-elastic 0.1.2 [INFO] finished tweaking crates.io crate gosh-elastic 0.1.2 [INFO] tweaked toml for crates.io crate gosh-elastic 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gchemol-readwrite v0.0.43 [INFO] [stderr] Downloaded handlebars v4.0.1 [INFO] [stderr] Downloaded gchemol-lattice v0.1.1 [INFO] [stderr] Downloaded gchemol-core v0.0.43 [INFO] [stderr] Downloaded gchemol-neighbors v0.1.1 [INFO] [stderr] Downloaded gchemol-geometry v0.0.41 [INFO] [stderr] Downloaded vecfx v0.1.5 [INFO] [stderr] Downloaded gchemol-graph v0.1.1 [INFO] [stderr] Downloaded shared_child v1.0.0 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded gchemol-gut v0.3.1 [INFO] [stderr] Downloaded gchemol-parser v0.3.1 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded gchemol-gut v0.2.0 [INFO] [stderr] Downloaded grep v0.2.10 [INFO] [stderr] Downloaded str_indices v0.4.0 [INFO] [stderr] Downloaded ropey v1.5.0 [INFO] [stderr] Downloaded grep-printer v0.1.6 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded os_pipe v1.1.2 [INFO] [stderr] Downloaded duct v0.13.6 [INFO] [stderr] Downloaded gchemol v0.0.42 [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded envfile v0.2.1 [INFO] [stderr] Downloaded gosh-model v0.1.0 [INFO] [stderr] Downloaded gosh-core v0.1.0 [INFO] [stderr] Downloaded octree v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd6911bafca63393a707cdfd006608f24fa6db10dc9a13711195db2d5786164c [INFO] running `Command { std: "docker" "start" "-a" "cd6911bafca63393a707cdfd006608f24fa6db10dc9a13711195db2d5786164c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd6911bafca63393a707cdfd006608f24fa6db10dc9a13711195db2d5786164c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6911bafca63393a707cdfd006608f24fa6db10dc9a13711195db2d5786164c", kill_on_drop: false }` [INFO] [stdout] cd6911bafca63393a707cdfd006608f24fa6db10dc9a13711195db2d5786164c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9a9b4d232c1064dd43eb617bf7774401dfd96a93f6990fbee791ce4b2122e2a6 [INFO] running `Command { std: "docker" "start" "-a" "9a9b4d232c1064dd43eb617bf7774401dfd96a93f6990fbee791ce4b2122e2a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.149 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.149 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling os_pipe v1.1.2 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling duct v0.13.6 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling grep-matcher v0.1.5 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling pest v2.5.1 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest_meta v2.5.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling pest_generator v2.5.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling str_indices v0.4.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling ropey v1.5.0 [INFO] [stderr] Compiling pest_derive v2.5.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling snailquote v0.2.0 [INFO] [stderr] Compiling envfile v0.2.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling bimap v0.6.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling grep-searcher v0.1.10 [INFO] [stderr] Compiling gchemol-gut v0.2.0 [INFO] [stderr] Compiling grep-printer v0.1.6 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling grep-cli v0.1.6 [INFO] [stderr] Compiling grep-regex v0.1.10 [INFO] [stderr] Compiling gchemol-graph v0.1.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling grep v0.2.10 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling gchemol-parser v0.3.1 [INFO] [stderr] Compiling handlebars v4.0.1 [INFO] [stderr] Compiling gchemol-gut v0.3.1 [INFO] [stderr] Compiling tera v1.17.1 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling vecfx v0.1.5 [INFO] [stderr] Compiling octree v0.1.0 [INFO] [stderr] Compiling gchemol-lattice v0.1.1 [INFO] [stderr] Compiling gchemol-geometry v0.0.41 [INFO] [stderr] Compiling gchemol-neighbors v0.1.1 [INFO] [stderr] Compiling gchemol-core v0.0.43 [INFO] [stderr] Compiling gchemol-readwrite v0.0.43 [INFO] [stderr] Compiling gchemol v0.0.42 [INFO] [stderr] Compiling gosh-core v0.1.0 [INFO] [stderr] Compiling gosh-model v0.1.0 [INFO] [stderr] Compiling gosh-elastic v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vecfx::*` [INFO] [stdout] --> src/constraint.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | use vecfx::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bond` is imported redundantly [INFO] [stdout] --> src/constraint.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 3 | use gchemol::{Bond, Molecule}; [INFO] [stdout] | ---- the item `Bond` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use gchemol::Bond; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gut::config::*` [INFO] [stdout] --> src/constraint.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use gut::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/constraint.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let k = self.spring_constant(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/constraint.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let r = self.hook_length(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:109:78 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_elastic_energy_between(&self, mol: &Molecule, i: usize, j: usize, b: &Bond) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | let sij = mol.get_bond(i, j).and_then(|b| self.get_spring_between(i, j))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/constraint.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(i, a)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_dummy_bonds` is never used [INFO] [stdout] --> src/constraint.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn add_dummy_bonds(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_constraints` is never used [INFO] [stdout] --> src/constraint.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn apply_constraints(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "9a9b4d232c1064dd43eb617bf7774401dfd96a93f6990fbee791ce4b2122e2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9b4d232c1064dd43eb617bf7774401dfd96a93f6990fbee791ce4b2122e2a6", kill_on_drop: false }` [INFO] [stdout] 9a9b4d232c1064dd43eb617bf7774401dfd96a93f6990fbee791ce4b2122e2a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 03280472499fc7089d260f2afa7bcb032e7f59e7999c0d75aa34c69996bbc091 [INFO] running `Command { std: "docker" "start" "-a" "03280472499fc7089d260f2afa7bcb032e7f59e7999c0d75aa34c69996bbc091", kill_on_drop: false }` [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stdout] warning: unused import: `vecfx::*` [INFO] [stdout] --> src/constraint.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | use vecfx::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bond` is imported redundantly [INFO] [stdout] --> src/constraint.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 3 | use gchemol::{Bond, Molecule}; [INFO] [stdout] | ---- the item `Bond` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use gchemol::Bond; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gut::config::*` [INFO] [stdout] --> src/constraint.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use gut::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/constraint.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let k = self.spring_constant(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/constraint.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let r = self.hook_length(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:109:78 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_elastic_energy_between(&self, mol: &Molecule, i: usize, j: usize, b: &Bond) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | let sij = mol.get_bond(i, j).and_then(|b| self.get_spring_between(i, j))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/constraint.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(i, a)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_dummy_bonds` is never used [INFO] [stdout] --> src/constraint.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn add_dummy_bonds(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_constraints` is never used [INFO] [stdout] --> src/constraint.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn apply_constraints(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling gosh-elastic v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vecfx::*` [INFO] [stdout] --> src/constraint.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | use vecfx::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bond` is imported redundantly [INFO] [stdout] --> src/constraint.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 3 | use gchemol::{Bond, Molecule}; [INFO] [stdout] | ---- the item `Bond` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use gchemol::Bond; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gut::config::*` [INFO] [stdout] --> src/constraint.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use gut::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/constraint.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let k = self.spring_constant(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/constraint.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let r = self.hook_length(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:109:78 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_elastic_energy_between(&self, mol: &Molecule, i: usize, j: usize, b: &Bond) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/constraint.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | let sij = mol.get_bond(i, j).and_then(|b| self.get_spring_between(i, j))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/constraint.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(i, a)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_dummy_bonds` is never used [INFO] [stdout] --> src/constraint.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn add_dummy_bonds(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_constraints` is never used [INFO] [stdout] --> src/constraint.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn apply_constraints(&self, mol: &mut Molecule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.52s [INFO] running `Command { std: "docker" "inspect" "03280472499fc7089d260f2afa7bcb032e7f59e7999c0d75aa34c69996bbc091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03280472499fc7089d260f2afa7bcb032e7f59e7999c0d75aa34c69996bbc091", kill_on_drop: false }` [INFO] [stdout] 03280472499fc7089d260f2afa7bcb032e7f59e7999c0d75aa34c69996bbc091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e6d02407d97a33678776778040561a418fad1e08ef95a7e7fb9e5da5307ae02e [INFO] running `Command { std: "docker" "start" "-a" "e6d02407d97a33678776778040561a418fad1e08ef95a7e7fb9e5da5307ae02e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `vecfx::*` [INFO] [stderr] --> src/constraint.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | use vecfx::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Bond` is imported redundantly [INFO] [stderr] --> src/constraint.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 3 | use gchemol::{Bond, Molecule}; [INFO] [stderr] | ---- the item `Bond` is already imported here [INFO] [stderr] ... [INFO] [stderr] 136 | use gchemol::Bond; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gut::config::*` [INFO] [stderr] --> src/constraint.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | use gut::config::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/constraint.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | let k = self.spring_constant(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/constraint.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | let r = self.hook_length(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/constraint.rs:109:78 [INFO] [stderr] | [INFO] [stderr] 109 | fn get_elastic_energy_between(&self, mol: &Molecule, i: usize, j: usize, b: &Bond) -> Option { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/constraint.rs:117:48 [INFO] [stderr] | [INFO] [stderr] 117 | let sij = mol.get_bond(i, j).and_then(|b| self.get_spring_between(i, j))?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/constraint.rs:178:23 [INFO] [stderr] | [INFO] [stderr] 178 | .map(|(i, a)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: associated function `add_dummy_bonds` is never used [INFO] [stderr] --> src/constraint.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 135 | fn add_dummy_bonds(&self, mol: &mut Molecule) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `apply_constraints` is never used [INFO] [stderr] --> src/constraint.rs:164:12 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn apply_constraints(&self, mol: &mut Molecule) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gosh-elastic` (lib) generated 10 warnings [INFO] [stderr] warning: `gosh-elastic` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/gosh_elastic-6e0ee8c8e8c2acc9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test elastic::test_spring ... ok [INFO] [stdout] test elastic::test_distance_potential ... ok [INFO] [stdout] test direct::test_elastic_matrix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6d02407d97a33678776778040561a418fad1e08ef95a7e7fb9e5da5307ae02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d02407d97a33678776778040561a418fad1e08ef95a7e7fb9e5da5307ae02e", kill_on_drop: false }` [INFO] [stdout] e6d02407d97a33678776778040561a418fad1e08ef95a7e7fb9e5da5307ae02e