[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 master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandvag%2Ffem-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vandvag/fem-rust on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "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-5-tc1/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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54abf689f3dc430e5db43de77beb39d0998d8ef9bdb4adb9d0480d218d28ec6e [INFO] running `Command { std: "docker" "start" "-a" "54abf689f3dc430e5db43de77beb39d0998d8ef9bdb4adb9d0480d218d28ec6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54abf689f3dc430e5db43de77beb39d0998d8ef9bdb4adb9d0480d218d28ec6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54abf689f3dc430e5db43de77beb39d0998d8ef9bdb4adb9d0480d218d28ec6e", kill_on_drop: false }` [INFO] [stdout] 54abf689f3dc430e5db43de77beb39d0998d8ef9bdb4adb9d0480d218d28ec6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb79656b38c7aa6d1077dd86902314de6faa4cddce7fb4904a58240e6e228378 [INFO] running `Command { std: "docker" "start" "-a" "eb79656b38c7aa6d1077dd86902314de6faa4cddce7fb4904a58240e6e228378", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 29.02s [INFO] running `Command { std: "docker" "inspect" "eb79656b38c7aa6d1077dd86902314de6faa4cddce7fb4904a58240e6e228378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb79656b38c7aa6d1077dd86902314de6faa4cddce7fb4904a58240e6e228378", kill_on_drop: false }` [INFO] [stdout] eb79656b38c7aa6d1077dd86902314de6faa4cddce7fb4904a58240e6e228378