[INFO] fetching crate rust-rpg-toolkit 0.1.1... [INFO] checking rust-rpg-toolkit-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate rust-rpg-toolkit 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rust-rpg-toolkit 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-rpg-toolkit 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust-rpg-toolkit 0.1.1 [INFO] tweaked toml for crates.io crate rust-rpg-toolkit 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate rust-rpg-toolkit 0.1.1 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad-profiler v0.1.1 [INFO] [stderr] Downloaded sapp-jsutils v0.1.5 [INFO] [stderr] Downloaded quad-storage v0.1.2 [INFO] [stderr] Downloaded mode v0.4.1 [INFO] [stderr] Downloaded nanoserde v0.1.29 [INFO] [stderr] Downloaded nanoserde-derive v0.1.18 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.2 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.6 [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded ff-particles v0.1.0 [INFO] [stderr] Downloaded bracket-geometry v0.8.3 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.4 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded wide v0.6.5 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded ndk-sys v0.2.1 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] [stderr] Downloaded macroquad v0.3.9 [INFO] [stderr] Downloaded sapp-android v0.1.8 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded ultraviolet v0.8.1 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.37 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded sapp-windows v0.2.18 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded quad-snd v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86e9a824dda1732564bc356fe281b365ce5197d5013fd710020b9728479febfc [INFO] running `Command { std: "docker" "start" "-a" "86e9a824dda1732564bc356fe281b365ce5197d5013fd710020b9728479febfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e9a824dda1732564bc356fe281b365ce5197d5013fd710020b9728479febfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e9a824dda1732564bc356fe281b365ce5197d5013fd710020b9728479febfc", kill_on_drop: false }` [INFO] [stdout] 86e9a824dda1732564bc356fe281b365ce5197d5013fd710020b9728479febfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80ad979645c1c6984fdb6b6e4f18259166ca39472fa5a3ff07c6e52734086112 [INFO] running `Command { std: "docker" "start" "-a" "80ad979645c1c6984fdb6b6e4f18259166ca39472fa5a3ff07c6e52734086112", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling macroquad_macro v0.1.6 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking bumpalo v3.7.0 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Compiling nanoserde-derive v0.1.18 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking mode v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking nanoserde v0.1.29 [INFO] [stderr] Checking miniquad v0.3.0-alpha.37 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking quad-storage v0.1.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking bracket-geometry v0.8.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking macroquad v0.3.9 [INFO] [stderr] Checking macroquad-profiler v0.1.1 [INFO] [stderr] Checking ff-particles v0.1.0 [INFO] [stderr] Checking rust-rpg-toolkit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/checkbox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/main_menu/character_selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/main_menu/settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sub` is imported redundantly [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Sub` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `storage` is imported redundantly [INFO] [stdout] --> src/input.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{experimental::collections::storage, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `storage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapProperty` is imported redundantly [INFO] [stdout] --> src/json/map/tiled.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapProperty` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::map::{MapProperty, ObjectLayerKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectLayerKind` is imported redundantly [INFO] [stdout] --> src/json/map/tiled.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `ObjectLayerKind` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::map::{MapProperty, ObjectLayerKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Map` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Map` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapLayer` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapLayer` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapLayerKind` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapLayerKind` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapObject` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapObject` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapProperty` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapProperty` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapTile` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapTile` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapTileset` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapTileset` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiled::TiledMap` [INFO] [stdout] --> src/json/map/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use tiled::TiledMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/modules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/nodes/actor/behavior.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Mode` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use mode::{Family, Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mul` is imported redundantly [INFO] [stdout] --> src/nodes/projectiles.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Mul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sub` is imported redundantly [INFO] [stdout] --> src/nodes/projectiles.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Sub` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Texture2D` is imported redundantly [INFO] [stdout] --> src/resources.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Texture2D` is already imported here [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::macroquad::texture::{load_texture, Texture2D}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/checkbox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/main_menu/character_selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/gui/main_menu/settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::gui::*; [INFO] [stdout] | ------------- the item `Deref` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sub` is imported redundantly [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Sub` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `storage` is imported redundantly [INFO] [stdout] --> src/input.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{experimental::collections::storage, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `storage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapProperty` is imported redundantly [INFO] [stdout] --> src/json/map/tiled.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapProperty` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::map::{MapProperty, ObjectLayerKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectLayerKind` is imported redundantly [INFO] [stdout] --> src/json/map/tiled.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `ObjectLayerKind` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::map::{MapProperty, ObjectLayerKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Map` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Map` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapLayer` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapLayer` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapLayerKind` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapLayerKind` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapObject` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapObject` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapProperty` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapProperty` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapTile` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapTile` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MapTileset` is imported redundantly [INFO] [stdout] --> src/json/map/mod.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `MapTileset` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use crate::map::{Map, MapLayer, MapLayerKind, MapObject, MapProperty, MapTile, MapTileset}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiled::TiledMap` [INFO] [stdout] --> src/json/map/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use tiled::TiledMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/modules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/nodes/actor/behavior.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Mode` is already imported here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use mode::{Family, Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mul` is imported redundantly [INFO] [stdout] --> src/nodes/projectiles.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Mul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sub` is imported redundantly [INFO] [stdout] --> src/nodes/projectiles.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Sub` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Texture2D` is imported redundantly [INFO] [stdout] --> src/resources.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Texture2D` is already imported here [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::macroquad::texture::{load_texture, Texture2D}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/inventory/mod.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 121 | / self.items [INFO] [stdout] 122 | | .drain_filter(|entry| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/inventory/mod.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 121 | / self.items [INFO] [stdout] 122 | | .drain_filter(|entry| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/inventory/mod.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | self.items.drain_filter(|entry| { [INFO] [stdout] | -----------^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/inventory/mod.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | self.items.drain_filter(|entry| { [INFO] [stdout] | -----------^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/nodes/actor/mod.rs:576:14 [INFO] [stdout] | [INFO] [stdout] 575 | let mut completed_missions: Vec = active_missions [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 576 | | .drain_filter(|mission| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/nodes/actor/mod.rs:576:14 [INFO] [stdout] | [INFO] [stdout] 575 | let mut completed_missions: Vec = active_missions [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 576 | | .drain_filter(|mission| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/nodes/actor/mod.rs:595:66 [INFO] [stdout] | [INFO] [stdout] 595 | ... let params = resources.items.get(prototype_id).unwrap(); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:877:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 595 | let params = resources.items.get(&prototype_id).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:596:45 [INFO] [stdout] | [INFO] [stdout] 596 | ... for _ in 0..*amount { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:601:60 [INFO] [stdout] | [INFO] [stdout] 601 | ... self.inventory.add_credits(*amount); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:604:53 [INFO] [stdout] | [INFO] [stdout] 604 | ... self.add_experience(*amount); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/nodes/actor/mod.rs:595:66 [INFO] [stdout] | [INFO] [stdout] 595 | ... let params = resources.items.get(prototype_id).unwrap(); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:877:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 595 | let params = resources.items.get(&prototype_id).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:596:45 [INFO] [stdout] | [INFO] [stdout] 596 | ... for _ in 0..*amount { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:601:60 [INFO] [stdout] | [INFO] [stdout] 601 | ... self.inventory.add_credits(*amount); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/nodes/actor/mod.rs:604:53 [INFO] [stdout] | [INFO] [stdout] 604 | ... self.add_experience(*amount); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/nodes/draw_buffer.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | node.buffered.drain_filter(|handle| { [INFO] [stdout] | --------------^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/nodes/draw_buffer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut buffered) = scene::try_get_node(*handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `try_get_node` [INFO] [stdout] 66 | if buffered.is_in_frustum(&frustum) { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut buffered) = scene::try_get_node::(*handle) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/nodes/draw_buffer.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | node.buffered.drain_filter(|handle| { [INFO] [stdout] | --------------^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/nodes/draw_buffer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut buffered) = scene::try_get_node(*handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `try_get_node` [INFO] [stdout] 66 | if buffered.is_in_frustum(&frustum) { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut buffered) = scene::try_get_node::(*handle) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nodes/continuous_beams.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for mut beam in &mut node.active { [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/nodes/continuous_beams.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for mut beam in &mut node.active { [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] error: aborting due to 10 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0599, E0614, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rpg-toolkit` (lib) due to 11 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0599, E0614, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rpg-toolkit` (lib test) due to 11 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "80ad979645c1c6984fdb6b6e4f18259166ca39472fa5a3ff07c6e52734086112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ad979645c1c6984fdb6b6e4f18259166ca39472fa5a3ff07c6e52734086112", kill_on_drop: false }` [INFO] [stdout] 80ad979645c1c6984fdb6b6e4f18259166ca39472fa5a3ff07c6e52734086112