[INFO] cloning repository https://github.com/nebolax/Rust_HW4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nebolax/Rust_HW4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebolax%2FRust_HW4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebolax%2FRust_HW4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b25bed632a784a42b314c20f8124abe47b4214cb [INFO] checking nebolax/Rust_HW4 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebolax%2FRust_HW4" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nebolax/Rust_HW4 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nebolax/Rust_HW4 [INFO] finished tweaking git repo https://github.com/nebolax/Rust_HW4 [INFO] tweaked toml for git repo https://github.com/nebolax/Rust_HW4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nebolax/Rust_HW4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8d774dec7db700a2114a5c11878a64c4984ebba703365f4f1aad868eaafcf31c [INFO] running `Command { std: "docker" "start" "-a" "8d774dec7db700a2114a5c11878a64c4984ebba703365f4f1aad868eaafcf31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d774dec7db700a2114a5c11878a64c4984ebba703365f4f1aad868eaafcf31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d774dec7db700a2114a5c11878a64c4984ebba703365f4f1aad868eaafcf31c", kill_on_drop: false }` [INFO] [stdout] 8d774dec7db700a2114a5c11878a64c4984ebba703365f4f1aad868eaafcf31c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9330d183e3350e91c5419afee45c1f1965da0878722ce550fab8d7d4dfaeda7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9330d183e3350e91c5419afee45c1f1965da0878722ce550fab8d7d4dfaeda7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Figures::TraitFig::Figure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Figures::TraitFig::Figure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Figures::Ferzy::Ferzy` [INFO] [stdout] --> src/Figures/TraitFig.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Figures::Ferzy::Ferzy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Figures::TraitFig::Figure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Figures::TraitFig::Figure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Figures::Ferzy::Ferzy` [INFO] [stdout] --> src/Figures/TraitFig.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Figures::Ferzy::Ferzy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kings_pos` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut kings_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kings_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ferz_pos` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut ferz_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ferz_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lads_pos` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lads_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lads_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | for i in 0..much_kings { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for i in 0..much_ferz { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for i in 0..much_lads { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut kings_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut ferz_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lads_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/Field.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | data : Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kings_pos` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut kings_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kings_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ferz_pos` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut ferz_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ferz_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lads_pos` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lads_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lads_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | for i in 0..much_kings { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for i in 0..much_ferz { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for i in 0..much_lads { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/Field.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | for a in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Figures` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Figures; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `figures` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Field` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Field; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TraitFig` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod TraitFig; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `trait_fig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ferzy` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ferzy; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ferzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `King` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod King; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `king` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ladya` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Ladya; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ladya` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut kings_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut ferz_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut lads_pos: Vec<(i32, i32)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/Field.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | data : Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Figures` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Figures; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `figures` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Field` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Field; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TraitFig` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod TraitFig; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `trait_fig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ferzy` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ferzy; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ferzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `King` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod King; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `king` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ladya` should have a snake case name [INFO] [stdout] --> src/Figures/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Ladya; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ladya` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "d9330d183e3350e91c5419afee45c1f1965da0878722ce550fab8d7d4dfaeda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9330d183e3350e91c5419afee45c1f1965da0878722ce550fab8d7d4dfaeda7", kill_on_drop: false }` [INFO] [stdout] d9330d183e3350e91c5419afee45c1f1965da0878722ce550fab8d7d4dfaeda7