[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] testing indutny/qcd against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Fqcd" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/indutny/qcd on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a20604c621c23b0e026a77992db6cae017e5a9ba4768366ed2cd25e4170129 [INFO] running `Command { std: "docker" "start" "-a" "65a20604c621c23b0e026a77992db6cae017e5a9ba4768366ed2cd25e4170129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a20604c621c23b0e026a77992db6cae017e5a9ba4768366ed2cd25e4170129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a20604c621c23b0e026a77992db6cae017e5a9ba4768366ed2cd25e4170129", kill_on_drop: false }` [INFO] [stdout] 65a20604c621c23b0e026a77992db6cae017e5a9ba4768366ed2cd25e4170129 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f78ae22eb761ed302105215b316bef4120a8ae7952241571e554c3f06cffe14 [INFO] running `Command { std: "docker" "start" "-a" "6f78ae22eb761ed302105215b316bef4120a8ae7952241571e554c3f06cffe14", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `Color` is never constructed [INFO] [stdout] --> src/color.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Color { [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: struct `Complex` is never constructed [INFO] [stdout] --> src/complex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Complex { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `norm_sqr`, `norm`, and `conj` 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] 15 | pub fn norm_sqr(self: Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn norm(self: Self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn conj(self: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CVector` is never constructed [INFO] [stdout] --> src/cvector.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CVector { [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 `WIDTH` is never used [INFO] [stdout] --> src/matrix.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const WIDTH: usize = 3; [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: struct `Matrix` is never constructed [INFO] [stdout] --> src/matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Matrix { [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.66s [INFO] running `Command { std: "docker" "inspect" "6f78ae22eb761ed302105215b316bef4120a8ae7952241571e554c3f06cffe14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f78ae22eb761ed302105215b316bef4120a8ae7952241571e554c3f06cffe14", kill_on_drop: false }` [INFO] [stdout] 6f78ae22eb761ed302105215b316bef4120a8ae7952241571e554c3f06cffe14 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb3dd626d6141c24182f229699d59ba653af6c28cd91127a9759a2cbe40685ab [INFO] running `Command { std: "docker" "start" "-a" "fb3dd626d6141c24182f229699d59ba653af6c28cd91127a9759a2cbe40685ab", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `Color` is never constructed [INFO] [stdout] --> src/color.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Color { [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: struct `Complex` is never constructed [INFO] [stdout] --> src/complex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Complex { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `norm_sqr`, `norm`, and `conj` 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] 15 | pub fn norm_sqr(self: Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn norm(self: Self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn conj(self: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CVector` is never constructed [INFO] [stdout] --> src/cvector.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CVector { [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 `WIDTH` is never used [INFO] [stdout] --> src/matrix.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const WIDTH: usize = 3; [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: struct `Matrix` is never constructed [INFO] [stdout] --> src/matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Matrix { [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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.64s [INFO] running `Command { std: "docker" "inspect" "fb3dd626d6141c24182f229699d59ba653af6c28cd91127a9759a2cbe40685ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3dd626d6141c24182f229699d59ba653af6c28cd91127a9759a2cbe40685ab", kill_on_drop: false }` [INFO] [stdout] fb3dd626d6141c24182f229699d59ba653af6c28cd91127a9759a2cbe40685ab [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c845625afb8f85ff962a513df7b1f9fde44a474cf13acfbd0b464c9b8d3cfb6d [INFO] running `Command { std: "docker" "start" "-a" "c845625afb8f85ff962a513df7b1f9fde44a474cf13acfbd0b464c9b8d3cfb6d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::complex::*` [INFO] [stderr] --> src/lattice.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::complex::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Index` [INFO] [stderr] --> src/lattice.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::ops::Index; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lattice.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | for i in 0..len { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lattice.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: constant `SPREAD` is never used [INFO] [stderr] --> src/color.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const SPREAD: f64 = 0.5; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `EPSILON` is never used [INFO] [stderr] --> src/color.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const EPSILON: f64 = 1e-23; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Color` is never constructed [INFO] [stderr] --> src/color.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Color { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `gen` and `gen_su2` are never used [INFO] [stderr] --> src/color.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Color { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 24 | pub fn gen(&mut self) -> Matrix { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | fn gen_su2(&mut self) -> [Complex; 4] { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Complex` is never constructed [INFO] [stderr] --> src/complex.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Complex { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `norm_sqr`, `norm`, and `conj` are never used [INFO] [stderr] --> src/complex.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Complex { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 11 | pub fn new(re: f64, im: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub fn norm_sqr(self: Self) -> f64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn norm(self: Self) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn conj(self: Self) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CVector` is never constructed [INFO] [stderr] --> src/cvector.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct CVector { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `norm_sqr`, `norm`, `rescale`, and `dot` are never used [INFO] [stderr] --> src/cvector.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl CVector { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 12 | pub fn new(values: [Complex; 3]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | pub fn norm_sqr(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn norm(&self) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn rescale(&self, factor: Complex) -> CVector { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn dot(lhs: &CVector, rhs: &CVector) -> Complex { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Lattice` is never constructed [INFO] [stderr] --> src/lattice.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Lattice { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `cold_with_size`, `sweep`, and `compute_staples` are never used [INFO] [stderr] --> src/lattice.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Lattice { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 12 | pub fn cold_with_size(size: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn sweep(&mut self, mut func: F) [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Coordinate` is never used [INFO] [stderr] --> src/lattice.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | type Coordinate = (usize, usize, usize, usize); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `WIDTH` is never used [INFO] [stderr] --> src/matrix.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const WIDTH: usize = 3; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EPSILON` is never used [INFO] [stderr] --> src/matrix.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const EPSILON: f64 = 1e-23; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Matrix` is never constructed [INFO] [stderr] --> src/matrix.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Matrix { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `identity`, `conj`, `det`, and `unitarize` are never used [INFO] [stderr] --> src/matrix.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Matrix { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 17 | pub fn identity() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn conj(&self) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn det(&self) -> Complex { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn unitarize(&self) -> Matrix { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lattice` [INFO] [stderr] --> src/lattice.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | let lattice = Lattice::cold_with_size(8); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lattice` [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `links` are never read [INFO] [stderr] --> src/lattice.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Lattice { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 7 | size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | links: Vec<[Matrix; 4]>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `sweep` and `compute_staples` are never used [INFO] [stderr] --> src/lattice.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Lattice { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn sweep(&mut self, mut func: F) [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn compute_staples(&self, i: usize) -> [Matrix; 6] { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `qcd` (lib) generated 19 warnings (run `cargo fix --lib -p qcd` to apply 4 suggestions) [INFO] [stderr] warning: `qcd` (lib test) generated 8 warnings (5 duplicates) (run `cargo fix --lib -p qcd --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qcd-6d1d7749621353e8) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test complex::tests::it_should_add ... ok [INFO] [stdout] test color::tests::it_should_add ... ok [INFO] [stdout] test complex::tests::it_should_multiply ... ok [INFO] [stdout] test complex::tests::it_should_multiply_conjugates ... ok [INFO] [stdout] test complex::tests::it_should_divide ... ok [INFO] [stdout] test complex::tests::it_should_norm_sqr ... ok [INFO] [stdout] test cvector::tests::it_should_add ... ok [INFO] [stdout] test complex::tests::it_should_sub ... ok [INFO] [stdout] test cvector::tests::it_should_dot ... ok [INFO] [stdout] test cvector::tests::it_should_norm ... ok [INFO] [stdout] test matrix::tests::it_should_conj ... ok [INFO] [stdout] test complex::tests::it_should_conjugate ... ok [INFO] [stdout] test matrix::tests::it_should_sub ... ok [INFO] [stdout] test cvector::tests::it_should_rescale ... ok [INFO] [stdout] test cvector::tests::it_should_sub ... ok [INFO] [stdout] test matrix::tests::it_should_unitarize ... ok [INFO] [stdout] test matrix::tests::it_should_add ... ok [INFO] [stdout] test matrix::tests::it_should_det ... ok [INFO] [stdout] test lattice::tests::it_should_init ... ok [INFO] [stdout] test matrix::tests::it_should_mul ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/qcd-eeaadb5cb97a5872) [INFO] [stdout] [INFO] [stderr] Doc-tests qcd [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c845625afb8f85ff962a513df7b1f9fde44a474cf13acfbd0b464c9b8d3cfb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c845625afb8f85ff962a513df7b1f9fde44a474cf13acfbd0b464c9b8d3cfb6d", kill_on_drop: false }` [INFO] [stdout] c845625afb8f85ff962a513df7b1f9fde44a474cf13acfbd0b464c9b8d3cfb6d