[INFO] cloning repository https://github.com/alec-deason/genuary_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alec-deason/genuary_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fgenuary_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fgenuary_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 818c4a314d414b200d2972f0898ced0f55174d21 [INFO] checking alec-deason/genuary_2021/818c4a314d414b200d2972f0898ced0f55174d21 against master#826b673412d2f579e7865b6f26bc9771c6d3b097 for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fgenuary_2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alec-deason/genuary_2021 on toolchain 826b673412d2f579e7865b6f26bc9771c6d3b097 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/alec-deason/genuary_2021 [INFO] finished tweaking git repo https://github.com/alec-deason/genuary_2021 [INFO] tweaked toml for git repo https://github.com/alec-deason/genuary_2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alec-deason/genuary_2021 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" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gfx-backend-metal v0.5.7 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.5.3 [INFO] [stderr] Downloaded mathru v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d370f3c7a41192a3e3c030a8d77f56ba07afde6993d1c32a0c260ea0afb70fc [INFO] running `Command { std: "docker" "start" "-a" "9d370f3c7a41192a3e3c030a8d77f56ba07afde6993d1c32a0c260ea0afb70fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d370f3c7a41192a3e3c030a8d77f56ba07afde6993d1c32a0c260ea0afb70fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d370f3c7a41192a3e3c030a8d77f56ba07afde6993d1c32a0c260ea0afb70fc", kill_on_drop: false }` [INFO] [stdout] 9d370f3c7a41192a3e3c030a8d77f56ba07afde6993d1c32a0c260ea0afb70fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700bad50f83c5feba5b117b8d452e8b1dad51274aa748ffbec006305a4878dbe [INFO] running `Command { std: "docker" "start" "-a" "700bad50f83c5feba5b117b8d452e8b1dad51274aa748ffbec006305a4878dbe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking gfx-hal v0.5.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking lyon_geom v0.15.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking gfx-memory v0.1.3 [INFO] [stderr] Checking gfx-backend-empty v0.5.2 [INFO] [stderr] Checking gfx-descriptor v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling peek-poke-derive v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking peek-poke v0.2.0 [INFO] [stderr] Checking wgpu-types v0.5.1 [INFO] [stderr] Checking lyon_path v0.15.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling conrod_derive v0.70.0 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.5.11 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking lyon_algorithms v0.15.1 [INFO] [stderr] Checking lyon_tessellation v0.15.9 [INFO] [stderr] Checking wgpu-core v0.5.6 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking smithay-clipboard v0.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking lyon v0.15.9 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking x11-clipboard v0.5.1 [INFO] [stderr] Checking copypasta v0.6.3 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking daggy v0.6.0 [INFO] [stderr] Checking pistoncore-input v0.24.0 [INFO] [stderr] Checking wgpu-native v0.5.1 [INFO] [stderr] Checking wgpu v0.5.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking pennereq v0.3.1 [INFO] [stderr] Checking notosans v0.1.0 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking conrod_winit v0.70.0 [INFO] [stderr] Checking mathru v0.8.3 [INFO] [stderr] Checking conrod_core v0.70.0 [INFO] [stderr] Checking conrod_wgpu v0.70.0 [INFO] [stderr] Checking nannou v0.15.0 [INFO] [stderr] Checking nannou_sketches v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Fbm` and `math::Matrix4` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use nannou::{prelude::*, math::Matrix4, noise::{Fbm, NoiseFn}, color::Xyza}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fbm` and `math::Matrix4` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use nannou::{prelude::*, math::Matrix4, noise::{Fbm, NoiseFn}, color::Xyza}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeedableRng` and `rngs::SmallRng` [INFO] [stdout] --> src/ca.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use nannou::rand::{rngs::SmallRng, Rng, SeedableRng, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeedableRng` and `rngs::SmallRng` [INFO] [stdout] --> src/ca.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use nannou::rand::{rngs::SmallRng, Rng, SeedableRng, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChiSquare` and `Test` [INFO] [stdout] --> src/ca.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use mathru::statistics::test::{ChiSquare, Test}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChiSquare` and `Test` [INFO] [stdout] --> src/ca.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use mathru::statistics::test::{ChiSquare, Test}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/main.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use nannou::{prelude::*, math::Matrix4, noise::{Fbm, NoiseFn}, color::Xyza}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/main.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use nannou::{prelude::*, math::Matrix4, noise::{Fbm, NoiseFn}, color::Xyza}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/ca.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let distance = rng.gen_range(1, 4); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/ca.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let distance = rng.gen_range(1, 4); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [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/ca.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut rules:Vec<_> = (0..rule_count).map(|_| Rule::new_random(state_count, rng)).collect(); [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/ca.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut rules:Vec<_> = (0..rule_count).map(|_| Rule::new_random(state_count, rng)).collect(); [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: unused variable: `t_mul` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let t_mul = ((elapsed_frames as f32 / 10.0).sin() + 1.0)/2.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_mul` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let t_mul = ((elapsed_frames as f32 / 10.0).sin() + 1.0)/2.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut elapsed_frames = app.main_window().elapsed_frames(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_rect` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let window_rect = app.window_rect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut elapsed_frames = app.main_window().elapsed_frames(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_rect` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let window_rect = app.window_rect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `dots` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | model: HashMap<(usize, usize), f32>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | dots: Vec<(f32, f32, f32, f32, usize, f32, f32, f32)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/ca.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, and `apply` are never used [INFO] [stdout] --> src/ca.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 28 | fn new_random(state_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn mutate(&mut self, state_count: u32, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn apply(&self, i: u32, size: (u32, u32), world: &[State]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Neighborhood` is never used [INFO] [stdout] --> src/ca.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | enum Neighborhood { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, `max_count`, and `neighbors` are never used [INFO] [stdout] --> src/ca.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Neighborhood { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 91 | fn new_random(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn mutate(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn max_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn neighbors(&self, i: u32, size: (u32, u32)) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/ca.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct State(u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Comparison` is never used [INFO] [stdout] --> src/ca.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | enum Comparison { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, and `cmp` are never used [INFO] [stdout] --> src/ca.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Comparison { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 166 | fn new_random(max_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn mutate(&mut self, max_count: u32, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn cmp(&self, a: u32, b: u32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/ca.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ca.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 213 | pub fn new_random(width: u32, height: u32, rule_count: u32, state_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn mutate(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn step_for(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn reset_random(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn rule_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn state_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn states(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn stats(&self) -> Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stats` is never constructed [INFO] [stdout] --> src/ca.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `dots` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | model: HashMap<(usize, usize), f32>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | dots: Vec<(f32, f32, f32, f32, usize, f32, f32, f32)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/ca.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, and `apply` are never used [INFO] [stdout] --> src/ca.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 28 | fn new_random(state_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn mutate(&mut self, state_count: u32, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn apply(&self, i: u32, size: (u32, u32), world: &[State]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Neighborhood` is never used [INFO] [stdout] --> src/ca.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | enum Neighborhood { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, `max_count`, and `neighbors` are never used [INFO] [stdout] --> src/ca.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Neighborhood { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 91 | fn new_random(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn mutate(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn max_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn neighbors(&self, i: u32, size: (u32, u32)) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/ca.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct State(u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Comparison` is never used [INFO] [stdout] --> src/ca.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | enum Comparison { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random`, `mutate`, and `cmp` are never used [INFO] [stdout] --> src/ca.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Comparison { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 166 | fn new_random(max_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn mutate(&mut self, max_count: u32, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn cmp(&self, a: u32, b: u32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/ca.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ca.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 213 | pub fn new_random(width: u32, height: u32, rule_count: u32, state_count: u32, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn mutate(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn step_for(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn reset_random(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn rule_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn state_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn states(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn stats(&self) -> Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stats` is never constructed [INFO] [stdout] --> src/ca.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized] target(s) in 17.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mathru v0.8.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "700bad50f83c5feba5b117b8d452e8b1dad51274aa748ffbec006305a4878dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700bad50f83c5feba5b117b8d452e8b1dad51274aa748ffbec006305a4878dbe", kill_on_drop: false }` [INFO] [stdout] 700bad50f83c5feba5b117b8d452e8b1dad51274aa748ffbec006305a4878dbe