[INFO] cloning repository https://github.com/vandvag/fem-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vandvag/fem-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandvag%2Ffem-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandvag%2Ffem-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db23403319a421b81372fe8456d32f5661d71f0f [INFO] checking vandvag/fem-rust against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandvag%2Ffem-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vandvag/fem-rust on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vandvag/fem-rust [INFO] finished tweaking git repo https://github.com/vandvag/fem-rust [INFO] tweaked toml for git repo https://github.com/vandvag/fem-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vandvag/fem-rust 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--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 1 package to latest compatible version [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94a7796365b798c5f34fd62f369894859c4c0616b8ab6ac65f78da27a9eacbcf [INFO] running `Command { std: "docker" "start" "-a" "94a7796365b798c5f34fd62f369894859c4c0616b8ab6ac65f78da27a9eacbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94a7796365b798c5f34fd62f369894859c4c0616b8ab6ac65f78da27a9eacbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a7796365b798c5f34fd62f369894859c4c0616b8ab6ac65f78da27a9eacbcf", kill_on_drop: false }` [INFO] [stdout] 94a7796365b798c5f34fd62f369894859c4c0616b8ab6ac65f78da27a9eacbcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73bd767b34d1d5ee1e16d200799b3f503aeb43b2b3d74d419af536ae3098438c [INFO] running `Command { std: "docker" "start" "-a" "73bd767b34d1d5ee1e16d200799b3f503aeb43b2b3d74d419af536ae3098438c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking fem_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num_dof_dirich` [INFO] [stdout] --> src/discretization.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut num_dof_dirich = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_dirich` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dof_solve` [INFO] [stdout] --> src/discretization.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_dof_solve = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_solve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dof_total` [INFO] [stdout] --> src/discretization.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut num_dof_total = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discretization.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut num_dof_dirich = 0; [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/discretization.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_dof_solve = 0; [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/discretization.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut num_dof_total = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xi` is never read [INFO] [stdout] --> src/element.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut xi = 0_f64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eta` is never read [INFO] [stdout] --> src/element.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut eta = 0_f64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `omega_gp` is never read [INFO] [stdout] --> src/element.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut omega_gp = 0_f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mat` is never read [INFO] [stdout] --> src/element.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Element<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | mat: &'a Material, // Reference to a material [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_statlin` is never used [INFO] [stdout] --> src/element.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Element<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_statlin(&self) -> SMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mat_matrix` is never read [INFO] [stdout] --> src/material.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | mat_matrix: Matrix3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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 `get_mat_matrix` is never used [INFO] [stdout] --> src/material.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Material { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_mat_matrix(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_coords` is never used [INFO] [stdout] --> src/node.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_coords(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dof_dirich` [INFO] [stdout] --> src/discretization.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut num_dof_dirich = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_dirich` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dof_solve` [INFO] [stdout] --> src/discretization.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_dof_solve = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_solve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dof_total` [INFO] [stdout] --> src/discretization.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut num_dof_total = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dof_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discretization.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut num_dof_dirich = 0; [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/discretization.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_dof_solve = 0; [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/discretization.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut num_dof_total = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xi` is never read [INFO] [stdout] --> src/element.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut xi = 0_f64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eta` is never read [INFO] [stdout] --> src/element.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut eta = 0_f64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `omega_gp` is never read [INFO] [stdout] --> src/element.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut omega_gp = 0_f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mat` is never read [INFO] [stdout] --> src/element.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Element<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | mat: &'a Material, // Reference to a material [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_statlin` is never used [INFO] [stdout] --> src/element.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Element<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_statlin(&self) -> SMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mat_matrix` is never read [INFO] [stdout] --> src/material.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | mat_matrix: Matrix3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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 `get_mat_matrix` is never used [INFO] [stdout] --> src/material.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Material { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_mat_matrix(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_coords` is never used [INFO] [stdout] --> src/node.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_coords(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.45s [INFO] running `Command { std: "docker" "inspect" "73bd767b34d1d5ee1e16d200799b3f503aeb43b2b3d74d419af536ae3098438c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73bd767b34d1d5ee1e16d200799b3f503aeb43b2b3d74d419af536ae3098438c", kill_on_drop: false }` [INFO] [stdout] 73bd767b34d1d5ee1e16d200799b3f503aeb43b2b3d74d419af536ae3098438c