[INFO] cloning repository https://github.com/NachoPal/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NachoPal/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachoPal%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachoPal%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0675d650ad2b3b054b2c4d4fb2dd1d202b1bfc73 [INFO] checking NachoPal/rust-chess against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachoPal%2Frust-chess" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NachoPal/rust-chess [INFO] finished tweaking git repo https://github.com/NachoPal/rust-chess [INFO] tweaked toml for git repo https://github.com/NachoPal/rust-chess written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NachoPal/rust-chess on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NachoPal/rust-chess 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4 [INFO] running `Command { std: "docker" "start" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4", 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" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking chess-proc-macros v0.1.0 (/opt/rustwide/workdir/chess/proc-macros) [INFO] [stderr] Checking json-rpc-proc-macros v0.1.0 (/opt/rustwide/workdir/json-rpc/proc-macros) [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking chess-lib v0.1.0 (/opt/rustwide/workdir/chess) [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | / ensure!( [INFO] [stdout] 210 | | piece_color == playing_color, [INFO] [stdout] 211 | | MovementError::WrongPiece(piece_color) [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | / ensure!( [INFO] [stdout] 210 | | piece_color == playing_color, [INFO] [stdout] 211 | | MovementError::WrongPiece(piece_color) [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / ensure!( [INFO] [stdout] 217 | | self.valid_target(playing_color, &movement), [INFO] [stdout] 218 | | MovementError::BlockedPath [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | ensure!(!blocked_path, MovementError::BlockedPath); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / ensure!( [INFO] [stdout] 306 | | valid_moves.iter().any(|m| m == movement_kind), [INFO] [stdout] 307 | | MovementError::IllegalMovement [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | ensure!(!no_move, MovementError::IllegalMovement); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | ensure!(!out_of_bounds, MovementError::OutOfBounds); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/game.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ensure!(movement.len() == 4, MovementError::WrongCommand(movement)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / ensure!( [INFO] [stdout] 217 | | self.valid_target(playing_color, &movement), [INFO] [stdout] 218 | | MovementError::BlockedPath [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | ensure!(!blocked_path, MovementError::BlockedPath); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / ensure!( [INFO] [stdout] 306 | | valid_moves.iter().any(|m| m == movement_kind), [INFO] [stdout] 307 | | MovementError::IllegalMovement [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | ensure!(!no_move, MovementError::IllegalMovement); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/board.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | ensure!(!out_of_bounds, MovementError::OutOfBounds); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `MovementError` [INFO] [stdout] --> chess/src/decl_macros.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! fail { [INFO] [stdout] 12 | | ( $y:expr ) => {{ [INFO] [stdout] 13 | | return Err($y.into()); [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 14 | | }}; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- this error originates in the macro `$crate::fail` which comes from the expansion of the macro `ensure` [INFO] [stdout] | [INFO] [stdout] ::: chess/src/game.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ensure!(movement.len() == 4, MovementError::WrongCommand(movement)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-lib` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chess-lib` (lib) due to 7 previous errors [INFO] [stderr] warning: unused dependency `tokio` [INFO] [stderr] --> chess/Cargo.toml:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | tokio = { version = "1", features = ["full"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tokio` [INFO] [stderr] warning: `chess-lib` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4", kill_on_drop: false }` [INFO] [stdout] 17f7edc40dc8b12d4da6a6f5927b2aabf36261cc515d3c9b5b0a663e164961d4