[INFO] fetching crate gosh-fire 0.1.0... [INFO] checking gosh-fire-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate gosh-fire 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gosh-fire 0.1.0 [INFO] finished tweaking crates.io crate gosh-fire 0.1.0 [INFO] tweaked toml for crates.io crate gosh-fire 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gosh-fire 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 131 packages to latest compatible versions [INFO] [stderr] Adding gchemol-gut v0.3.1 (available: v0.4.4) [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] [stderr] Adding pyo3 v0.10.1 (available: v0.25.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4588df06be65b464c04580144fac67ba1d2ba1fedab85f32570d4a3ea2e84055 [INFO] running `Command { std: "docker" "start" "-a" "4588df06be65b464c04580144fac67ba1d2ba1fedab85f32570d4a3ea2e84055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4588df06be65b464c04580144fac67ba1d2ba1fedab85f32570d4a3ea2e84055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4588df06be65b464c04580144fac67ba1d2ba1fedab85f32570d4a3ea2e84055", kill_on_drop: false }` [INFO] [stdout] 4588df06be65b464c04580144fac67ba1d2ba1fedab85f32570d4a3ea2e84055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcd914306ea7c94c2635ed772fdb2906d4aa9bef0eb3766c09b222652bb08ca0 [INFO] running `Command { std: "docker" "start" "-a" "bcd914306ea7c94c2635ed772fdb2906d4aa9bef0eb3766c09b222652bb08ca0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking os_pipe v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking sigchld v0.2.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking shared_child v1.1.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling pyo3 v0.10.1 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ghost v0.1.19 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pyo3-derive-backend v0.10.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling pyo3cls v0.10.1 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking gchemol-gut v0.3.1 [INFO] [stderr] Checking gosh-linesearch v0.1.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking nalgebra v0.31.4 [INFO] [stderr] Checking vecfx v0.1.6 [INFO] [stderr] Checking gosh-fire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Input` and `Output` [INFO] [stdout] --> src/fire.rs:544:37 [INFO] [stdout] | [INFO] [stdout] 544 | use crate::base::{EvaluateFunction, Input, Output}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `GradientBasedMinimizer`: plan to be removed, please use minimize_iter method instead [INFO] [stdout] --> src/fire.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::GradientBasedMinimizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `GradientBasedMinimizer`: plan to be removed, please use minimize_iter method instead [INFO] [stdout] --> src/fire.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | impl GradientBasedMinimizer for FIRE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `Output` [INFO] [stdout] --> src/fire.rs:544:37 [INFO] [stdout] | [INFO] [stdout] 544 | use crate::base::{EvaluateFunction, Input, Output}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `GradientBasedMinimizer`: plan to be removed, please use minimize_iter method instead [INFO] [stdout] --> src/fire.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::GradientBasedMinimizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `GradientBasedMinimizer`: plan to be removed, please use minimize_iter method instead [INFO] [stdout] --> src/fire.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | impl GradientBasedMinimizer for FIRE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> src/cache.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> src/cache.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:409:52 [INFO] [stdout] | [INFO] [stdout] 409 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let mut fire = self.fire.take().expect("fire fire"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn minimize_iter<'a, E: 'a, U>(mut self, x0: Vec, f: E) -> FireIter<'a, U> [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:409:52 [INFO] [stdout] | [INFO] [stdout] 409 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | fn minimize(mut self, x: &mut [f64], mut f: E) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn minimize(mut self, x: &mut [f64], mut f: E) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:185:56 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stopping` [INFO] [stdout] --> src/lib.rs:185:66 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stopping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:52 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:62 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Progress<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | x: &'a [f64], [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_prev` and `position` are never used [INFO] [stdout] --> src/base.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, U> Problem<'a, U> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn value_prev(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn position(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_prev` and `position` are never used [INFO] [stdout] --> src/cache.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 42 | / impl CachedProblem [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | E: FnMut(&[f64], &mut [f64]) -> f64, [INFO] [stdout] | |________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn value_prev(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn position(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let mut fire = self.fire.take().expect("fire fire"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fire.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn minimize_iter<'a, E: 'a, U>(mut self, x0: Vec, f: E) -> FireIter<'a, U> [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | fn minimize(mut self, x: &mut [f64], mut f: E) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn minimize(mut self, x: &mut [f64], mut f: E) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:185:56 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stopping` [INFO] [stdout] --> src/lib.rs:185:66 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stopping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:52 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:185:62 [INFO] [stdout] | [INFO] [stdout] 185 | fn minimize_alt(mut self, x: &mut [f64], mut f: E, mut stopping: Option) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Progress<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | x: &'a [f64], [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_prev` and `position` are never used [INFO] [stdout] --> src/base.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, U> Problem<'a, U> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn value_prev(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn position(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_prev` and `position` are never used [INFO] [stdout] --> src/cache.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 42 | / impl CachedProblem [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | E: FnMut(&[f64], &mut [f64]) -> f64, [INFO] [stdout] | |________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn value_prev(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn position(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fire` [INFO] [stdout] --> tests/lj.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use fire::lj::LennardJones; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fire` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fire`, use `cargo add fire` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fire` [INFO] [stdout] --> tests/lj.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use fire::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fire` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fire`, use `cargo add fire` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-fire` (test "lj") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `fire` [INFO] [stdout] --> tests/rosenbrock.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use fire::fire; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fire` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fire`, use `cargo add fire` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-fire` (test "rosenbrock") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "bcd914306ea7c94c2635ed772fdb2906d4aa9bef0eb3766c09b222652bb08ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd914306ea7c94c2635ed772fdb2906d4aa9bef0eb3766c09b222652bb08ca0", kill_on_drop: false }` [INFO] [stdout] bcd914306ea7c94c2635ed772fdb2906d4aa9bef0eb3766c09b222652bb08ca0