[INFO] cloning repository https://github.com/marcelnerd/rust-fractal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcelnerd/rust-fractal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelnerd%2Frust-fractal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelnerd%2Frust-fractal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdd56fd95d2ab09c1f6f47a27de88d2b340daff7 [INFO] building marcelnerd/rust-fractal against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelnerd%2Frust-fractal" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcelnerd/rust-fractal [INFO] finished tweaking git repo https://github.com/marcelnerd/rust-fractal [INFO] tweaked toml for git repo https://github.com/marcelnerd/rust-fractal written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcelnerd/rust-fractal on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcelnerd/rust-fractal 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.1 [INFO] [stderr] Downloaded shader_version v0.7.0 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded pistoncore-window v0.47.1 [INFO] [stderr] Downloaded pistoncore-input v1.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded glutin v0.26.0 [INFO] [stderr] Downloaded bytemuck v1.10.0 [INFO] [stderr] Downloaded spin_sleep v1.1.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.53.1 [INFO] [stderr] Downloaded exr v1.4.2 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded vecmath v1.0.0 [INFO] [stderr] Downloaded png v0.17.5 [INFO] [stderr] Downloaded jpeg-decoder v0.2.6 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded winit v0.24.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded ndk-glue v0.2.1 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded piston2d-graphics v0.42.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded piston v0.53.1 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded lebe v0.5.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded piston-texture v0.8.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded ndk v0.2.1 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Downloaded gl v0.13.0 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded flume v0.10.13 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded interpolation v0.2.0 [INFO] [stderr] Downloaded read_color v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.69.0 [INFO] [stderr] Downloaded tiff v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56ad7e1f27265299ccf2b12a561e83ef2f90df2239f4743d6b6bd2dc86a9e690 [INFO] running `Command { std: "docker" "start" "-a" "56ad7e1f27265299ccf2b12a561e83ef2f90df2239f4743d6b6bd2dc86a9e690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56ad7e1f27265299ccf2b12a561e83ef2f90df2239f4743d6b6bd2dc86a9e690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ad7e1f27265299ccf2b12a561e83ef2f90df2239f4743d6b6bd2dc86a9e690", kill_on_drop: false }` [INFO] [stdout] 56ad7e1f27265299ccf2b12a561e83ef2f90df2239f4743d6b6bd2dc86a9e690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df96d0f6be03dcfa50274f38090b4b7ea0503467a02061e78c7d9f282dd2166c [INFO] running `Command { std: "docker" "start" "-a" "df96d0f6be03dcfa50274f38090b4b7ea0503467a02061e78c7d9f282dd2166c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling flume v0.10.13 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling rust-fractal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/fractal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::INFINITY; [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: `crate::grid2D_controller::Grid2DController` [INFO] [stdout] --> src/grid2D_view.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grid2D_controller::Grid2DController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid2D_controller::Grid2DController` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::grid2D_controller::Grid2DController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter`, `GlyphCache`, and `TextureSettings` [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | use opengl_graphics::{OpenGL, Filter, GlGraphics, GlyphCache, TextureSettings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/main.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | use graphics::{clear}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/grid2D_controller.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(pos) = e.mouse_cursor_args() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(_pos) = e.mouse_cursor_args() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ORIGIN` [INFO] [stdout] | [INFO] [stdout] 17 - if let Some(pos) = e.mouse_cursor_args() { [INFO] [stdout] 17 + if let Some(grid2D::ORIGIN) = e.mouse_cursor_args() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colordim` [INFO] [stdout] --> src/grid2D_view.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let colordim = 100 * 100 * 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 72 | let _colordim = 100 * 100 * 100; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MANDELBROT_COUNT_COLOR_LOOP` [INFO] [stdout] | [INFO] [stdout] 72 - let colordim = 100 * 100 * 100; [INFO] [stdout] 72 + let grid2D_view::MANDELBROT_COUNT_COLOR_LOOP = 100 * 100 * 100; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gl` and `rotation` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | gl: GlGraphics, // OpenGL drawing backend. [INFO] [stdout] | ^^ [INFO] [stdout] 27 | rotation: f64, // Rotation for the square. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid2DController` is never constructed [INFO] [stdout] --> src/grid2D_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Grid2DController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `event` are never used [INFO] [stdout] --> src/grid2D_controller.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Grid2DController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(grid: Grid2D) -> Grid2DController { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn event(&mut self, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MANDELBROT_COUNT_COLOR_LOOP` is never used [INFO] [stdout] --> src/grid2D_view.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MANDELBROT_COUNT_COLOR_LOOP: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/grid2D_view.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Grid2DViewSettings { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub background_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | /// Border color. [INFO] [stdout] 21 | pub border_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Edge color around the whole board. [INFO] [stdout] 23 | pub board_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Edge color between the 3x3 sections. [INFO] [stdout] 25 | pub section_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Edge color between cells. [INFO] [stdout] 27 | pub cell_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Edge radius around the whole board. [INFO] [stdout] 29 | pub board_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// Edge radius between the 3x3 sections. [INFO] [stdout] 31 | pub section_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Edge radius between cells. [INFO] [stdout] 33 | pub cell_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub zoom_shift: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod grid2D; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `grid2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D_controller` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod grid2D_controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_controller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D_view` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod grid2D_view; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let grid2D = Grid2D::new([width as usize, height as usize]); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `grid2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D_view_settings` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let grid2D_view_settings = Grid2DViewSettings::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D_view` should have a snake case name [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut grid2D_view = Grid2DView::new(grid2D, grid2D_view_settings); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "df96d0f6be03dcfa50274f38090b4b7ea0503467a02061e78c7d9f282dd2166c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df96d0f6be03dcfa50274f38090b4b7ea0503467a02061e78c7d9f282dd2166c", kill_on_drop: false }` [INFO] [stdout] df96d0f6be03dcfa50274f38090b4b7ea0503467a02061e78c7d9f282dd2166c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd770dd083daa0e388aea4136632e049cc5a3e76804e6d48ff701a030dd86d5 [INFO] running `Command { std: "docker" "start" "-a" "5fd770dd083daa0e388aea4136632e049cc5a3e76804e6d48ff701a030dd86d5", kill_on_drop: false }` [INFO] [stderr] Compiling rust-fractal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/fractal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::INFINITY; [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: `crate::grid2D_controller::Grid2DController` [INFO] [stdout] --> src/grid2D_view.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grid2D_controller::Grid2DController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid2D_controller::Grid2DController` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::grid2D_controller::Grid2DController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter`, `GlyphCache`, and `TextureSettings` [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | use opengl_graphics::{OpenGL, Filter, GlGraphics, GlyphCache, TextureSettings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/main.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | use graphics::{clear}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/grid2D_controller.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(pos) = e.mouse_cursor_args() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(_pos) = e.mouse_cursor_args() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ORIGIN` [INFO] [stdout] | [INFO] [stdout] 17 - if let Some(pos) = e.mouse_cursor_args() { [INFO] [stdout] 17 + if let Some(grid2D::ORIGIN) = e.mouse_cursor_args() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colordim` [INFO] [stdout] --> src/grid2D_view.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let colordim = 100 * 100 * 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 72 | let _colordim = 100 * 100 * 100; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MANDELBROT_COUNT_COLOR_LOOP` [INFO] [stdout] | [INFO] [stdout] 72 - let colordim = 100 * 100 * 100; [INFO] [stdout] 72 + let grid2D_view::MANDELBROT_COUNT_COLOR_LOOP = 100 * 100 * 100; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gl` and `rotation` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | gl: GlGraphics, // OpenGL drawing backend. [INFO] [stdout] | ^^ [INFO] [stdout] 27 | rotation: f64, // Rotation for the square. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid2DController` is never constructed [INFO] [stdout] --> src/grid2D_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Grid2DController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `event` are never used [INFO] [stdout] --> src/grid2D_controller.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Grid2DController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(grid: Grid2D) -> Grid2DController { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn event(&mut self, e: &E) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MANDELBROT_COUNT_COLOR_LOOP` is never used [INFO] [stdout] --> src/grid2D_view.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MANDELBROT_COUNT_COLOR_LOOP: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/grid2D_view.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Grid2DViewSettings { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub background_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | /// Border color. [INFO] [stdout] 21 | pub border_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Edge color around the whole board. [INFO] [stdout] 23 | pub board_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Edge color between the 3x3 sections. [INFO] [stdout] 25 | pub section_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Edge color between cells. [INFO] [stdout] 27 | pub cell_edge_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Edge radius around the whole board. [INFO] [stdout] 29 | pub board_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// Edge radius between the 3x3 sections. [INFO] [stdout] 31 | pub section_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Edge radius between cells. [INFO] [stdout] 33 | pub cell_edge_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub zoom_shift: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod grid2D; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `grid2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D_controller` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod grid2D_controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_controller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `grid2D_view` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod grid2D_view; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let grid2D = Grid2D::new([width as usize, height as usize]); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `grid2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D_view_settings` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let grid2D_view_settings = Grid2DViewSettings::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `grid2D_view` should have a snake case name [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut grid2D_view = Grid2DView::new(grid2D, grid2D_view_settings); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `grid2_d_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "5fd770dd083daa0e388aea4136632e049cc5a3e76804e6d48ff701a030dd86d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd770dd083daa0e388aea4136632e049cc5a3e76804e6d48ff701a030dd86d5", kill_on_drop: false }` [INFO] [stdout] 5fd770dd083daa0e388aea4136632e049cc5a3e76804e6d48ff701a030dd86d5