[INFO] fetching crate bevy_animations 0.2.3... [INFO] testing bevy_animations-0.2.3 against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] extracting crate bevy_animations 0.2.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bevy_animations 0.2.3 on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bevy_animations 0.2.3 [INFO] finished tweaking crates.io crate bevy_animations 0.2.3 [INFO] tweaked toml for crates.io crate bevy_animations 0.2.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21722f26ed2c7147a5b51a46e2395173a7371c9628ec2d8c8a6b5f8c702bfffb [INFO] running `Command { std: "docker" "start" "-a" "21722f26ed2c7147a5b51a46e2395173a7371c9628ec2d8c8a6b5f8c702bfffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21722f26ed2c7147a5b51a46e2395173a7371c9628ec2d8c8a6b5f8c702bfffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21722f26ed2c7147a5b51a46e2395173a7371c9628ec2d8c8a6b5f8c702bfffb", kill_on_drop: false }` [INFO] [stdout] 21722f26ed2c7147a5b51a46e2395173a7371c9628ec2d8c8a6b5f8c702bfffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a789e6276d90b61816fc9805c757a93fe6aa72bd1a906651959f9ac8afb3b66 [INFO] running `Command { std: "docker" "start" "-a" "0a789e6276d90b61816fc9805c757a93fe6aa72bd1a906651959f9ac8afb3b66", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling erased-serde v0.3.25 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling cache-padded v1.3.0 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling bevy_ptr v0.9.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling uuid v1.3.4 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling bevy_tasks v0.9.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling wgpu-core v0.14.2 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling wgpu-types v0.14.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling profiling v1.0.8 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling glam v0.23.0 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling encase_derive_impl v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling bevy_macro_utils v0.9.1 [INFO] [stderr] Compiling hexasphere v8.1.0 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.14.2 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling gltf-derive v1.2.0 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling gilrs v0.10.2 [INFO] [stderr] Compiling encase_derive v0.4.1 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling bevy_reflect_derive v0.9.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.9.1 [INFO] [stderr] Compiling bevy_derive v0.9.1 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling bevy_encase_derive v0.9.1 [INFO] [stderr] Compiling bevy_render_macros v0.9.1 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling bevy_animations_macros v0.4.0 [INFO] [stderr] Compiling taffy v0.1.0 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling glam v0.22.0 [INFO] [stderr] Compiling ron v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling gilrs-core v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling bevy_utils v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling rodio v0.16.0 [INFO] [stderr] Compiling gltf-json v1.2.0 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling bevy_math v0.9.1 [INFO] [stderr] Compiling encase v0.4.1 [INFO] [stderr] Compiling bevy_mikktspace v0.9.1 [INFO] [stderr] Compiling bevy_reflect v0.9.1 [INFO] [stderr] Compiling naga v0.10.1 [INFO] [stderr] Compiling gltf v1.2.0 [INFO] [stderr] Compiling bevy_ecs v0.9.1 [INFO] [stderr] Compiling wgpu-hal v0.14.1 [INFO] [stderr] Compiling bevy_app v0.9.1 [INFO] [stderr] Compiling bevy_log v0.9.1 [INFO] [stderr] Compiling bevy_core v0.9.1 [INFO] [stderr] Compiling bevy_time v0.9.1 [INFO] [stderr] Compiling bevy_input v0.9.1 [INFO] [stderr] Compiling bevy_hierarchy v0.9.1 [INFO] [stderr] Compiling bevy_diagnostic v0.9.1 [INFO] [stderr] Compiling bevy_transform v0.9.1 [INFO] [stderr] Compiling bevy_asset v0.9.1 [INFO] [stderr] Compiling bevy_window v0.9.1 [INFO] [stderr] Compiling bevy_gilrs v0.9.1 [INFO] [stderr] Compiling bevy_winit v0.9.1 [INFO] [stderr] Compiling bevy_animation v0.9.1 [INFO] [stderr] Compiling bevy_audio v0.9.1 [INFO] [stderr] Compiling wgpu v0.14.2 [INFO] [stderr] Compiling bevy_render v0.9.1 [INFO] [stderr] Compiling bevy_core_pipeline v0.9.1 [INFO] [stderr] Compiling bevy_scene v0.9.1 [INFO] [stderr] Compiling bevy_sprite v0.9.1 [INFO] [stderr] Compiling bevy_pbr v0.9.1 [INFO] [stderr] Compiling bevy_gltf v0.9.1 [INFO] [stderr] Compiling bevy_text v0.9.1 [INFO] [stderr] Compiling bevy_ui v0.9.1 [INFO] [stderr] Compiling bevy_internal v0.9.1 [INFO] [stderr] Compiling bevy v0.9.1 [INFO] [stderr] Compiling bevy_animations v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:85:125 [INFO] [stdout] | [INFO] [stdout] 85 | ...ionDirection, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | name: &'static str [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:312:93 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn cycle_animation(&mut self, mut sprite: Mut, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/animations.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn reset_animation(&mut self, mut sprite: Option>) { [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/plugins.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | let (mut sprite, direction) = match query.get_mut(event.0) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_out_of_bounds` is never used [INFO] [stdout] --> src/animations.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TimedAnimation { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_out_of_bounds` are never used [INFO] [stdout] --> src/animations.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl LinearTransformAnimation { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 361 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "0a789e6276d90b61816fc9805c757a93fe6aa72bd1a906651959f9ac8afb3b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a789e6276d90b61816fc9805c757a93fe6aa72bd1a906651959f9ac8afb3b66", kill_on_drop: false }` [INFO] [stdout] 0a789e6276d90b61816fc9805c757a93fe6aa72bd1a906651959f9ac8afb3b66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459087f295a66a2895da3463507e124adc5b22865a382a57032daeae988deef7 [INFO] running `Command { std: "docker" "start" "-a" "459087f295a66a2895da3463507e124adc5b22865a382a57032daeae988deef7", kill_on_drop: false }` [INFO] [stderr] Compiling bevy_animations v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:85:125 [INFO] [stdout] | [INFO] [stdout] 85 | ...ionDirection, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | name: &'static str [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:312:93 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn cycle_animation(&mut self, mut sprite: Mut, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/animations.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn reset_animation(&mut self, mut sprite: Option>) { [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/plugins.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | let (mut sprite, direction) = match query.get_mut(event.0) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_out_of_bounds` is never used [INFO] [stdout] --> src/animations.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TimedAnimation { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_out_of_bounds` are never used [INFO] [stdout] --> src/animations.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl LinearTransformAnimation { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 361 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:85:125 [INFO] [stdout] | [INFO] [stdout] 85 | ...ionDirection, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | name: &'static str [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/animations.rs:312:93 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn cycle_animation(&mut self, mut sprite: Mut, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/animations.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn reset_animation(&mut self, mut sprite: Option>) { [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/plugins.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | let (mut sprite, direction) = match query.get_mut(event.0) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_out_of_bounds` is never used [INFO] [stdout] --> src/animations.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TimedAnimation { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_out_of_bounds` are never used [INFO] [stdout] --> src/animations.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 360 | impl LinearTransformAnimation { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 361 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.44s [INFO] running `Command { std: "docker" "inspect" "459087f295a66a2895da3463507e124adc5b22865a382a57032daeae988deef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459087f295a66a2895da3463507e124adc5b22865a382a57032daeae988deef7", kill_on_drop: false }` [INFO] [stdout] 459087f295a66a2895da3463507e124adc5b22865a382a57032daeae988deef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4837a43165a901302c9461912b7a0dc3aa7310bfd51372db5e56c9a051466a8 [INFO] running `Command { std: "docker" "start" "-a" "c4837a43165a901302c9461912b7a0dc3aa7310bfd51372db5e56c9a051466a8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/animations.rs:85:125 [INFO] [stderr] | [INFO] [stderr] 85 | ...ionDirection, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/animations.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | name: &'static str [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/animations.rs:312:93 [INFO] [stderr] | [INFO] [stderr] 312 | pub fn cycle_animation(&mut self, mut sprite: Mut, delta: Duration, name: &'static str) -> Option<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/animations.rs:333:39 [INFO] [stderr] | [INFO] [stderr] 333 | pub fn reset_animation(&mut self, mut sprite: Option>) { [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/plugins.rs:184:14 [INFO] [stderr] | [INFO] [stderr] 184 | let (mut sprite, direction) = match query.get_mut(event.0) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `is_out_of_bounds` is never used [INFO] [stderr] --> src/animations.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 19 | impl TimedAnimation { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `is_out_of_bounds` are never used [INFO] [stderr] --> src/animations.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 360 | impl LinearTransformAnimation { [INFO] [stderr] | ----------------------------- associated items in this implementation [INFO] [stderr] 361 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 454 | fn is_out_of_bounds(&self, sprite: &Mut, index: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bevy_animations` (lib) generated 7 warnings (run `cargo fix --lib -p bevy_animations` to apply 5 suggestions) [INFO] [stderr] warning: `bevy_animations` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bevy_animations-bdb1d2934aa28fc2) [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 bevy_animations [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/plugins.rs - plugins::AnimationsPlugin (line 7) ... FAILED [INFO] [stdout] test src/types.rs - types::AnimationDirectionIndexes (line 9) ... FAILED [INFO] [stdout] test src/types.rs - types::AnimationEvent (line 130) ... FAILED [INFO] [stdout] test src/types.rs - types::ResetAnimationEvent (line 155) ... FAILED [INFO] [stdout] test src/types.rs - types::AnimationDirectionIndexes (line 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/plugins.rs - plugins::AnimationsPlugin (line 7) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `AnimationsPlugin: PluginGroup` is not satisfied [INFO] [stdout] --> src/plugins.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 10 | .add_plugins(AnimationsPlugin { [INFO] [stdout] | __________-----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 11 | | pixels_per_meter: 20. // your desired pixels_per_meter [INFO] [stdout] 12 | | }) [INFO] [stdout] | |_________^ the trait `PluginGroup` is not implemented for `AnimationsPlugin` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PluginGroup`: [INFO] [stdout] MinimalPlugins [INFO] [stdout] NoopPluginGroup [INFO] [stdout] PluginGroupBuilder [INFO] [stdout] bevy::DefaultPlugins [INFO] [stdout] note: required by a bound in `bevy::prelude::App::add_plugins` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bevy_app-0.9.1/src/app.rs:928:27 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn add_plugins(&mut self, group: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `App::add_plugins` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::AnimationDirectionIndexes (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationDirectionIndexes` [INFO] [stdout] --> src/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 3 | AnimationDirectionIndexes::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AnimationDirectionIndexes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_animations::AnimationDirectionIndexes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::AnimationEvent (line 130) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `::`, or `<`, found `Entity` [INFO] [stdout] --> src/types.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 9 | player_query: Query<(&Transform Entity), With>, [INFO] [stdout] | -^^^^^^ expected one of `!`, `(`, `)`, `,`, `::`, or `<` [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/types.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 9 | player_query: Query<(&Transform Entity), With>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | fn move_player( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::ResetAnimationEvent (line 155) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `::`, or `<`, found `Entity` [INFO] [stdout] --> src/types.rs:161:37 [INFO] [stdout] | [INFO] [stdout] 9 | player_query: Query<(&Transform Entity), With>, [INFO] [stdout] | -^^^^^^ expected one of `!`, `(`, `)`, `,`, `::`, or `<` [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/types.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 9 | player_query: Query<(&Transform Entity), With>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | fn move_player( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::AnimationDirectionIndexes (line 21) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `fn` [INFO] [stdout] --> src/types.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bevy_animations::* [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | fn setup_entity( [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/types.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 14 | SpriteSheetBundle { [INFO] [stdout] | ----------------- while parsing this struct [INFO] [stdout] 15 | texture_atlas: // your sprite sheet handle [INFO] [stdout] 16 | transform: Transform::from_xyz(0., 0., 0.) // your desired location in the `World` [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `0.` [INFO] [stdout] --> src/types.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 14 | SpriteSheetBundle { [INFO] [stdout] | ----------------- while parsing this struct [INFO] [stdout] 15 | texture_atlas: // your sprite sheet handle [INFO] [stdout] 16 | transform: Transform::from_xyz(0., 0., 0.) // your desired location in the `World` [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `0.` [INFO] [stdout] --> src/types.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 14 | SpriteSheetBundle { [INFO] [stdout] | ----------------- while parsing this struct [INFO] [stdout] 15 | texture_atlas: // your sprite sheet handle [INFO] [stdout] 16 | transform: Transform::from_xyz(0., 0., 0.) // your desired location in the `World` [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `SpriteSheetBundle` [INFO] [stdout] --> src/types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 13 | AnimationDirection::Still // the `AnimationDirection` component is needed on the entity to determine the direction [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] 14 | SpriteSheetBundle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `0.55` [INFO] [stdout] --> src/types.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 25 | /* animation_frames */ vec![0, 1, 2, 3] // the x index for your frames to cycle through [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] 26 | /* meters per frame */ 0.55 // your desired meters per frame [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `texture_atlas_hanle` [INFO] [stdout] --> src/types.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 26 | /* meters per frame */ 0.55 // your desired meters per frame [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] 27 | /* handle */ texture_atlas_hanle // your sprite sheet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `Vec2` [INFO] [stdout] --> src/types.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 27 | /* handle */ texture_atlas_hanle // your sprite sheet [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] 28 | /* frame */ Vec2::new(4., 4.) // the length and height of your sprite sheet [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `AnimationDirectionIndexes` [INFO] [stdout] --> src/types.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 28 | /* frame */ Vec2::new(4., 4.) // the length and height of your sprite sheet [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] 29 | /* direction_indexes */ AnimationDirectionIndexes::new(4, 3, 2, 1) // from the example above [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found keyword `true` [INFO] [stdout] --> src/types.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 29 | /* direction_indexes */ AnimationDirectionIndexes::new(4, 3, 2, 1) // from the example above [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] 30 | /* repeating */ true // if the animation is repeating or not [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `texture_atlas_hanle` in this scope [INFO] [stdout] --> src/types.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 27 | /* handle */ texture_atlas_hanle // your sprite sheet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `computed_visibility`, `global_transform`, `sprite` and 2 other fields in initializer of `bevy::prelude::SpriteSheetBundle` [INFO] [stdout] --> src/types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 14 | SpriteSheetBundle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `computed_visibility`, `global_transform`, `sprite` and 2 other fields [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/types.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 12 | let entity = commands.spawn( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | AnimationDirection::Still // the `AnimationDirection` component is needed on the entity to determine the direction [INFO] [stdout] | ___________________________________- [INFO] [stdout] 14 | |/ SpriteSheetBundle { [INFO] [stdout] 15 | || texture_atlas: // your sprite sheet handle [INFO] [stdout] 16 | || transform: Transform::from_xyz(0., 0., 0.) // your desired location in the `World` [INFO] [stdout] 17 | || } [INFO] [stdout] | || - [INFO] [stdout] | ||_________| [INFO] [stdout] | |_________help: remove the extra argument [INFO] [stdout] | unexpected argument of type `bevy::prelude::SpriteSheetBundle` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.9.1/src/system/commands/mod.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn spawn<'a, T: Bundle>(&'a mut self, bundle: T) -> EntityCommands<'w, 's, 'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 23 | AnimationType::Transform( [INFO] [stdout] | _________^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 24 | | TransformAnimation::new( [INFO] [stdout] 25 | | /* animation_frames */ vec![0, 1, 2, 3] // the x index for your frames to cycle through [INFO] [stdout] 26 | | /* meters per frame */ 0.55 // your desired meters per frame [INFO] [stdout] ... | [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | ) [INFO] [stdout] | |_________- an argument of type `&'static str` is missing [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Transform(TransformAnimation, AnimationName), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 23 ~ AnimationType::Transform(TransformAnimation::new( [INFO] [stdout] 24 + /* animation_frames */ vec![0, 1, 2, 3] // the x index for your frames to cycle through [INFO] [stdout] 25 + /* meters per frame */ 0.55 // your desired meters per frame [INFO] [stdout] 26 + /* handle */ texture_atlas_hanle // your sprite sheet [INFO] [stdout] 27 + /* frame */ Vec2::new(4., 4.) // the length and height of your sprite sheet [INFO] [stdout] 28 + /* direction_indexes */ AnimationDirectionIndexes::new(4, 3, 2, 1) // from the example above [INFO] [stdout] 29 + /* repeating */ true // if the animation is repeating or not [INFO] [stdout] 30 + ), /* &'static str */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 21 | / animations.insert_animation( [INFO] [stdout] 22 | | entity.id(), [INFO] [stdout] 23 | | AnimationType::Transform( [INFO] [stdout] 24 | | TransformAnimation::new( [INFO] [stdout] ... | [INFO] [stdout] 32 | | ) [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ expected `()`, found `&mut Animations` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 33 | ); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 11 | ) -> &mut bevy_animations::Animations { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/plugins.rs - plugins::AnimationsPlugin (line 7) [INFO] [stdout] src/types.rs - types::AnimationDirectionIndexes (line 21) [INFO] [stdout] src/types.rs - types::AnimationDirectionIndexes (line 9) [INFO] [stdout] src/types.rs - types::AnimationEvent (line 130) [INFO] [stdout] src/types.rs - types::ResetAnimationEvent (line 155) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c4837a43165a901302c9461912b7a0dc3aa7310bfd51372db5e56c9a051466a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4837a43165a901302c9461912b7a0dc3aa7310bfd51372db5e56c9a051466a8", kill_on_drop: false }` [INFO] [stdout] c4837a43165a901302c9461912b7a0dc3aa7310bfd51372db5e56c9a051466a8