[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Fqcd" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/indutny/qcd on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1469233cd827885109b38a621b0e48c88ebc9d2a378e4ad3b5bc1e5ef030b0fc [INFO] running `Command { std: "docker" "start" "-a" "1469233cd827885109b38a621b0e48c88ebc9d2a378e4ad3b5bc1e5ef030b0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1469233cd827885109b38a621b0e48c88ebc9d2a378e4ad3b5bc1e5ef030b0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1469233cd827885109b38a621b0e48c88ebc9d2a378e4ad3b5bc1e5ef030b0fc", kill_on_drop: false }` [INFO] [stdout] 1469233cd827885109b38a621b0e48c88ebc9d2a378e4ad3b5bc1e5ef030b0fc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 58b8c4c2263e382063109ea0451e2b3f2259e10c73f29e42b77cc6d17bcd37cd [INFO] running `Command { std: "docker" "start" "-a" "58b8c4c2263e382063109ea0451e2b3f2259e10c73f29e42b77cc6d17bcd37cd", 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.80s [INFO] running `Command { std: "docker" "inspect" "58b8c4c2263e382063109ea0451e2b3f2259e10c73f29e42b77cc6d17bcd37cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b8c4c2263e382063109ea0451e2b3f2259e10c73f29e42b77cc6d17bcd37cd", kill_on_drop: false }` [INFO] [stdout] 58b8c4c2263e382063109ea0451e2b3f2259e10c73f29e42b77cc6d17bcd37cd [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2fa467c5f9aed5a087351618276881bc5614c11a1a44599c99064c6ce9825129 [INFO] running `Command { std: "docker" "start" "-a" "2fa467c5f9aed5a087351618276881bc5614c11a1a44599c99064c6ce9825129", kill_on_drop: false }` [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] [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.77s [INFO] running `Command { std: "docker" "inspect" "2fa467c5f9aed5a087351618276881bc5614c11a1a44599c99064c6ce9825129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa467c5f9aed5a087351618276881bc5614c11a1a44599c99064c6ce9825129", kill_on_drop: false }` [INFO] [stdout] 2fa467c5f9aed5a087351618276881bc5614c11a1a44599c99064c6ce9825129 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 35721d69445b859553ad9d5a587e577fd2f3a1d62a9481eb04db517809d7ced1 [INFO] running `Command { std: "docker" "start" "-a" "35721d69445b859553ad9d5a587e577fd2f3a1d62a9481eb04db517809d7ced1", 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)]` 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)]` 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)]` 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: field `rng` is never read [INFO] [stderr] --> src/color.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Color { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 14 | rng: ThreadRng, [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: associated items `new` and `norm` 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] 19 | pub fn norm(self: Self) -> f64 { [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 `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: 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)]` 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 15 warnings (run `cargo fix --lib -p qcd` to apply 2 suggestions) [INFO] [stderr] warning: `qcd` (lib test) generated 8 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/qcd-53d6a0f94dd4db45) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test color::tests::it_should_add ... ok [INFO] [stdout] test complex::tests::it_should_add ... ok [INFO] [stdout] test complex::tests::it_should_conjugate ... ok [INFO] [stdout] test complex::tests::it_should_divide ... ok [INFO] [stdout] test complex::tests::it_should_multiply_conjugates ... ok [INFO] [stdout] test complex::tests::it_should_multiply ... ok [INFO] [stdout] test complex::tests::it_should_norm_sqr ... 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 cvector::tests::it_should_rescale ... ok [INFO] [stdout] test cvector::tests::it_should_sub ... ok [INFO] [stdout] test cvector::tests::it_should_add ... ok [INFO] [stdout] test matrix::tests::it_should_add ... ok [INFO] [stdout] test matrix::tests::it_should_conj ... ok [INFO] [stdout] test matrix::tests::it_should_det ... ok [INFO] [stdout] test matrix::tests::it_should_mul ... ok [INFO] [stdout] test matrix::tests::it_should_sub ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/qcd-1d59415b85faeab9) [INFO] [stdout] test matrix::tests::it_should_unitarize ... ok [INFO] [stdout] test lattice::tests::it_should_init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "35721d69445b859553ad9d5a587e577fd2f3a1d62a9481eb04db517809d7ced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35721d69445b859553ad9d5a587e577fd2f3a1d62a9481eb04db517809d7ced1", kill_on_drop: false }` [INFO] [stdout] 35721d69445b859553ad9d5a587e577fd2f3a1d62a9481eb04db517809d7ced1