[INFO] updating cached repository jbradberry/mcts.rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jbradberry/mcts.rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jbradberry/mcts.rs" "work/ex/clippy-test-run/sources/stable/gh/jbradberry/mcts.rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/jbradberry/mcts.rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jbradberry/mcts.rs" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jbradberry/mcts.rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jbradberry/mcts.rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 21f82d0d82b4b2e5b6eaf6cece1b0cd6930137b5 [INFO] sha for GitHub repo jbradberry/mcts.rs: 21f82d0d82b4b2e5b6eaf6cece1b0cd6930137b5 [INFO] validating manifest of jbradberry/mcts.rs on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jbradberry/mcts.rs on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jbradberry/mcts.rs [INFO] finished frobbing jbradberry/mcts.rs [INFO] frobbed toml for jbradberry/mcts.rs written to work/ex/clippy-test-run/sources/stable/gh/jbradberry/mcts.rs/Cargo.toml [INFO] started frobbing jbradberry/mcts.rs [INFO] finished frobbing jbradberry/mcts.rs [INFO] frobbed toml for jbradberry/mcts.rs written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jbradberry/mcts.rs/Cargo.toml [INFO] crate jbradberry/mcts.rs has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting jbradberry/mcts.rs against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/jbradberry/mcts.rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7c328888408bf002543033ae4c588e06b549b1be6d1f637a849f8fed92bdece0 [INFO] running `"docker" "start" "-a" "7c328888408bf002543033ae4c588e06b549b1be6d1f637a849f8fed92bdece0"` [INFO] [stderr] Checking mcts v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:412:69 [INFO] [stderr] | [INFO] [stderr] 412 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:412:75 [INFO] [stderr] | [INFO] [stderr] 412 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:452:69 [INFO] [stderr] | [INFO] [stderr] 452 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:452:75 [INFO] [stderr] | [INFO] [stderr] 452 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:489:69 [INFO] [stderr] | [INFO] [stderr] 489 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:489:75 [INFO] [stderr] | [INFO] [stderr] 489 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:526:69 [INFO] [stderr] | [INFO] [stderr] 526 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:526:75 [INFO] [stderr] | [INFO] [stderr] 526 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:563:69 [INFO] [stderr] | [INFO] [stderr] 563 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:563:75 [INFO] [stderr] | [INFO] [stderr] 563 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:600:69 [INFO] [stderr] | [INFO] [stderr] 600 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:600:75 [INFO] [stderr] | [INFO] [stderr] 600 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:634:69 [INFO] [stderr] | [INFO] [stderr] 634 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:634:75 [INFO] [stderr] | [INFO] [stderr] 634 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:668:69 [INFO] [stderr] | [INFO] [stderr] 668 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:668:75 [INFO] [stderr] | [INFO] [stderr] 668 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:702:69 [INFO] [stderr] | [INFO] [stderr] 702 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:702:75 [INFO] [stderr] | [INFO] [stderr] 702 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:737:69 [INFO] [stderr] | [INFO] [stderr] 737 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:737:75 [INFO] [stderr] | [INFO] [stderr] 737 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:790:69 [INFO] [stderr] | [INFO] [stderr] 790 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:790:75 [INFO] [stderr] | [INFO] [stderr] 790 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:834:69 [INFO] [stderr] | [INFO] [stderr] 834 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:834:75 [INFO] [stderr] | [INFO] [stderr] 834 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:878:69 [INFO] [stderr] | [INFO] [stderr] 878 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:878:75 [INFO] [stderr] | [INFO] [stderr] 878 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:922:69 [INFO] [stderr] | [INFO] [stderr] 922 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:922:75 [INFO] [stderr] | [INFO] [stderr] 922 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:966:69 [INFO] [stderr] | [INFO] [stderr] 966 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:966:75 [INFO] [stderr] | [INFO] [stderr] 966 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1004:69 [INFO] [stderr] | [INFO] [stderr] 1004 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1004:75 [INFO] [stderr] | [INFO] [stderr] 1004 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1042:69 [INFO] [stderr] | [INFO] [stderr] 1042 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1042:75 [INFO] [stderr] | [INFO] [stderr] 1042 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1080:69 [INFO] [stderr] | [INFO] [stderr] 1080 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1080:75 [INFO] [stderr] | [INFO] [stderr] 1080 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:412:69 [INFO] [stderr] | [INFO] [stderr] 412 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:412:75 [INFO] [stderr] | [INFO] [stderr] 412 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:452:69 [INFO] [stderr] | [INFO] [stderr] 452 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:452:75 [INFO] [stderr] | [INFO] [stderr] 452 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:489:69 [INFO] [stderr] | [INFO] [stderr] 489 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:489:75 [INFO] [stderr] | [INFO] [stderr] 489 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:526:69 [INFO] [stderr] | [INFO] [stderr] 526 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:526:75 [INFO] [stderr] | [INFO] [stderr] 526 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:563:69 [INFO] [stderr] | [INFO] [stderr] 563 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:563:75 [INFO] [stderr] | [INFO] [stderr] 563 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:600:69 [INFO] [stderr] | [INFO] [stderr] 600 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:600:75 [INFO] [stderr] | [INFO] [stderr] 600 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:634:69 [INFO] [stderr] | [INFO] [stderr] 634 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:634:75 [INFO] [stderr] | [INFO] [stderr] 634 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:668:69 [INFO] [stderr] | [INFO] [stderr] 668 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:668:75 [INFO] [stderr] | [INFO] [stderr] 668 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:702:69 [INFO] [stderr] | [INFO] [stderr] 702 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:702:75 [INFO] [stderr] | [INFO] [stderr] 702 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:737:69 [INFO] [stderr] | [INFO] [stderr] 737 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:737:75 [INFO] [stderr] | [INFO] [stderr] 737 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:790:69 [INFO] [stderr] | [INFO] [stderr] 790 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:790:75 [INFO] [stderr] | [INFO] [stderr] 790 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:834:69 [INFO] [stderr] | [INFO] [stderr] 834 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:834:75 [INFO] [stderr] | [INFO] [stderr] 834 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:878:69 [INFO] [stderr] | [INFO] [stderr] 878 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:878:75 [INFO] [stderr] | [INFO] [stderr] 878 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:922:69 [INFO] [stderr] | [INFO] [stderr] 922 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:922:75 [INFO] [stderr] | [INFO] [stderr] 922 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:966:69 [INFO] [stderr] | [INFO] [stderr] 966 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:966:75 [INFO] [stderr] | [INFO] [stderr] 966 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1004:69 [INFO] [stderr] | [INFO] [stderr] 1004 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1004:75 [INFO] [stderr] | [INFO] [stderr] 1004 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1042:69 [INFO] [stderr] | [INFO] [stderr] 1042 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1042:75 [INFO] [stderr] | [INFO] [stderr] 1042 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1080:69 [INFO] [stderr] | [INFO] [stderr] 1080 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `r` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:1080:75 [INFO] [stderr] | [INFO] [stderr] 1080 | let action = ChongAction { piece: ChongPiece::Pawn, r: r, c: c }; [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/main.rs:189:46 [INFO] [stderr] | [INFO] [stderr] 189 | fn is_legal(&self, action: &ChongAction, history: &[ChongState]) -> bool { [INFO] [stderr] | ^^^^^^^ help: consider using `_history` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/main.rs:209:29 [INFO] [stderr] | [INFO] [stderr] 209 | fn legal_actions(&self, history: &[ChongState]) -> Vec { [INFO] [stderr] | ^^^^^^^ help: consider using `_history` instead [INFO] [stderr] [INFO] [stderr] warning: method is never used: `build_state` [INFO] [stderr] --> src/main.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | / fn build_state(pawn1: (u8, u8), pawn2: (u8, u8), [INFO] [stderr] 128 | | stones1: &[(u8, u8)], stones2: &[(u8, u8)], next: u8) -> Self { [INFO] [stderr] 129 | | let pawn1 = ChongState::coordinate_mask(pawn1.0, pawn1.1); [INFO] [stderr] 130 | | let pawn2 = ChongState::coordinate_mask(pawn2.0, pawn2.1); [INFO] [stderr] ... | [INFO] [stderr] 150 | | } [INFO] [stderr] 151 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/main.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | fn next_player(&self) -> ChongPlayer { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/main.rs:283:23 [INFO] [stderr] | [INFO] [stderr] 283 | let mut current = state.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: try dereferencing it: `*state` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/main.rs:335:29 [INFO] [stderr] | [INFO] [stderr] 335 | .filter(|x| x.2 == max_value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(x.2 - max_value).abs() < error` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/main.rs:335:29 [INFO] [stderr] | [INFO] [stderr] 335 | .filter(|x| x.2 == max_value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `mcts`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/main.rs:189:46 [INFO] [stderr] | [INFO] [stderr] 189 | fn is_legal(&self, action: &ChongAction, history: &[ChongState]) -> bool { [INFO] [stderr] | ^^^^^^^ help: consider using `_history` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/main.rs:209:29 [INFO] [stderr] | [INFO] [stderr] 209 | fn legal_actions(&self, history: &[ChongState]) -> Vec { [INFO] [stderr] | ^^^^^^^ help: consider using `_history` instead [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/main.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | fn next_player(&self) -> ChongPlayer { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/main.rs:283:23 [INFO] [stderr] | [INFO] [stderr] 283 | let mut current = state.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: try dereferencing it: `*state` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/main.rs:335:29 [INFO] [stderr] | [INFO] [stderr] 335 | .filter(|x| x.2 == max_value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(x.2 - max_value).abs() < error` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/main.rs:335:29 [INFO] [stderr] | [INFO] [stderr] 335 | .filter(|x| x.2 == max_value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `mcts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7c328888408bf002543033ae4c588e06b549b1be6d1f637a849f8fed92bdece0"` [INFO] running `"docker" "rm" "-f" "7c328888408bf002543033ae4c588e06b549b1be6d1f637a849f8fed92bdece0"` [INFO] [stdout] 7c328888408bf002543033ae4c588e06b549b1be6d1f637a849f8fed92bdece0