[INFO] cloning repository https://github.com/Galitan-dev/ChessAI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Galitan-dev/ChessAI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalitan-dev%2FChessAI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalitan-dev%2FChessAI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53e9df2e94c59331fad90474999f5fa4862557bf [INFO] testing Galitan-dev/ChessAI/53e9df2e94c59331fad90474999f5fa4862557bf against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalitan-dev%2FChessAI" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Galitan-dev/ChessAI [INFO] finished tweaking git repo https://github.com/Galitan-dev/ChessAI [INFO] tweaked toml for git repo https://github.com/Galitan-dev/ChessAI written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Galitan-dev/ChessAI on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Galitan-dev/ChessAI 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `chess-ai` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hound v3.5.0 [INFO] [stderr] Downloaded rodio v0.16.0 [INFO] [stderr] Downloaded minimp3 v0.5.1 [INFO] [stderr] Downloaded pistoncore-window v0.47.1 [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded concat-arrays v0.1.2 [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded slice-deque v0.3.0 [INFO] [stderr] Downloaded shader_version v0.7.0 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded coreaudio-sys v0.2.11 [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.1 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded piston_window v0.127.0 [INFO] [stderr] Downloaded pistoncore-input v1.0.1 [INFO] [stderr] Downloaded xdg v2.4.1 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded ndk-glue v0.2.1 [INFO] [stderr] Downloaded piston-gfx_texture v0.44.0 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded andrew v0.3.1 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded wayland-egl v0.28.6 [INFO] [stderr] Downloaded spin_sleep v1.1.1 [INFO] [stderr] Downloaded read_color v1.0.0 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded threadpool v1.8.1 [INFO] [stderr] Downloaded gfx_gl v0.6.1 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded pistoncore-event_loop v0.53.1 [INFO] [stderr] Downloaded simd-adler32 v0.3.4 [INFO] [stderr] Downloaded dlib v0.4.2 [INFO] [stderr] Downloaded ndk-macro v0.2.0 [INFO] [stderr] Downloaded vecmath v1.0.0 [INFO] [stderr] Downloaded piston-texture v0.9.0 [INFO] [stderr] Downloaded interpolation v0.2.0 [INFO] [stderr] Downloaded wayland-cursor v0.28.6 [INFO] [stderr] Downloaded raw-window-handle v0.3.4 [INFO] [stderr] Downloaded gl v0.13.0 [INFO] [stderr] Downloaded wayland-sys v0.28.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded draw_state v0.8.0 [INFO] [stderr] Downloaded piston v0.53.2 [INFO] [stderr] Downloaded clang-sys v1.4.0 [INFO] [stderr] Downloaded wayland-commons v0.28.6 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded gl_generator v0.13.1 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded piston2d-graphics v0.43.0 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded gfx v0.18.2 [INFO] [stderr] Downloaded wayland-scanner v0.28.6 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.79.0 [INFO] [stderr] Downloaded glutin v0.26.0 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded spin v0.9.5 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded gfx_device_gl v0.16.2 [INFO] [stderr] Downloaded net2 v0.2.38 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded minimp3-sys v0.3.2 [INFO] [stderr] Downloaded ndk v0.2.1 [INFO] [stderr] Downloaded gfx_core v0.9.2 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded zune-inflate v0.2.50 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.70.1 [INFO] [stderr] Downloaded calloop v0.6.5 [INFO] [stderr] Downloaded flume v0.10.14 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded cpal v0.14.2 [INFO] [stderr] Downloaded wayland-client v0.28.6 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded combine v4.6.6 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.3 [INFO] [stderr] Downloaded wayland-protocols v0.28.6 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded bindgen v0.61.0 [INFO] [stderr] Downloaded nix v0.18.0 [INFO] [stderr] Downloaded nix v0.20.0 [INFO] [stderr] Downloaded exr v1.5.3 [INFO] [stderr] Downloaded image v0.24.5 [INFO] [stderr] Downloaded winit v0.24.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.37.0 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.37.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.37.0 [INFO] [stderr] Downloaded jpeg-decoder v0.3.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.37.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.37.0 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] [stderr] Downloaded windows v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2 [INFO] running `Command { std: "docker" "start" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `chess-ai` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling spin v0.9.5 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling simd-adler32 v0.3.4 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling zune-inflate v0.2.50 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling piston-texture v0.9.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.14.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling piston2d-graphics v0.43.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling concat-arrays v0.1.2 [INFO] [stderr] Compiling exr v1.5.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling rodio v0.16.0 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.2 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling piston-gfx_texture v0.44.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.79.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.70.1 [INFO] [stderr] Compiling piston_window v0.127.0 [INFO] [stderr] Compiling chess-ai 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/piece.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Piece` [INFO] [stdout] 6 | pub enum Piece { [INFO] [stdout] | ----- `Piece` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 47.74s [INFO] running `Command { std: "docker" "inspect" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `chess-ai` (manifest) generated 1 warning [INFO] [stderr] Compiling chess-ai 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/piece.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Piece` [INFO] [stdout] 6 | pub enum Piece { [INFO] [stdout] | ----- `Piece` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `chess-ai` (manifest) generated 1 warning [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/piece.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone, Copy, FromPrimitive, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Piece` [INFO] [stderr] 6 | pub enum Piece { [INFO] [stderr] | ----- `Piece` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `chess-ai` (bin "chess-ai" test) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/chess_ai-f59b0561565c3862) [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" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2", kill_on_drop: false }` [INFO] [stdout] 3dc5b66b03b637293e3ee77ea4ea00e7d9b7e97e9588c3ce53b80ff372a9a7d2