[INFO] cloning repository https://github.com/indutny/qcd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/indutny/qcd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Fqcd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Fqcd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54097f9a952391cd23fa94b7e3ddd288627cf9f2 [INFO] building indutny/qcd against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Fqcd" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/indutny/qcd on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/indutny/qcd [INFO] finished tweaking git repo https://github.com/indutny/qcd [INFO] tweaked toml for git repo https://github.com/indutny/qcd written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/indutny/qcd 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fdb6f66f346f407e59faf9f158268a0d3fb567cb833cc2678e831455b7451e1 [INFO] running `Command { std: "docker" "start" "-a" "6fdb6f66f346f407e59faf9f158268a0d3fb567cb833cc2678e831455b7451e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fdb6f66f346f407e59faf9f158268a0d3fb567cb833cc2678e831455b7451e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fdb6f66f346f407e59faf9f158268a0d3fb567cb833cc2678e831455b7451e1", kill_on_drop: false }` [INFO] [stdout] 6fdb6f66f346f407e59faf9f158268a0d3fb567cb833cc2678e831455b7451e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f1dd461a2db154c20636fea4fe1c595dd752ceea55f993062fcaaba63105c45 [INFO] running `Command { std: "docker" "start" "-a" "5f1dd461a2db154c20636fea4fe1c595dd752ceea55f993062fcaaba63105c45", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling qcd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::complex::*` [INFO] [stdout] --> src/lattice.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::complex::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/lattice.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPREAD` is never used [INFO] [stdout] --> src/color.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SPREAD: f64 = 0.5; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/color.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EPSILON: f64 = 1e-23; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/color.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Color { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gen_su2` are never used [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 24 | pub fn gen(&mut self) -> Matrix { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn gen_su2(&mut self) -> [Complex; 4] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `norm` are never used [INFO] [stdout] --> src/complex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new(re: f64, im: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn norm(self: Self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `norm_sqr`, `norm`, `rescale`, and `dot` are never used [INFO] [stdout] --> src/cvector.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CVector { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new(values: [Complex; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn norm_sqr(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn norm(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn rescale(&self, factor: Complex) -> CVector { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn dot(lhs: &CVector, rhs: &CVector) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lattice` is never constructed [INFO] [stdout] --> src/lattice.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lattice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cold_with_size`, `sweep`, and `compute_staples` are never used [INFO] [stdout] --> src/lattice.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lattice { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn cold_with_size(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn sweep(&mut self, mut func: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/lattice.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Coordinate = (usize, usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/matrix.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EPSILON: f64 = 1e-23; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identity`, `conj`, `det`, and `unitarize` are never used [INFO] [stdout] --> src/matrix.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn conj(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn det(&self) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn unitarize(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "5f1dd461a2db154c20636fea4fe1c595dd752ceea55f993062fcaaba63105c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1dd461a2db154c20636fea4fe1c595dd752ceea55f993062fcaaba63105c45", kill_on_drop: false }` [INFO] [stdout] 5f1dd461a2db154c20636fea4fe1c595dd752ceea55f993062fcaaba63105c45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12b1686943045f10a86561c60333e74a03c293d5250a2dfa93be21a16d782e1b [INFO] running `Command { std: "docker" "start" "-a" "12b1686943045f10a86561c60333e74a03c293d5250a2dfa93be21a16d782e1b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::complex::*` [INFO] [stdout] --> src/lattice.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::complex::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/lattice.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPREAD` is never used [INFO] [stdout] --> src/color.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SPREAD: f64 = 0.5; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/color.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EPSILON: f64 = 1e-23; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/color.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Color { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gen_su2` are never used [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 24 | pub fn gen(&mut self) -> Matrix { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn gen_su2(&mut self) -> [Complex; 4] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `norm` are never used [INFO] [stdout] --> src/complex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new(re: f64, im: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn norm(self: Self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `norm_sqr`, `norm`, `rescale`, and `dot` are never used [INFO] [stdout] --> src/cvector.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CVector { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new(values: [Complex; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn norm_sqr(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn norm(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn rescale(&self, factor: Complex) -> CVector { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn dot(lhs: &CVector, rhs: &CVector) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lattice` is never constructed [INFO] [stdout] --> src/lattice.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lattice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cold_with_size`, `sweep`, and `compute_staples` are never used [INFO] [stdout] --> src/lattice.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lattice { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn cold_with_size(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn sweep(&mut self, mut func: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/lattice.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Coordinate = (usize, usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qcd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/matrix.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EPSILON: f64 = 1e-23; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identity`, `conj`, `det`, and `unitarize` are never used [INFO] [stdout] --> src/matrix.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn conj(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn det(&self) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn unitarize(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::complex::*` [INFO] [stdout] --> src/lattice.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::complex::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/lattice.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lattice.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lattice` [INFO] [stdout] --> src/lattice.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let lattice = Lattice::cold_with_size(8); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lattice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `links` are never read [INFO] [stdout] --> src/lattice.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lattice { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | links: Vec<[Matrix; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sweep` and `compute_staples` are never used [INFO] [stdout] --> src/lattice.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lattice { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn sweep(&mut self, mut func: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/lattice.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Coordinate = (usize, usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "12b1686943045f10a86561c60333e74a03c293d5250a2dfa93be21a16d782e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b1686943045f10a86561c60333e74a03c293d5250a2dfa93be21a16d782e1b", kill_on_drop: false }` [INFO] [stdout] 12b1686943045f10a86561c60333e74a03c293d5250a2dfa93be21a16d782e1b