[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#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fnumeric" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y-kitamu/numeric on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4552525df03524253e687e0e5a526f327ea150877599dfbe1393c64bfb254ead [INFO] running `Command { std: "docker" "start" "-a" "4552525df03524253e687e0e5a526f327ea150877599dfbe1393c64bfb254ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4552525df03524253e687e0e5a526f327ea150877599dfbe1393c64bfb254ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4552525df03524253e687e0e5a526f327ea150877599dfbe1393c64bfb254ead", kill_on_drop: false }` [INFO] [stdout] 4552525df03524253e687e0e5a526f327ea150877599dfbe1393c64bfb254ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d45a50bbce0621a6fbd1fd7aaee94e84782996d4233dc7cbc2c90be84a9335e [INFO] running `Command { std: "docker" "start" "-a" "0d45a50bbce0621a6fbd1fd7aaee94e84782996d4233dc7cbc2c90be84a9335e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicase v2.6.0 [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 ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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] | -------------- associated items in this implementation [INFO] [stdout] ... [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numerics` (example "interp2d") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `numerics` (example "interp1d") due to 2 previous errors [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] | -------------- associated items in this implementation [INFO] [stdout] ... [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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d45a50bbce0621a6fbd1fd7aaee94e84782996d4233dc7cbc2c90be84a9335e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d45a50bbce0621a6fbd1fd7aaee94e84782996d4233dc7cbc2c90be84a9335e", kill_on_drop: false }` [INFO] [stdout] 0d45a50bbce0621a6fbd1fd7aaee94e84782996d4233dc7cbc2c90be84a9335e