[INFO] cloning repository https://github.com/atollk/codinggame-labyrinth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atollk/codinggame-labyrinth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatollk%2Fcodinggame-labyrinth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatollk%2Fcodinggame-labyrinth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a448dad7d1efcd72095d5069f8146e15f302e3 [INFO] checking atollk/codinggame-labyrinth against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatollk%2Fcodinggame-labyrinth" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atollk/codinggame-labyrinth on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atollk/codinggame-labyrinth [INFO] finished tweaking git repo https://github.com/atollk/codinggame-labyrinth [INFO] tweaked toml for git repo https://github.com/atollk/codinggame-labyrinth written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/atollk/codinggame-labyrinth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aa78c06e08757513b961cc6c22d4d54948ca839d8ccbb82f2c8e954d9232915 [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" "8aa78c06e08757513b961cc6c22d4d54948ca839d8ccbb82f2c8e954d9232915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aa78c06e08757513b961cc6c22d4d54948ca839d8ccbb82f2c8e954d9232915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa78c06e08757513b961cc6c22d4d54948ca839d8ccbb82f2c8e954d9232915", kill_on_drop: false }` [INFO] [stdout] 8aa78c06e08757513b961cc6c22d4d54948ca839d8ccbb82f2c8e954d9232915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75b0797d90fb89cc875954837e4d3d20c6186af2a0dab8c5b495b1e23dddc94 [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" "e75b0797d90fb89cc875954837e4d3d20c6186af2a0dab8c5b495b1e23dddc94", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking codinggame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cell::RefCell, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cell::RefCell, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | r: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | c: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | a: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | r: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | c: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | a: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_n_lines_from_stdin` [INFO] [stdout] --> src/main.rs:523:4 [INFO] [stdout] | [INFO] [stdout] 523 | fn read_n_lines_from_stdin(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK1` [INFO] [stdout] --> src/main.rs:672:1 [INFO] [stdout] | [INFO] [stdout] 672 | const TASK1: ([&str; 3], i32) = (["##########", "#T......C#", "##########"], 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK1B` [INFO] [stdout] --> src/main.rs:673:1 [INFO] [stdout] | [INFO] [stdout] 673 | const TASK1B: ([&str; 1], i32) = (["T......C"], 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK2` [INFO] [stdout] --> src/main.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / const TASK2: ([&str; 15], i32) = ( [INFO] [stdout] 675 | | [ [INFO] [stdout] 676 | | "#####################.....####", [INFO] [stdout] 677 | | "########........#.############", [INFO] [stdout] ... | [INFO] [stdout] 692 | | 22, [INFO] [stdout] 693 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK3` [INFO] [stdout] --> src/main.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | / const TASK3: ([&str; 15], i32) = ( [INFO] [stdout] 695 | | [ [INFO] [stdout] 696 | | "##############################", [INFO] [stdout] 697 | | "#T...........................#", [INFO] [stdout] ... | [INFO] [stdout] 712 | | 40, [INFO] [stdout] 713 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK4` [INFO] [stdout] --> src/main.rs:714:1 [INFO] [stdout] | [INFO] [stdout] 714 | / const TASK4: ([&str; 15], i32) = ( [INFO] [stdout] 715 | | [ [INFO] [stdout] 716 | | "##############################", [INFO] [stdout] 717 | | "##.###########.###############", [INFO] [stdout] ... | [INFO] [stdout] 732 | | 69, [INFO] [stdout] 733 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK5` [INFO] [stdout] --> src/main.rs:734:1 [INFO] [stdout] | [INFO] [stdout] 734 | / const TASK5: ([&str; 15], i32) = ( [INFO] [stdout] 735 | | [ [INFO] [stdout] 736 | | "##############################", [INFO] [stdout] 737 | | "#.##.....#..........T........#", [INFO] [stdout] ... | [INFO] [stdout] 752 | | 43, [INFO] [stdout] 753 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_all` [INFO] [stdout] --> src/main.rs:775:4 [INFO] [stdout] | [INFO] [stdout] 775 | fn run_all() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_n_lines_from_stdin` [INFO] [stdout] --> src/main.rs:523:4 [INFO] [stdout] | [INFO] [stdout] 523 | fn read_n_lines_from_stdin(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK1` [INFO] [stdout] --> src/main.rs:672:1 [INFO] [stdout] | [INFO] [stdout] 672 | const TASK1: ([&str; 3], i32) = (["##########", "#T......C#", "##########"], 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK1B` [INFO] [stdout] --> src/main.rs:673:1 [INFO] [stdout] | [INFO] [stdout] 673 | const TASK1B: ([&str; 1], i32) = (["T......C"], 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK2` [INFO] [stdout] --> src/main.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / const TASK2: ([&str; 15], i32) = ( [INFO] [stdout] 675 | | [ [INFO] [stdout] 676 | | "#####################.....####", [INFO] [stdout] 677 | | "########........#.############", [INFO] [stdout] ... | [INFO] [stdout] 692 | | 22, [INFO] [stdout] 693 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK3` [INFO] [stdout] --> src/main.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | / const TASK3: ([&str; 15], i32) = ( [INFO] [stdout] 695 | | [ [INFO] [stdout] 696 | | "##############################", [INFO] [stdout] 697 | | "#T...........................#", [INFO] [stdout] ... | [INFO] [stdout] 712 | | 40, [INFO] [stdout] 713 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK4` [INFO] [stdout] --> src/main.rs:714:1 [INFO] [stdout] | [INFO] [stdout] 714 | / const TASK4: ([&str; 15], i32) = ( [INFO] [stdout] 715 | | [ [INFO] [stdout] 716 | | "##############################", [INFO] [stdout] 717 | | "##.###########.###############", [INFO] [stdout] ... | [INFO] [stdout] 732 | | 69, [INFO] [stdout] 733 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TASK5` [INFO] [stdout] --> src/main.rs:734:1 [INFO] [stdout] | [INFO] [stdout] 734 | / const TASK5: ([&str; 15], i32) = ( [INFO] [stdout] 735 | | [ [INFO] [stdout] 736 | | "##############################", [INFO] [stdout] 737 | | "#.##.....#..........T........#", [INFO] [stdout] ... | [INFO] [stdout] 752 | | 43, [INFO] [stdout] 753 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_all` [INFO] [stdout] --> src/main.rs:775:4 [INFO] [stdout] | [INFO] [stdout] 775 | fn run_all() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "e75b0797d90fb89cc875954837e4d3d20c6186af2a0dab8c5b495b1e23dddc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75b0797d90fb89cc875954837e4d3d20c6186af2a0dab8c5b495b1e23dddc94", kill_on_drop: false }` [INFO] [stdout] e75b0797d90fb89cc875954837e4d3d20c6186af2a0dab8c5b495b1e23dddc94