[INFO] cloning repository https://github.com/geer26/rust_maze_solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geer26/rust_maze_solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeer26%2Frust_maze_solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeer26%2Frust_maze_solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 208fe3fc2a0779ab6cb82525903186861113c20e [INFO] checking geer26/rust_maze_solver against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeer26%2Frust_maze_solver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/geer26/rust_maze_solver on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/geer26/rust_maze_solver [INFO] finished tweaking git repo https://github.com/geer26/rust_maze_solver [INFO] tweaked toml for git repo https://github.com/geer26/rust_maze_solver written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/geer26/rust_maze_solver 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4972fc909ba6bd7dfe25f1e0ac45cba18defc8d4acc732d59f8974c2bcdab447 [INFO] running `Command { std: "docker" "start" "-a" "4972fc909ba6bd7dfe25f1e0ac45cba18defc8d4acc732d59f8974c2bcdab447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4972fc909ba6bd7dfe25f1e0ac45cba18defc8d4acc732d59f8974c2bcdab447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4972fc909ba6bd7dfe25f1e0ac45cba18defc8d4acc732d59f8974c2bcdab447", kill_on_drop: false }` [INFO] [stdout] 4972fc909ba6bd7dfe25f1e0ac45cba18defc8d4acc732d59f8974c2bcdab447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60587921ed9e3205c6a7021757ddb344edaf24151b14f93aca672416a85ef0ff [INFO] running `Command { std: "docker" "start" "-a" "60587921ed9e3205c6a7021757ddb344edaf24151b14f93aca672416a85ef0ff", kill_on_drop: false }` [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking maze_solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Type::Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Floor` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Type::Floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Undefined` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `Type::Undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Type::Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Floor` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Type::Floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Undefined` is named the same as one of the variants of the type `Type` [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `Type::Undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Floor` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Undefined` [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Visited`, `Node`, and `Entrance` are never constructed [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Type{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Visited, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Entrance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parent` is never constructed [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum Parent{ [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 18 | None, [INFO] [stdout] 19 | Parent(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Point{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | parent: Parent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Maze{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file` is never used [INFO] [stdout] --> src/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Maze{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | pub fn read_file(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | &points.push(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = &points.push(p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Wall` should have a snake case name [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Floor` should have a snake case name [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Undefined` should have a snake case name [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Floor` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Undefined` [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Visited`, `Node`, and `Entrance` are never constructed [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Type{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Visited, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Entrance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maze_solver` (bin "maze_solver" test) due to 3 previous errors; 15 warnings emitted [INFO] [stdout] warning: variant `Parent` is never constructed [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum Parent{ [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 18 | None, [INFO] [stdout] 19 | Parent(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Point{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | parent: Parent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze` is never constructed [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Maze{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file` is never used [INFO] [stdout] --> src/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Maze{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | pub fn read_file(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | &points.push(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = &points.push(p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Wall` should have a snake case name [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | Wall => "WALL", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Floor` should have a snake case name [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Floor => "FLOOR", [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Undefined` should have a snake case name [INFO] [stdout] --> src/main.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Undefined => "UNDEFINED", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `undefined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maze_solver` (bin "maze_solver") due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "60587921ed9e3205c6a7021757ddb344edaf24151b14f93aca672416a85ef0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60587921ed9e3205c6a7021757ddb344edaf24151b14f93aca672416a85ef0ff", kill_on_drop: false }` [INFO] [stdout] 60587921ed9e3205c6a7021757ddb344edaf24151b14f93aca672416a85ef0ff