[INFO] cloning repository https://github.com/ericandre615/piston-spritesheet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericandre615/piston-spritesheet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericandre615%2Fpiston-spritesheet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericandre615%2Fpiston-spritesheet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd3bcb15ee59ec7d4f5a8ea53392ef00e8af5bb3 [INFO] testing ericandre615/piston-spritesheet against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericandre615%2Fpiston-spritesheet" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericandre615/piston-spritesheet on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ericandre615/piston-spritesheet [INFO] finished tweaking git repo https://github.com/ericandre615/piston-spritesheet [INFO] tweaked toml for git repo https://github.com/ericandre615/piston-spritesheet written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ericandre615/piston-spritesheet 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-event_loop v0.36.0 [INFO] [stderr] Downloaded pistoncore-window v0.31.0 [INFO] [stderr] Downloaded pistoncore-input v0.20.0 [INFO] [stderr] Downloaded piston v0.36.0 [INFO] [stderr] Downloaded num-derive v0.2.0 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec1b13b513c23cc41c36e560bd09588dae2f861c94e7c1e3b21fafe4d76c2c96 [INFO] running `Command { std: "docker" "start" "-a" "ec1b13b513c23cc41c36e560bd09588dae2f861c94e7c1e3b21fafe4d76c2c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec1b13b513c23cc41c36e560bd09588dae2f861c94e7c1e3b21fafe4d76c2c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1b13b513c23cc41c36e560bd09588dae2f861c94e7c1e3b21fafe4d76c2c96", kill_on_drop: false }` [INFO] [stdout] ec1b13b513c23cc41c36e560bd09588dae2f861c94e7c1e3b21fafe4d76c2c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a90ff4d0f4629bfb070be462d713e6a3c3beb2cdfd82a28d64bd0fd975af97 [INFO] running `Command { std: "docker" "start" "-a" "41a90ff4d0f4629bfb070be462d713e6a3c3beb2cdfd82a28d64bd0fd975af97", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling inflate v0.4.2 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Compiling pistoncore-window v0.31.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.36.0 [INFO] [stderr] Compiling piston v0.36.0 [INFO] [stderr] Compiling spritesheet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/animation/mod.rs:24:93 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 187 | / SpriteSheet { [INFO] [stdout] 188 | | orient_horz: Orientation::Normal, [INFO] [stdout] 189 | | orient_vert: Orientation::Normal, [INFO] [stdout] 190 | | .. [INFO] [stdout] 191 | | } => t.trans(px, py).scale(sx, sy), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 192 | / SpriteSheet { [INFO] [stdout] 193 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 194 | | orient_vert: Orientation::Normal, [INFO] [stdout] 195 | | .. [INFO] [stdout] 196 | | } => t.trans(px + width_offset, py).scale(sx, sy).flip_h(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 197 | / SpriteSheet { [INFO] [stdout] 198 | | orient_horz: Orientation::Normal, [INFO] [stdout] 199 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 200 | | .. [INFO] [stdout] 201 | | } => t.trans(px, py + height_offset).scale(sx, sy).flip_v(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 202 | / SpriteSheet { [INFO] [stdout] 203 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 204 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 205 | | .. [INFO] [stdout] 206 | | } => t.trans(px + width_offset, py + height_offset).scale(sx, sy).flip_hv(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext_dt` [INFO] [stdout] --> src/lib.rs:163:64 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn render(&mut self, t: Matrix2d, g: &mut GlGraphics, &ext_dt: &f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ext_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15, syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "41a90ff4d0f4629bfb070be462d713e6a3c3beb2cdfd82a28d64bd0fd975af97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a90ff4d0f4629bfb070be462d713e6a3c3beb2cdfd82a28d64bd0fd975af97", kill_on_drop: false }` [INFO] [stdout] 41a90ff4d0f4629bfb070be462d713e6a3c3beb2cdfd82a28d64bd0fd975af97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb709ed771c52efff81ac5b9d50026484f9ced796a7c5a06e961eabf9230490 [INFO] running `Command { std: "docker" "start" "-a" "8cb709ed771c52efff81ac5b9d50026484f9ced796a7c5a06e961eabf9230490", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling spritesheet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/animation/mod.rs:24:93 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 187 | / SpriteSheet { [INFO] [stdout] 188 | | orient_horz: Orientation::Normal, [INFO] [stdout] 189 | | orient_vert: Orientation::Normal, [INFO] [stdout] 190 | | .. [INFO] [stdout] 191 | | } => t.trans(px, py).scale(sx, sy), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 192 | / SpriteSheet { [INFO] [stdout] 193 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 194 | | orient_vert: Orientation::Normal, [INFO] [stdout] 195 | | .. [INFO] [stdout] 196 | | } => t.trans(px + width_offset, py).scale(sx, sy).flip_h(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 197 | / SpriteSheet { [INFO] [stdout] 198 | | orient_horz: Orientation::Normal, [INFO] [stdout] 199 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 200 | | .. [INFO] [stdout] 201 | | } => t.trans(px, py + height_offset).scale(sx, sy).flip_v(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 202 | / SpriteSheet { [INFO] [stdout] 203 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 204 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 205 | | .. [INFO] [stdout] 206 | | } => t.trans(px + width_offset, py + height_offset).scale(sx, sy).flip_hv(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext_dt` [INFO] [stdout] --> src/lib.rs:163:64 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn render(&mut self, t: Matrix2d, g: &mut GlGraphics, &ext_dt: &f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ext_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/animation/mod.rs:24:93 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 187 | / SpriteSheet { [INFO] [stdout] 188 | | orient_horz: Orientation::Normal, [INFO] [stdout] 189 | | orient_vert: Orientation::Normal, [INFO] [stdout] 190 | | .. [INFO] [stdout] 191 | | } => t.trans(px, py).scale(sx, sy), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 192 | / SpriteSheet { [INFO] [stdout] 193 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 194 | | orient_vert: Orientation::Normal, [INFO] [stdout] 195 | | .. [INFO] [stdout] 196 | | } => t.trans(px + width_offset, py).scale(sx, sy).flip_h(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 197 | / SpriteSheet { [INFO] [stdout] 198 | | orient_horz: Orientation::Normal, [INFO] [stdout] 199 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 200 | | .. [INFO] [stdout] 201 | | } => t.trans(px, py + height_offset).scale(sx, sy).flip_v(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 202 | / SpriteSheet { [INFO] [stdout] 203 | | orient_horz: Orientation::Flipped, [INFO] [stdout] 204 | | orient_vert: Orientation::Flipped, [INFO] [stdout] 205 | | .. [INFO] [stdout] 206 | | } => t.trans(px + width_offset, py + height_offset).scale(sx, sy).flip_hv(), [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext_dt` [INFO] [stdout] --> src/lib.rs:163:64 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn render(&mut self, t: Matrix2d, g: &mut GlGraphics, &ext_dt: &f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ext_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/animation/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Animation` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Animation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15, syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8cb709ed771c52efff81ac5b9d50026484f9ced796a7c5a06e961eabf9230490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb709ed771c52efff81ac5b9d50026484f9ced796a7c5a06e961eabf9230490", kill_on_drop: false }` [INFO] [stdout] 8cb709ed771c52efff81ac5b9d50026484f9ced796a7c5a06e961eabf9230490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dee3fcbb193900687f1a714fc294e2d4ac3c4c2a120514be4c97e8e87197602 [INFO] running `Command { std: "docker" "start" "-a" "2dee3fcbb193900687f1a714fc294e2d4ac3c4c2a120514be4c97e8e87197602", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/animation/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/animation/mod.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/animation/mod.rs:24:93 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 | pub fn load_from_json(filepath: &'static str) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/lib.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/lib.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 187 | / SpriteSheet { [INFO] [stderr] 188 | | orient_horz: Orientation::Normal, [INFO] [stderr] 189 | | orient_vert: Orientation::Normal, [INFO] [stderr] 190 | | .. [INFO] [stderr] 191 | | } => t.trans(px, py).scale(sx, sy), [INFO] [stderr] | |_____________- matches some of the same values [INFO] [stderr] 192 | / SpriteSheet { [INFO] [stderr] 193 | | orient_horz: Orientation::Flipped, [INFO] [stderr] 194 | | orient_vert: Orientation::Normal, [INFO] [stderr] 195 | | .. [INFO] [stderr] 196 | | } => t.trans(px + width_offset, py).scale(sx, sy).flip_h(), [INFO] [stderr] | |_____________- matches some of the same values [INFO] [stderr] 197 | / SpriteSheet { [INFO] [stderr] 198 | | orient_horz: Orientation::Normal, [INFO] [stderr] 199 | | orient_vert: Orientation::Flipped, [INFO] [stderr] 200 | | .. [INFO] [stderr] 201 | | } => t.trans(px, py + height_offset).scale(sx, sy).flip_v(), [INFO] [stderr] | |_____________- matches some of the same values [INFO] [stderr] 202 | / SpriteSheet { [INFO] [stderr] 203 | | orient_horz: Orientation::Flipped, [INFO] [stderr] 204 | | orient_vert: Orientation::Flipped, [INFO] [stderr] 205 | | .. [INFO] [stderr] 206 | | } => t.trans(px + width_offset, py + height_offset).scale(sx, sy).flip_hv(), [INFO] [stderr] | |_____________- matches some of the same values [INFO] [stderr] 207 | _ => t.trans(px, py).scale(sx, sy) [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ext_dt` [INFO] [stderr] --> src/lib.rs:163:64 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn render(&mut self, t: Matrix2d, g: &mut GlGraphics, &ext_dt: &f64) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ext_dt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/animation/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Animation` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Animation` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/animation/mod.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Animation` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Animation` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `spritesheet` (lib) generated 7 warnings (run `cargo fix --lib -p spritesheet` to apply 1 suggestion) [INFO] [stderr] warning: `spritesheet` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15, syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spritesheet-d9c800ca1cde6ddc) [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 spritesheet [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" "2dee3fcbb193900687f1a714fc294e2d4ac3c4c2a120514be4c97e8e87197602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dee3fcbb193900687f1a714fc294e2d4ac3c4c2a120514be4c97e8e87197602", kill_on_drop: false }` [INFO] [stdout] 2dee3fcbb193900687f1a714fc294e2d4ac3c4c2a120514be4c97e8e87197602