[INFO] cloning repository https://github.com/y-kitamu/numeric [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y-kitamu/numeric" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fnumeric", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fnumeric'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2f6f768d5ca55d0e0acc19c3bc9743ff866b65f [INFO] checking y-kitamu/numeric against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fnumeric" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/y-kitamu/numeric [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/y-kitamu/numeric [INFO] tweaked toml for git repo https://github.com/y-kitamu/numeric written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/y-kitamu/numeric on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/y-kitamu/numeric 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a2b060adc8604b7af11841e7b831c87ef448d0ef3abc138f19ab1ca73e44242 [INFO] running `Command { std: "docker" "start" "-a" "9a2b060adc8604b7af11841e7b831c87ef448d0ef3abc138f19ab1ca73e44242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a2b060adc8604b7af11841e7b831c87ef448d0ef3abc138f19ab1ca73e44242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2b060adc8604b7af11841e7b831c87ef448d0ef3abc138f19ab1ca73e44242", kill_on_drop: false }` [INFO] [stdout] 9a2b060adc8604b7af11841e7b831c87ef448d0ef3abc138f19ab1ca73e44242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f62f5645cc6875285a670e780ab10678770c21e448191bc918147ea030215e29 [INFO] running `Command { std: "docker" "start" "-a" "f62f5645cc6875285a670e780ab10678770c21e448191bc918147ea030215e29", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking numerics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SVD` is never constructed [INFO] [stdout] --> src/linalg/svd.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct SVD [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/linalg/svd.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl SVD [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: MatLinAlgBound, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn new(a: Matrix) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn decompose(&mut self, mut a: Matrix) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn reorder(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | pub fn solve(&self, b: &[T], x: &mut [T]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn solve_mat(&self, b: &Matrix, x: &mut Matrix) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn nullity(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn range(&self) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn nullspace(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/linalg/svd.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | self.solve(&b.get_col(j), &mut tmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = self.solve(&b.get_col(j), &mut tmp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SVD` is never constructed [INFO] [stdout] --> src/linalg/svd.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct SVD [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/linalg/svd.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl SVD [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: MatLinAlgBound, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn new(a: Matrix) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn decompose(&mut self, mut a: Matrix) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn reorder(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | pub fn solve(&self, b: &[T], x: &mut [T]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn solve_mat(&self, b: &Matrix, x: &mut Matrix) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn nullity(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn range(&self) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn nullspace(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_svd` is never used [INFO] [stdout] --> src/linalg/svd.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn test_svd() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/interp1d.rs:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | if let Err(_) = std::fs::create_dir_all(out_dir.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 154 - if let Err(_) = std::fs::create_dir_all(out_dir.clone()) { [INFO] [stdout] 154 + if let Err(_) = std::fs::create_dir_all(out_dir) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/linalg/svd.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | self.solve(&b.get_col(j), &mut tmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = self.solve(&b.get_col(j), &mut tmp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/interp2d.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(_) = std::fs::create_dir_all(out_dir.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 57 - if let Err(_) = std::fs::create_dir_all(out_dir.clone()) { [INFO] [stdout] 57 + if let Err(_) = std::fs::create_dir_all(out_dir) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.00s [INFO] running `Command { std: "docker" "inspect" "f62f5645cc6875285a670e780ab10678770c21e448191bc918147ea030215e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62f5645cc6875285a670e780ab10678770c21e448191bc918147ea030215e29", kill_on_drop: false }` [INFO] [stdout] f62f5645cc6875285a670e780ab10678770c21e448191bc918147ea030215e29