[INFO] cloning repository https://github.com/wnuspl/burge_v2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wnuspl/burge_v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwnuspl%2Fburge_v2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwnuspl%2Fburge_v2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 250ae6398b5080e01632a4823a9b46bb909d6cd4 [INFO] testing wnuspl/burge_v2 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwnuspl%2Fburge_v2" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wnuspl/burge_v2 [INFO] finished tweaking git repo https://github.com/wnuspl/burge_v2 [INFO] tweaked toml for git repo https://github.com/wnuspl/burge_v2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wnuspl/burge_v2 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wnuspl/burge_v2 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.23.0 [INFO] [stderr] Downloaded winit v0.21.0 [INFO] [stderr] Downloaded glium v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9a2e238954aaf5ad94085efa6a47d0747795431a5bcf56afbb50c5a2111e191 [INFO] running `Command { std: "docker" "start" "-a" "c9a2e238954aaf5ad94085efa6a47d0747795431a5bcf56afbb50c5a2111e191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9a2e238954aaf5ad94085efa6a47d0747795431a5bcf56afbb50c5a2111e191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a2e238954aaf5ad94085efa6a47d0747795431a5bcf56afbb50c5a2111e191", kill_on_drop: false }` [INFO] [stdout] c9a2e238954aaf5ad94085efa6a47d0747795431a5bcf56afbb50c5a2111e191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96ea1fbfcbba930372ac24138474ee2e240d8500630bab97cab0cf3d8386ac0f [INFO] running `Command { std: "docker" "start" "-a" "96ea1fbfcbba930372ac24138474ee2e240d8500630bab97cab0cf3d8386ac0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling glium v0.26.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling addr2line v0.24.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.21.0 [INFO] [stderr] Compiling glutin v0.23.0 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling burge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/physics.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone,Copy, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/camera.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/mod.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Clone,Serialize,Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref`, `path`, and `self` [INFO] [stdout] --> src/instance.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, path, time::{self, Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/instance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture2d`, `implement_vertex`, and `texture` [INFO] [stdout] --> src/instance.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | ..., KeyboardInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/instance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/instance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/instance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::physics::PhysObj` [INFO] [stdout] --> src/core/particles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::core::physics::PhysObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/map_editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/core/map_editor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{iter::Map, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/instance.rs:4:132 [INFO] [stdout] | [INFO] [stdout] 4 | ...rdInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/element.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/element.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/element.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn local_update(&mut self, td: f32) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/element.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn load(&self, data: &serde_json::Map) -> Element { Element::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/element.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn clip_matrix(&self, window_size: [u32;2]) -> [[f32;3];3] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | Element::Group(g) => serde_json::Value::Null, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | element::Element::Group(g) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | element::Element::Group(g) => [0.0,0.0], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/scene.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for (uuid, element) in &self.elements { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instance.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/physics.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lifetime` [INFO] [stdout] --> src/core/particles.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn init(particle: &mut Particle) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/particles.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut s = event::Sender::new(); [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/core/particles.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut sprite = sprite::Sprite::single(self.data.sprite_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 117 | MapEditorState::Pan => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | MapEditorState::Zoom => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | MapEditorState::ElementSelected {} => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/core/map_editor.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn local_update(&mut self, td: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/map_editor.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | fn load(&self, data: &serde_json::Map) -> Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_elements` is never read [INFO] [stdout] --> src/scene.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct SceneManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 204 | default_elements: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map_editor_ss` is never read [INFO] [stdout] --> src/instance.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | map_editor_ss: sprite::SpriteSheet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `facet` is never read [INFO] [stdout] --> src/core/physics.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct PhysObjManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | facet: event::Sender, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "96ea1fbfcbba930372ac24138474ee2e240d8500630bab97cab0cf3d8386ac0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ea1fbfcbba930372ac24138474ee2e240d8500630bab97cab0cf3d8386ac0f", kill_on_drop: false }` [INFO] [stdout] 96ea1fbfcbba930372ac24138474ee2e240d8500630bab97cab0cf3d8386ac0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db1f3d98807a5237c42ad60e2c9fc43296f9a6589dd02845a18c61acc355ae6e [INFO] running `Command { std: "docker" "start" "-a" "db1f3d98807a5237c42ad60e2c9fc43296f9a6589dd02845a18c61acc355ae6e", kill_on_drop: false }` [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/physics.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone,Copy, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/camera.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/mod.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Clone,Serialize,Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref`, `path`, and `self` [INFO] [stdout] --> src/instance.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, path, time::{self, Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/instance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture2d`, `implement_vertex`, and `texture` [INFO] [stdout] --> src/instance.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | ..., KeyboardInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/instance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/instance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/instance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::physics::PhysObj` [INFO] [stdout] --> src/core/particles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::core::physics::PhysObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/map_editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/core/map_editor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{iter::Map, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/instance.rs:4:132 [INFO] [stdout] | [INFO] [stdout] 4 | ...rdInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/element.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/element.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/element.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn local_update(&mut self, td: f32) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/element.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn load(&self, data: &serde_json::Map) -> Element { Element::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/element.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn clip_matrix(&self, window_size: [u32;2]) -> [[f32;3];3] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | Element::Group(g) => serde_json::Value::Null, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | element::Element::Group(g) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | element::Element::Group(g) => [0.0,0.0], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/scene.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for (uuid, element) in &self.elements { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling burge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instance.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/physics.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lifetime` [INFO] [stdout] --> src/core/particles.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn init(particle: &mut Particle) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/particles.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut s = event::Sender::new(); [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/core/particles.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut sprite = sprite::Sprite::single(self.data.sprite_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 117 | MapEditorState::Pan => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | MapEditorState::Zoom => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | MapEditorState::ElementSelected {} => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/core/map_editor.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn local_update(&mut self, td: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/map_editor.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | fn load(&self, data: &serde_json::Map) -> Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_elements` is never read [INFO] [stdout] --> src/scene.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct SceneManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 204 | default_elements: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map_editor_ss` is never read [INFO] [stdout] --> src/instance.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | map_editor_ss: sprite::SpriteSheet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `facet` is never read [INFO] [stdout] --> src/core/physics.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct PhysObjManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | facet: event::Sender, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/physics.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone,Copy, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/particles.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/camera.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/mod.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | #[derive(Clone,Serialize,Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref`, `path`, and `self` [INFO] [stdout] --> src/instance.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, path, time::{self, Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/instance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture2d`, `implement_vertex`, and `texture` [INFO] [stdout] --> src/instance.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | ..., KeyboardInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/instance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/instance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/instance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::physics::PhysObj` [INFO] [stdout] --> src/core/particles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::core::physics::PhysObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/map_editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/core/map_editor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{iter::Map, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/instance.rs:4:132 [INFO] [stdout] | [INFO] [stdout] 4 | ...rdInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/element.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/element.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/element.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn local_update(&mut self, td: f32) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/element.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn load(&self, data: &serde_json::Map) -> Element { Element::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/element.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn clip_matrix(&self, window_size: [u32;2]) -> [[f32;3];3] { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | Element::Group(g) => serde_json::Value::Null, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | element::Element::Group(g) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/element.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | element::Element::Group(g) => [0.0,0.0], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/scene.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for (uuid, element) in &self.elements { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instance.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/physics.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lifetime` [INFO] [stdout] --> src/core/particles.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/core/particles.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn init(particle: &mut Particle) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/particles.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut s = event::Sender::new(); [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/core/particles.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut sprite = sprite::Sprite::single(self.data.sprite_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/map_editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 117 | MapEditorState::Pan => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | MapEditorState::Zoom => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | MapEditorState::ElementSelected {} => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/core/map_editor.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn local_update(&mut self, td: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/map_editor.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | fn load(&self, data: &serde_json::Map) -> Element { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_elements` is never read [INFO] [stdout] --> src/scene.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct SceneManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 204 | default_elements: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map_editor_ss` is never read [INFO] [stdout] --> src/instance.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | map_editor_ss: sprite::SpriteSheet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `facet` is never read [INFO] [stdout] --> src/core/physics.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct PhysObjManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | facet: event::Sender, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn module_tool(&self) -> ModuleTool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "db1f3d98807a5237c42ad60e2c9fc43296f9a6589dd02845a18c61acc355ae6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1f3d98807a5237c42ad60e2c9fc43296f9a6589dd02845a18c61acc355ae6e", kill_on_drop: false }` [INFO] [stdout] db1f3d98807a5237c42ad60e2c9fc43296f9a6589dd02845a18c61acc355ae6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1451071d7aa6fd6db4795638d27bdd49733c969dc23a84d2f356c9e1763ac916 [INFO] running `Command { std: "docker" "start" "-a" "1451071d7aa6fd6db4795638d27bdd49733c969dc23a84d2f356c9e1763ac916", kill_on_drop: false }` [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/core/physics.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[serde(default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Clone,Copy, Serialize, Deserialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/core/particles.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[serde(default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/core/particles.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | #[serde(default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 61 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/core/camera.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[serde(default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 5 | #[derive(Clone, Serialize, Deserialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/core/mod.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[serde(default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | #[derive(Clone,Serialize,Deserialize)] [INFO] [stderr] | --------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/element.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ops::Deref`, `path`, and `self` [INFO] [stderr] --> src/instance.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ops::Deref, path, time::{self, Duration, Instant}}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/instance.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Texture2d`, `implement_vertex`, and `texture` [INFO] [stderr] --> src/instance.rs:4:105 [INFO] [stderr] | [INFO] [stderr] 4 | ..., KeyboardInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/instance.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/instance.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/instance.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::core::physics::PhysObj` [INFO] [stderr] --> src/core/particles.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use self::core::physics::PhysObj; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/core/map_editor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iter::Map` [INFO] [stderr] --> src/core/map_editor.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{iter::Map, rc::Rc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/instance.rs:4:132 [INFO] [stderr] | [INFO] [stderr] 4 | ...rdInput}, event_loop::ControlFlow}, implement_vertex, texture, Surface, Texture2d}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> src/element.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mods` [INFO] [stderr] --> src/element.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | fn init(&mut self, uuid: Uuid, mods: &ModuleTool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `td` [INFO] [stderr] --> src/element.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | fn local_update(&mut self, td: f32) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/element.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | fn load(&self, data: &serde_json::Map) -> Element { Element::Null } [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_size` [INFO] [stderr] --> src/element.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | fn clip_matrix(&self, window_size: [u32;2]) -> [[f32;3];3] { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/element.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | Element::Group(g) => serde_json::Value::Null, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/element.rs:92:37 [INFO] [stderr] | [INFO] [stderr] 92 | element::Element::Group(g) => [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/element.rs:105:37 [INFO] [stderr] | [INFO] [stderr] 105 | element::Element::Group(g) => [0.0,0.0], [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> src/scene.rs:162:14 [INFO] [stderr] | [INFO] [stderr] 162 | for (uuid, element) in &self.elements { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/instance.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/core/physics.rs:271:20 [INFO] [stderr] | [INFO] [stderr] 271 | fn load(&self, data: &serde_json::Map) -> element::Element { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `particle` [INFO] [stderr] --> src/core/particles.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lifetime` [INFO] [stderr] --> src/core/particles.rs:28:53 [INFO] [stderr] | [INFO] [stderr] 28 | fn over_lifetime(particle: &mut Particle, lifetime:f32) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lifetime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `particle` [INFO] [stderr] --> src/core/particles.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | fn init(particle: &mut Particle) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/particles.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | let mut s = event::Sender::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/particles.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | let mut sprite = sprite::Sprite::single(self.data.sprite_index); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/core/map_editor.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 225 | _ => () [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/core/map_editor.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 117 | MapEditorState::Pan => { [INFO] [stderr] | ------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 129 | MapEditorState::Zoom => { [INFO] [stderr] | -------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 139 | MapEditorState::ElementSelected {} => { [INFO] [stderr] | ---------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 225 | _ => () [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `td` [INFO] [stderr] --> src/core/map_editor.rs:91:32 [INFO] [stderr] | [INFO] [stderr] 91 | fn local_update(&mut self, td: f32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/core/map_editor.rs:249:20 [INFO] [stderr] | [INFO] [stderr] 249 | fn load(&self, data: &serde_json::Map) -> Element { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: field `default_elements` is never read [INFO] [stderr] --> src/scene.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 203 | pub struct SceneManager { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 204 | default_elements: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `map_editor_ss` is never read [INFO] [stderr] --> src/instance.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct Instance { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 44 | map_editor_ss: sprite::SpriteSheet, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `facet` is never read [INFO] [stderr] --> src/core/physics.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 152 | pub struct PhysObjManager { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 156 | facet: event::Sender, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scene.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn module_tool(&self) -> ModuleTool { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn module_tool(&self) -> ModuleTool<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `burge` (lib) generated 39 warnings (run `cargo fix --lib -p burge` to apply 12 suggestions) [INFO] [stderr] warning: `burge` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/burge-e5a2316ae56d5fe7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests burge [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1451071d7aa6fd6db4795638d27bdd49733c969dc23a84d2f356c9e1763ac916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1451071d7aa6fd6db4795638d27bdd49733c969dc23a84d2f356c9e1763ac916", kill_on_drop: false }` [INFO] [stdout] 1451071d7aa6fd6db4795638d27bdd49733c969dc23a84d2f356c9e1763ac916