[INFO] cloning repository https://github.com/kil0meters/double_pendulum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kil0meters/double_pendulum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkil0meters%2Fdouble_pendulum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkil0meters%2Fdouble_pendulum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a13ebb5c9e788eb3551f21b47545c69d88ef9c79 [INFO] building kil0meters/double_pendulum against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkil0meters%2Fdouble_pendulum" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kil0meters/double_pendulum on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kil0meters/double_pendulum [INFO] finished tweaking git repo https://github.com/kil0meters/double_pendulum [INFO] tweaked toml for git repo https://github.com/kil0meters/double_pendulum written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/kil0meters/double_pendulum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e168117381609592097f9529b5deae177f54bfc9b5080910c214c5450ebaa071 [INFO] running `Command { std: "docker" "start" "-a" "e168117381609592097f9529b5deae177f54bfc9b5080910c214c5450ebaa071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e168117381609592097f9529b5deae177f54bfc9b5080910c214c5450ebaa071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e168117381609592097f9529b5deae177f54bfc9b5080910c214c5450ebaa071", kill_on_drop: false }` [INFO] [stdout] e168117381609592097f9529b5deae177f54bfc9b5080910c214c5450ebaa071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ae03dba741fc4074e77b2728235e30be39ce20f3b2189f5812d6c0da8ac545f [INFO] running `Command { std: "docker" "start" "-a" "0ae03dba741fc4074e77b2728235e30be39ce20f3b2189f5812d6c0da8ac545f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling notosans v0.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v0.11.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling wgpu-core v0.11.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling pennereq v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling lyon_geom v0.17.6 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.7.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling wgpu-hal v0.11.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling nannou_core v0.18.0 [INFO] [stderr] Compiling nannou_mesh v0.18.0 [INFO] [stderr] Compiling wgpu v0.11.1 [INFO] [stderr] Compiling nannou_wgpu v0.18.0 [INFO] [stderr] Compiling nannou v0.18.1 [INFO] [stderr] Compiling double_pendulum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ppm::PPM` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ppm::PPM; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | fn update(app: &App, model: &mut Model, _update: Update) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | const WIDTH: usize = 512 * 8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const HEIGHT: usize = 512 * 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn interp(x: f32, y: f32, part: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `similar_to` is never used [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn similar_to(&self, other: &Position, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREAD_COUNT` is never used [INFO] [stdout] --> src/ppm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const THREAD_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PPM` is never constructed [INFO] [stdout] --> src/ppm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PPM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppm.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `color_with` is never used [INFO] [stdout] --> src/ppm.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn color_with(&mut self, color_function: fn(usize, usize) -> (u8, u8, u8)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/ppm.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "0ae03dba741fc4074e77b2728235e30be39ce20f3b2189f5812d6c0da8ac545f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae03dba741fc4074e77b2728235e30be39ce20f3b2189f5812d6c0da8ac545f", kill_on_drop: false }` [INFO] [stdout] 0ae03dba741fc4074e77b2728235e30be39ce20f3b2189f5812d6c0da8ac545f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5171093c5d2ffdbab6d28825e41e4a362257f467e9f566abb52b29f6f25e4ef [INFO] running `Command { std: "docker" "start" "-a" "d5171093c5d2ffdbab6d28825e41e4a362257f467e9f566abb52b29f6f25e4ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling double_pendulum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ppm::PPM` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ppm::PPM; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | fn update(app: &App, model: &mut Model, _update: Update) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | const WIDTH: usize = 512 * 8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const HEIGHT: usize = 512 * 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/main.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn interp(x: f32, y: f32, part: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `similar_to` is never used [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn similar_to(&self, other: &Position, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREAD_COUNT` is never used [INFO] [stdout] --> src/ppm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const THREAD_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PPM` is never constructed [INFO] [stdout] --> src/ppm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PPM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppm.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `color_with` is never used [INFO] [stdout] --> src/ppm.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn color_with(&mut self, color_function: fn(usize, usize) -> (u8, u8, u8)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/ppm.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "d5171093c5d2ffdbab6d28825e41e4a362257f467e9f566abb52b29f6f25e4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5171093c5d2ffdbab6d28825e41e4a362257f467e9f566abb52b29f6f25e4ef", kill_on_drop: false }` [INFO] [stdout] d5171093c5d2ffdbab6d28825e41e4a362257f467e9f566abb52b29f6f25e4ef