[INFO] cloning repository https://github.com/IronCretin/wheatley-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IronCretin/wheatley-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIronCretin%2Fwheatley-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIronCretin%2Fwheatley-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab8d2b6c7ac8d005d782ded9679dfa6eda9f1aa9 [INFO] testing IronCretin/wheatley-rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIronCretin%2Fwheatley-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IronCretin/wheatley-rust [INFO] finished tweaking git repo https://github.com/IronCretin/wheatley-rust [INFO] tweaked toml for git repo https://github.com/IronCretin/wheatley-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IronCretin/wheatley-rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IronCretin/wheatley-rust 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cf5e6e846b6a29cbc889dae1e3c0f9a6ba3d2c7419dba4dc37a586c46318c8b [INFO] running `Command { std: "docker" "start" "-a" "6cf5e6e846b6a29cbc889dae1e3c0f9a6ba3d2c7419dba4dc37a586c46318c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cf5e6e846b6a29cbc889dae1e3c0f9a6ba3d2c7419dba4dc37a586c46318c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf5e6e846b6a29cbc889dae1e3c0f9a6ba3d2c7419dba4dc37a586c46318c8b", kill_on_drop: false }` [INFO] [stdout] 6cf5e6e846b6a29cbc889dae1e3c0f9a6ba3d2c7419dba4dc37a586c46318c8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fad5d5b0da182f17d747e24ad341113dd590d79ce51db0a34115ed038c879337 [INFO] running `Command { std: "docker" "start" "-a" "fad5d5b0da182f17d747e24ad341113dd590d79ce51db0a34115ed038c879337", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling borrowned v0.1.0 [INFO] [stderr] Compiling uni-gl v0.1.2 [INFO] [stderr] Compiling impl_ops v0.1.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling doryen-fov v0.1.1 [INFO] [stderr] Compiling uni-app v0.1.3 [INFO] [stderr] Compiling doryen-rs v1.2.3 [INFO] [stderr] Compiling paste-impl v0.1.16 [INFO] [stderr] Compiling shrinkwraprs v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling paste v0.1.16 [INFO] [stderr] Compiling ilyvion-util v0.3.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling doryen-extra v0.1.0 (https://github.com/IronCretin/doryen-extra#006e9e55) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling wheatley-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/combat.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DamageInfo` [INFO] [stdout] 4 | pub struct DamageInfo { [INFO] [stdout] | ---------- `DamageInfo` is not local [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: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/combat.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_AttackFlavor` [INFO] [stdout] 10 | pub struct AttackFlavor { [INFO] [stdout] | ------------ `AttackFlavor` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/combat.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeathFlavor` [INFO] [stdout] 16 | pub struct DeathFlavor { [INFO] [stdout] | ----------- `DeathFlavor` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameSettings` [INFO] [stdout] 143 | pub struct GameSettings { [INFO] [stdout] | ------------ `GameSettings` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InterfaceSettings` [INFO] [stdout] 149 | pub struct InterfaceSettings { [INFO] [stdout] | ----------------- `InterfaceSettings` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FontSettings` [INFO] [stdout] 156 | pub struct FontSettings { [INFO] [stdout] | ------------ `FontSettings` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlayerSettings` [INFO] [stdout] 162 | pub struct PlayerSettings { [INFO] [stdout] | -------------- `PlayerSettings` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MapSettings` [INFO] [stdout] 167 | pub struct MapSettings { [INFO] [stdout] | ----------- `MapSettings` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MapInfo` [INFO] [stdout] 18 | pub struct MapInfo { [INFO] [stdout] | ------- `MapInfo` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/map.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MapTile` [INFO] [stdout] 89 | pub struct MapTile { [INFO] [stdout] | ------- `MapTile` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/monster.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MonsterInfo` [INFO] [stdout] 21 | pub struct MonsterInfo { [INFO] [stdout] | ----------- `MonsterInfo` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/monster.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Attack` [INFO] [stdout] 39 | pub struct Attack { [INFO] [stdout] | ------ `Attack` is not local [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tile.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tile` [INFO] [stdout] 10 | pub struct Tile { [INFO] [stdout] | ---- `Tile` is not local [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcVyPcIx/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtoml-adc5e6abd888b59e.rlib,librand_distr-2265b9a32d4be281.rlib,libdoryen_fov-218d1eb5c9c0b1e5.rlib,libserde-b4d9909a81a1eb8d.rlib,libdoryen_extra-b939f23cdf27a2ab.rlib,libpaste-a4b263c33b2895e2.rlib,libimpl_ops-b350ab5a9177819a.rlib,libilyvion_util-92036902d61d4bd4.rlib,libborrowned-1f12ec463bfe1d81.rlib,libdoryen_rs-8057cd12c886e626.rlib,libuni_gl-781b15a66e8aee42.rlib,libgl-987ffd1a2e702252.rlib,libuni_app-a7e3bc6839e4b0af.rlib,libtime-ffb2bc66ffb46aa6.rlib,libglutin-9ec8a5b03d4f9e99.rlib,libosmesa_sys-be5abaefc38c8004.rlib,libwinit-d82cadb863ff901a.rlib,libsmithay_client_toolkit-f472635fe8c53eb8.rlib,libwayland_protocols-eda4ecb8f09fb7d3.rlib,libwayland_client-d6377346a13c44b9.rlib,libwayland_commons-69bc36c771ce7edf.rlib,libwayland_sys-f6c7d40bc80bffeb.rlib,libdowncast_rs-6d9ccb24928aa63d.rlib,libtempfile-c16a1ccc99d59565.rlib,librand-deeb20813113b237.rlib,librand_chacha-0d1be646142c5870.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-540757cfe9852fc2.rlib,libgetrandom-bf6c3c03b461ddac.rlib,libremove_dir_all-3a2e6d1ec33fb04e.rlib,libnix-548c854c4e170911.rlib,libvoid-93586161032aa49a.rlib,libmemmap-7379723f7d8400e3.rlib,libdlib-6086c1ad2b84636b.rlib,liblibloading-711946fc6b038b02.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpercent_encoding-c47875da91a27715.rlib,libparking_lot-9787cf2f169a3cd2.rlib,libparking_lot_core-2710f6edb7ec3ab2.rlib,libsmallvec-8b046477ae81064c.rlib,librand-67c2a3db2a73f816.rlib,librand_core-4a159a921d63a3e0.rlib,librand_core-5dd93ed12702f197.rlib,liblock_api-1d3d2a2a790c5f39.rlib,libowning_ref-ed4f08ad0018c255.rlib,libstable_deref_trait-e25dc521ec7f4105.rlib,libscopeguard-babe74dcc80d655a.rlib,libx11_dl-feb33bfc0611f397.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libmaybe_uninit-56cae5b1ed8837f0.rlib,liblog-04ef586fc7526ac5.rlib,libshared_library-eeeeca21285372d7.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,liblibc-8c242142bf5979c3.rlib,libimage-5f08e4403736c38a.rlib,libpng-27cc75ae48e18ce3.rlib,libdeflate-30b5e97ee01f0ea0.rlib,libinflate-7d9f028e8fad4413.rlib,libadler32-d5b4eee2103fe4ae.rlib,libcrc32fast-061a844a3ae1fd0f.rlib,libcfg_if-2d17986ae484e939.rlib,libbitflags-561a4f1321538a32.rlib,libnum_rational-ce015ad7ed1be1f5.rlib,libnum_iter-6163c55d7df7a06d.rlib,libnum_integer-3fa8888b9676b459.rlib,libnum_traits-0bf7f32224c3660a.rlib,libbyteorder-549def2b2525ef52.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcVyPcIx/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wheatley_rust-cdbc9fa3fcd50def" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-bf6c3c03b461ddac.rlib(getrandom-bf6c3c03b461ddac.getrandom.5ffcd244f9ce2183-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h9c703be8a006d740E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wheatley-rust` (bin "wheatley-rust") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fad5d5b0da182f17d747e24ad341113dd590d79ce51db0a34115ed038c879337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad5d5b0da182f17d747e24ad341113dd590d79ce51db0a34115ed038c879337", kill_on_drop: false }` [INFO] [stdout] fad5d5b0da182f17d747e24ad341113dd590d79ce51db0a34115ed038c879337