[INFO] cloning repository https://github.com/haskelladdict/scarab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haskelladdict/scarab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaskelladdict%2Fscarab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaskelladdict%2Fscarab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ca5dd304d5eb79f61677d42b5f5933f4f8c9fc1 [INFO] checking haskelladdict/scarab against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaskelladdict%2Fscarab" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haskelladdict/scarab on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haskelladdict/scarab [INFO] finished tweaking git repo https://github.com/haskelladdict/scarab [INFO] tweaked toml for git repo https://github.com/haskelladdict/scarab written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/haskelladdict/scarab already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05d1881aded595f980d1e6319d10bf8862ad8087edbd556d46cf038835033024 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "05d1881aded595f980d1e6319d10bf8862ad8087edbd556d46cf038835033024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d1881aded595f980d1e6319d10bf8862ad8087edbd556d46cf038835033024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d1881aded595f980d1e6319d10bf8862ad8087edbd556d46cf038835033024", kill_on_drop: false }` [INFO] [stdout] 05d1881aded595f980d1e6319d10bf8862ad8087edbd556d46cf038835033024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bfc4cfea6169f15e8bfcff6cf19158fd4b6ff636e4e828993383f774a160145 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5bfc4cfea6169f15e8bfcff6cf19158fd4b6ff636e4e828993383f774a160145", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking scarab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/diffuse.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if (status != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Isaac64Rng` [INFO] [stdout] --> src/random.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Isaac64Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rng` should have an upper camel case name [INFO] [stdout] --> src/random.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct rng { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/diffuse.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if (status != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Isaac64Rng` [INFO] [stdout] --> src/random.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Isaac64Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rng` should have an upper camel case name [INFO] [stdout] --> src/random.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct rng { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disp` [INFO] [stdout] --> src/diffuse.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | let (done, disp) = collide(mol, meshes, disp); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/diffuse.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mut disp = vector::Vec3{x: scale * rng.norm(), y: scale * rng.norm(), z: scale * rng.norm() }; [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/random.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dbl` [INFO] [stdout] --> src/random.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn dbl(&mut self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uint` [INFO] [stdout] --> src/random.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn uint(&mut self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int` [INFO] [stdout] --> src/random.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn int(&mut self) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `geom_epsilon` should have an upper case name [INFO] [stdout] --> src/geometry.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const geom_epsilon : f64 = 1e-12; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GEOM_EPSILON` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `geom_epsilon_2` should have an upper case name [INFO] [stdout] --> src/geometry.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const geom_epsilon_2 : f64 = 1e-24; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GEOM_EPSILON_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/geometry.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let D = uv * uv - uu * vv; [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/molecule.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub D : f64, // diffusion coefficient [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/molecule.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub ID : usize, // species ID [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/molecule.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub ID : usize, // what species are we [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disp` [INFO] [stdout] --> src/diffuse.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | let (done, disp) = collide(mol, meshes, disp); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/diffuse.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let mut disp = vector::Vec3{x: scale * rng.norm(), y: scale * rng.norm(), z: scale * rng.norm() }; [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/random.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dbl` [INFO] [stdout] --> src/random.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn dbl(&mut self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uint` [INFO] [stdout] --> src/random.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn uint(&mut self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int` [INFO] [stdout] --> src/random.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn int(&mut self) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `geom_epsilon` should have an upper case name [INFO] [stdout] --> src/geometry.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const geom_epsilon : f64 = 1e-12; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GEOM_EPSILON` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `geom_epsilon_2` should have an upper case name [INFO] [stdout] --> src/geometry.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const geom_epsilon_2 : f64 = 1e-24; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GEOM_EPSILON_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/geometry.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let D = uv * uv - uu * vv; [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/molecule.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub D : f64, // diffusion coefficient [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/molecule.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub ID : usize, // species ID [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/molecule.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub ID : usize, // what species are we [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.49s [INFO] running `Command { std: "docker" "inspect" "5bfc4cfea6169f15e8bfcff6cf19158fd4b6ff636e4e828993383f774a160145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bfc4cfea6169f15e8bfcff6cf19158fd4b6ff636e4e828993383f774a160145", kill_on_drop: false }` [INFO] [stdout] 5bfc4cfea6169f15e8bfcff6cf19158fd4b6ff636e4e828993383f774a160145