[INFO] fetching crate gosh-dimer 0.2.0... [INFO] testing gosh-dimer-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gosh-dimer 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate gosh-dimer 0.2.0 [INFO] finished tweaking crates.io crate gosh-dimer 0.2.0 [INFO] tweaked toml for crates.io crate gosh-dimer 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gosh-dimer 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding gchemol-gut v0.3.1 (available: v0.4.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdff9b7ec2e2974d39594d51b0c70f4d9cd273ff038a161e8604944a187b853c [INFO] running `Command { std: "docker" "start" "-a" "fdff9b7ec2e2974d39594d51b0c70f4d9cd273ff038a161e8604944a187b853c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdff9b7ec2e2974d39594d51b0c70f4d9cd273ff038a161e8604944a187b853c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdff9b7ec2e2974d39594d51b0c70f4d9cd273ff038a161e8604944a187b853c", kill_on_drop: false }` [INFO] [stdout] fdff9b7ec2e2974d39594d51b0c70f4d9cd273ff038a161e8604944a187b853c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a76c0ad6dfe0d85c331f7e789d0ffea3091ccf72003d242f14fef926d651772c [INFO] running `Command { std: "docker" "start" "-a" "a76c0ad6dfe0d85c331f7e789d0ffea3091ccf72003d242f14fef926d651772c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sigchld v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling shared_child v1.1.0 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling gchemol-gut v0.3.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling nalgebra v0.31.4 [INFO] [stderr] Compiling vecfx v0.1.6 [INFO] [stderr] Compiling gosh-dimer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 109 | RestartMethod::Negative => beta.max(0.0), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 112 | RestartMethod::Powell => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 149 | BetaKind::PR => forces_this.dot(&(forces_this - forces_prev)) / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 150 | BetaKind::FR => forces_this.norm_squared() / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 151 | BetaKind::HS => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 155 | BetaKind::DY => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fourier.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut phi_min = get_phi_min_by_fourier_series(self.a1, self.b1); [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: variants `FR`, `HS`, and `DY` are never constructed [INFO] [stdout] --> src/cg.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BetaKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | FR, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | /// Hestenes-Stiefel [INFO] [stdout] 21 | HS, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | /// Dai-Yuan [INFO] [stdout] 23 | DY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BetaKind` has derived impls for the traits `Debug` and `Clone`, 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: variant `Negative` is never constructed [INFO] [stdout] --> src/cg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum RestartMethod { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Negative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RestartMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `propagate` is never used [INFO] [stdout] --> src/cg.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl ConjugateGradient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 87 | /// Return the new conjugate direction [INFO] [stdout] 88 | pub fn propagate(&mut self, forces: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c0` is never read [INFO] [stdout] --> src/fourier.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct FourierRotation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | c0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoints` is never used [INFO] [stdout] --> src/raw.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn compute_dimer_endpoints(r0: &DVector, dr: f64, n: &DVector) -> [DVector; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoint2_force` is never used [INFO] [stdout] --> src/raw.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_dimer_endpoint2_force(f0: &DVector, f1: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_iterations` is never read [INFO] [stdout] --> src/rotation.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct RotationOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub n_iterations: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.84s [INFO] running `Command { std: "docker" "inspect" "a76c0ad6dfe0d85c331f7e789d0ffea3091ccf72003d242f14fef926d651772c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a76c0ad6dfe0d85c331f7e789d0ffea3091ccf72003d242f14fef926d651772c", kill_on_drop: false }` [INFO] [stdout] a76c0ad6dfe0d85c331f7e789d0ffea3091ccf72003d242f14fef926d651772c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f92362c641216ef2314c9a8bd4742f10fb7a64524e41f4a2743f6e7fdc7cc26 [INFO] running `Command { std: "docker" "start" "-a" "4f92362c641216ef2314c9a8bd4742f10fb7a64524e41f4a2743f6e7fdc7cc26", kill_on_drop: false }` [INFO] [stderr] Compiling gosh-dimer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 109 | RestartMethod::Negative => beta.max(0.0), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 112 | RestartMethod::Powell => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 149 | BetaKind::PR => forces_this.dot(&(forces_this - forces_prev)) / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 150 | BetaKind::FR => forces_this.norm_squared() / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 151 | BetaKind::HS => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 155 | BetaKind::DY => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fourier.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut phi_min = get_phi_min_by_fourier_series(self.a1, self.b1); [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: variants `FR`, `HS`, and `DY` are never constructed [INFO] [stdout] --> src/cg.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BetaKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | FR, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | /// Hestenes-Stiefel [INFO] [stdout] 21 | HS, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | /// Dai-Yuan [INFO] [stdout] 23 | DY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BetaKind` has derived impls for the traits `Debug` and `Clone`, 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: variant `Negative` is never constructed [INFO] [stdout] --> src/cg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum RestartMethod { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Negative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RestartMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `propagate` is never used [INFO] [stdout] --> src/cg.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl ConjugateGradient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 87 | /// Return the new conjugate direction [INFO] [stdout] 88 | pub fn propagate(&mut self, forces: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c0` is never read [INFO] [stdout] --> src/fourier.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct FourierRotation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | c0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoints` is never used [INFO] [stdout] --> src/raw.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn compute_dimer_endpoints(r0: &DVector, dr: f64, n: &DVector) -> [DVector; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoint2_force` is never used [INFO] [stdout] --> src/raw.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_dimer_endpoint2_force(f0: &DVector, f1: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_iterations` is never read [INFO] [stdout] --> src/rotation.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct RotationOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub n_iterations: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 109 | RestartMethod::Negative => beta.max(0.0), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 112 | RestartMethod::Powell => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 121 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cg.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 149 | BetaKind::PR => forces_this.dot(&(forces_this - forces_prev)) / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 150 | BetaKind::FR => forces_this.norm_squared() / forces_prev.norm_squared(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 151 | BetaKind::HS => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 155 | BetaKind::DY => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fourier.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut phi_min = get_phi_min_by_fourier_series(self.a1, self.b1); [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: unused variable: `tau` [INFO] [stdout] --> src/test.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let tau = &r1 - &r0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tau` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dr` [INFO] [stdout] --> src/test.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let dr = raw_data.dr; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FR`, `HS`, and `DY` are never constructed [INFO] [stdout] --> src/cg.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BetaKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | FR, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | /// Hestenes-Stiefel [INFO] [stdout] 21 | HS, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | /// Dai-Yuan [INFO] [stdout] 23 | DY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BetaKind` has derived impls for the traits `Debug` and `Clone`, 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: variant `Negative` is never constructed [INFO] [stdout] --> src/cg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum RestartMethod { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Negative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RestartMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `propagate` is never used [INFO] [stdout] --> src/cg.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl ConjugateGradient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 87 | /// Return the new conjugate direction [INFO] [stdout] 88 | pub fn propagate(&mut self, forces: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c0` is never read [INFO] [stdout] --> src/fourier.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct FourierRotation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | c0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoints` is never used [INFO] [stdout] --> src/raw.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn compute_dimer_endpoints(r0: &DVector, dr: f64, n: &DVector) -> [DVector; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_dimer_endpoint2_force` is never used [INFO] [stdout] --> src/raw.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_dimer_endpoint2_force(f0: &DVector, f1: &DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_iterations` is never read [INFO] [stdout] --> src/rotation.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct RotationOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub n_iterations: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "4f92362c641216ef2314c9a8bd4742f10fb7a64524e41f4a2743f6e7fdc7cc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f92362c641216ef2314c9a8bd4742f10fb7a64524e41f4a2743f6e7fdc7cc26", kill_on_drop: false }` [INFO] [stdout] 4f92362c641216ef2314c9a8bd4742f10fb7a64524e41f4a2743f6e7fdc7cc26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f04c675b66a68c6dac47109078be138ed3cafa3c9aa10fb4ea9232ae1a6b7879 [INFO] running `Command { std: "docker" "start" "-a" "f04c675b66a68c6dac47109078be138ed3cafa3c9aa10fb4ea9232ae1a6b7879", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cg.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | _ => unimplemented!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/cg.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 109 | RestartMethod::Negative => beta.max(0.0), [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 112 | RestartMethod::Powell => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 121 | _ => unimplemented!(), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cg.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/cg.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 149 | BetaKind::PR => forces_this.dot(&(forces_this - forces_prev)) / forces_prev.norm_squared(), [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] 150 | BetaKind::FR => forces_this.norm_squared() / forces_prev.norm_squared(), [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] 151 | BetaKind::HS => { [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 155 | BetaKind::DY => { [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 159 | _ => { [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/fourier.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | let mut phi_min = get_phi_min_by_fourier_series(self.a1, self.b1); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `FR`, `HS`, and `DY` are never constructed [INFO] [stderr] --> src/cg.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum BetaKind { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | FR, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | /// Hestenes-Stiefel [INFO] [stderr] 21 | HS, [INFO] [stderr] | ^^ [INFO] [stderr] 22 | /// Dai-Yuan [INFO] [stderr] 23 | DY, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `BetaKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Negative` is never constructed [INFO] [stderr] --> src/cg.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub enum RestartMethod { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 38 | Negative, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RestartMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `propagate` is never used [INFO] [stderr] --> src/cg.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 86 | impl ConjugateGradient { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 87 | /// Return the new conjugate direction [INFO] [stderr] 88 | pub fn propagate(&mut self, forces: &DVector) -> DVector { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `c0` is never read [INFO] [stderr] --> src/fourier.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 56 | struct FourierRotation { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | c0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `compute_dimer_endpoints` is never used [INFO] [stderr] --> src/raw.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn compute_dimer_endpoints(r0: &DVector, dr: f64, n: &DVector) -> [DVector; 2] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compute_dimer_endpoint2_force` is never used [INFO] [stderr] --> src/raw.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn compute_dimer_endpoint2_force(f0: &DVector, f1: &DVector) -> DVector { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `n_iterations` is never read [INFO] [stderr] --> src/rotation.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct RotationOutput { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 118 | pub n_iterations: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RotationOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tau` [INFO] [stderr] --> src/test.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let tau = &r1 - &r0; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tau` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dr` [INFO] [stderr] --> src/test.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let dr = raw_data.dr; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dr` [INFO] [stderr] [INFO] [stderr] warning: `gosh-dimer` (lib) generated 10 warnings (run `cargo fix --lib -p gosh-dimer` to apply 1 suggestion) [INFO] [stderr] warning: `gosh-dimer` (lib test) generated 12 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gosh_dimer-64a1f51b03b9e356) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_raw_dimer ... ok [INFO] [stdout] test test::test_fourier_rotation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f04c675b66a68c6dac47109078be138ed3cafa3c9aa10fb4ea9232ae1a6b7879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04c675b66a68c6dac47109078be138ed3cafa3c9aa10fb4ea9232ae1a6b7879", kill_on_drop: false }` [INFO] [stdout] f04c675b66a68c6dac47109078be138ed3cafa3c9aa10fb4ea9232ae1a6b7879