[INFO] cloning repository https://github.com/Perococco/boids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Perococco/boids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerococco%2Fboids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerococco%2Fboids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06bc209bd1df4efb2fc9812cb90625bb09876500 [INFO] building Perococco/boids against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerococco%2Fboids" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Perococco/boids on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Perococco/boids [INFO] finished tweaking git repo https://github.com/Perococco/boids [INFO] tweaked toml for git repo https://github.com/Perococco/boids written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Perococco/boids 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec-tree v0.1.2 [INFO] [stderr] Downloaded raylib v3.5.0 [INFO] [stderr] Downloaded raylib-sys v3.5.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83eef95b9aa85a2bd74396507c1dd57eadf3e5956eeb1ecf3b7cb5de5981c3cf [INFO] running `Command { std: "docker" "start" "-a" "83eef95b9aa85a2bd74396507c1dd57eadf3e5956eeb1ecf3b7cb5de5981c3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83eef95b9aa85a2bd74396507c1dd57eadf3e5956eeb1ecf3b7cb5de5981c3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83eef95b9aa85a2bd74396507c1dd57eadf3e5956eeb1ecf3b7cb5de5981c3cf", kill_on_drop: false }` [INFO] [stdout] 83eef95b9aa85a2bd74396507c1dd57eadf3e5956eeb1ecf3b7cb5de5981c3cf [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60d78693f14707a434bce71fd74275b578bf82354c12ef379ab3e5b42a2cef9d [INFO] running `Command { std: "docker" "start" "-a" "60d78693f14707a434bce71fd74275b578bf82354c12ef379ab3e5b42a2cef9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling vec-tree v0.1.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling raylib-sys v3.5.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tree v0.1.0 (/opt/rustwide/workdir/tree) [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> tree/src/tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> tree/src/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children` is never used [INFO] [stdout] --> tree/src/tree.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl TreeData where T: TreeNode { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn children(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling raylib v3.5.0 [INFO] [stderr] Compiling gui v0.1.0 (/opt/rustwide/workdir/gui) [INFO] [stdout] warning: constant `SLIDER_BAR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SLIDER_BAR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_HEIGHT` is never used [INFO] [stdout] --> gui/src/slider.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const SLIDER_CURSOR_HEIGHT: f32 = 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const SLIDER_CURSOR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_COLOR` is never used [INFO] [stdout] --> gui/src/slider.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const SLIDER_CURSOR_COLOR: Color = Color::BLACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> gui/src/widget_state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | &self.dirty_flags.set(dirty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = &self.dirty_flags.set(dirty); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boids v0.1.0 (/opt/rustwide/workdir/boids) [INFO] [stdout] warning: unused import: `raylib::consts::*` [INFO] [stdout] --> boids/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuiData` [INFO] [stdout] --> boids/src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use gui::gui::{Gui, GuiData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::border::Border` [INFO] [stdout] --> boids/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gui::border::Border; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::background::Background` [INFO] [stdout] --> boids/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use gui::background::Background; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::fill::Fill` [INFO] [stdout] --> boids/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use gui::fill::Fill; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abort` and `exit` [INFO] [stdout] --> boids/src/main.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use std::process::{abort, exit}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> boids/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> boids/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> boids/src/data/boid.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let v: f32 = rand::random::() * PI * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [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] --> boids/src/main.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut should_quit = false; [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 `Result` that must be used [INFO] [stdout] --> boids/src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | gui.load_font(&mut rl, &thread, "default", font_path, 48, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = gui.load_font(&mut rl, &thread, "default", font_path, 48, 200); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> boids/src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | gui.load_font(&mut rl, &thread, "small", font_path, 20, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = gui.load_font(&mut rl, &thread, "small", font_path, 20, 200); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [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" "60d78693f14707a434bce71fd74275b578bf82354c12ef379ab3e5b42a2cef9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d78693f14707a434bce71fd74275b578bf82354c12ef379ab3e5b42a2cef9d", kill_on_drop: false }` [INFO] [stdout] 60d78693f14707a434bce71fd74275b578bf82354c12ef379ab3e5b42a2cef9d [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0383c4ab32406b6d3b83e07617ef98f79bc2dec2f1c591e77c3c7344741f458 [INFO] running `Command { std: "docker" "start" "-a" "b0383c4ab32406b6d3b83e07617ef98f79bc2dec2f1c591e77c3c7344741f458", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> tree/src/tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tree v0.1.0 (/opt/rustwide/workdir/tree) [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> tree/src/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children` is never used [INFO] [stdout] --> tree/src/tree.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl TreeData where T: TreeNode { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn children(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_BAR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SLIDER_BAR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_HEIGHT` is never used [INFO] [stdout] --> gui/src/slider.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const SLIDER_CURSOR_HEIGHT: f32 = 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const SLIDER_CURSOR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_COLOR` is never used [INFO] [stdout] --> gui/src/slider.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const SLIDER_CURSOR_COLOR: Color = Color::BLACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> gui/src/widget_state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | &self.dirty_flags.set(dirty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = &self.dirty_flags.set(dirty); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gui v0.1.0 (/opt/rustwide/workdir/gui) [INFO] [stderr] Compiling boids v0.1.0 (/opt/rustwide/workdir/boids) [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> tree/src/tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> tree/src/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::consts::*` [INFO] [stdout] --> boids/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuiData` [INFO] [stdout] --> boids/src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use gui::gui::{Gui, GuiData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::border::Border` [INFO] [stdout] --> boids/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gui::border::Border; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::background::Background` [INFO] [stdout] --> boids/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use gui::background::Background; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gui::fill::Fill` [INFO] [stdout] --> boids/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use gui::fill::Fill; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abort` and `exit` [INFO] [stdout] --> boids/src/main.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use std::process::{abort, exit}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> boids/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> boids/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> boids/src/data/boid.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let v: f32 = rand::random::() * PI * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children` is never used [INFO] [stdout] --> tree/src/tree.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl TreeData where T: TreeNode { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn children(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> boids/src/main.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut should_quit = false; [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 `Result` that must be used [INFO] [stdout] --> boids/src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | gui.load_font(&mut rl, &thread, "default", font_path, 48, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = gui.load_font(&mut rl, &thread, "default", font_path, 48, 200); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> boids/src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | gui.load_font(&mut rl, &thread, "small", font_path, 20, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = gui.load_font(&mut rl, &thread, "small", font_path, 20, 200); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_BAR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SLIDER_BAR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_HEIGHT` is never used [INFO] [stdout] --> gui/src/slider.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const SLIDER_CURSOR_HEIGHT: f32 = 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_THICKNESS` is never used [INFO] [stdout] --> gui/src/slider.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const SLIDER_CURSOR_THICKNESS: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLIDER_CURSOR_COLOR` is never used [INFO] [stdout] --> gui/src/slider.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const SLIDER_CURSOR_COLOR: Color = Color::BLACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> gui/src/widget_state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | &self.dirty_flags.set(dirty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = &self.dirty_flags.set(dirty); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [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" "b0383c4ab32406b6d3b83e07617ef98f79bc2dec2f1c591e77c3c7344741f458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0383c4ab32406b6d3b83e07617ef98f79bc2dec2f1c591e77c3c7344741f458", kill_on_drop: false }` [INFO] [stdout] b0383c4ab32406b6d3b83e07617ef98f79bc2dec2f1c591e77c3c7344741f458