[INFO] cloning repository https://github.com/everythingischaos/maze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/everythingischaos/maze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feverythingischaos%2Fmaze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feverythingischaos%2Fmaze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55b2fba718077cc54bcfb83052b8bbc65ea782b2 [INFO] checking everythingischaos/maze against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feverythingischaos%2Fmaze" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/everythingischaos/maze [INFO] finished tweaking git repo https://github.com/everythingischaos/maze [INFO] tweaked toml for git repo https://github.com/everythingischaos/maze written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/everythingischaos/maze on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/everythingischaos/maze 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a336888766dbeab935f4f16608e313377d06131719205613a8bba1f20e5d0035 [INFO] running `Command { std: "docker" "start" "-a" "a336888766dbeab935f4f16608e313377d06131719205613a8bba1f20e5d0035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a336888766dbeab935f4f16608e313377d06131719205613a8bba1f20e5d0035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a336888766dbeab935f4f16608e313377d06131719205613a8bba1f20e5d0035", kill_on_drop: false }` [INFO] [stdout] a336888766dbeab935f4f16608e313377d06131719205613a8bba1f20e5d0035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f67c24283e3a5634cb60125001e8dcb36f3224ee5049dfa90e0a15d3de36f52 [INFO] running `Command { std: "docker" "start" "-a" "6f67c24283e3a5634cb60125001e8dcb36f3224ee5049dfa90e0a15d3de36f52", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking maze_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[wasm_bindgen(constructor)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/solver_animated.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | g: &Graph, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 32 ~ pub struct BfsTree<'a> { [INFO] [stdout] 33 | parent: Vec, [INFO] [stdout] 34 | dist: Vec, [INFO] [stdout] 35 | color: Vec, [INFO] [stdout] 36 ~ g: &'a Graph, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bfs` in this scope [INFO] [stdout] --> src/solver_animated.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | let tree = bfs(&g, maze_size - 1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::solver::bfs` exists but is inaccessible [INFO] [stdout] --> src/solver.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | fn bfs(g: &Graph, start: usize) -> BfsTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanvasRenderingContext2d` and `console` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{CanvasRenderingContext2d, OffscreenCanvas, console, OffscreenCanvasRenderingContext2d}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::type_name` [INFO] [stdout] --> src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashSet, any::type_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Boolean` [INFO] [stdout] --> src/solver_animated.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Boolean; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[wasm_bindgen(constructor)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/solver_animated.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use crate::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 1 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/solver_animated.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | g: &Graph, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 32 ~ pub struct BfsTree<'a> { [INFO] [stdout] 33 | parent: Vec, [INFO] [stdout] 34 | dist: Vec, [INFO] [stdout] 35 | color: Vec, [INFO] [stdout] 36 ~ g: &'a Graph, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bfs` in this scope [INFO] [stdout] --> src/solver_animated.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | let tree = bfs(&g, maze_size - 1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::solver::bfs` exists but is inaccessible [INFO] [stdout] --> src/solver.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | fn bfs(g: &Graph, start: usize) -> BfsTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanvasRenderingContext2d` and `console` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{CanvasRenderingContext2d, OffscreenCanvas, console, OffscreenCanvasRenderingContext2d}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::type_name` [INFO] [stdout] --> src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashSet, any::type_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Boolean` [INFO] [stdout] --> src/solver_animated.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Boolean; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | tree.q.push_back(start); [INFO] [stdout] | --------- ^^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/collections/vec_deque/mod.rs:1918:12 [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 53 | tree.q.push_back(start.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[HashSet]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | for &v in &self.g.adj[u] { [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[HashSet]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec>` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | self.dist[v] = self.dist[u] + 1; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | changes.append((v, 1)); [INFO] [stdout] | ------ ^^^^^^ expected `&mut Vec<(isize, isize)>`, found `(_, {integer})` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec<(isize, isize)>` [INFO] [stdout] found tuple `(_, {integer})` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/vec/mod.rs:2625:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 69 - changes.append((v, 1)); [INFO] [stdout] 69 + changes.push((v, 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | self.color[v] = Color::Gray; [INFO] [stdout] | ^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | self.parent[v] = u as isize; [INFO] [stdout] | ^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | self.dist[v] = self.dist[u] + 1; [INFO] [stdout] | ^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | if self.color[v] == Color::White { [INFO] [stdout] | ^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | self.color[u] = Color::Black; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | changes.append((u, 2)); [INFO] [stdout] | ------ ^^^^^^ expected `&mut Vec<(isize, isize)>`, found `(isize, {integer})` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec<(isize, isize)>` [INFO] [stdout] found tuple `(isize, {integer})` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/vec/mod.rs:2625:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 87 - changes.append((u, 2)); [INFO] [stdout] 87 + changes.push((u, 2)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | tree.q.push_back(start); [INFO] [stdout] | --------- ^^^^^ expected `isize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/collections/vec_deque/mod.rs:1918:12 [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 53 | tree.q.push_back(start.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[HashSet]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | for &v in &self.g.adj[u] { [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[HashSet]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec>` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | self.dist[v] = self.dist[u] + 1; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | changes.append((v, 1)); [INFO] [stdout] | ------ ^^^^^^ expected `&mut Vec<(isize, isize)>`, found `(_, {integer})` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec<(isize, isize)>` [INFO] [stdout] found tuple `(_, {integer})` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/vec/mod.rs:2625:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 69 - changes.append((v, 1)); [INFO] [stdout] 69 + changes.push((v, 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | self.color[v] = Color::Gray; [INFO] [stdout] | ^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | self.parent[v] = u as isize; [INFO] [stdout] | ^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[isize]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | self.dist[v] = self.dist[u] + 1; [INFO] [stdout] | ^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[isize]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | if self.color[v] == Color::White { [INFO] [stdout] | ^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[solver_animated::Color]` cannot be indexed by `isize` [INFO] [stdout] --> src/solver_animated.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | self.color[u] = Color::Black; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[solver_animated::Color]>` is not implemented for `isize` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/solver_animated.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | changes.append((u, 2)); [INFO] [stdout] | ------ ^^^^^^ expected `&mut Vec<(isize, isize)>`, found `(isize, {integer})` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec<(isize, isize)>` [INFO] [stdout] found tuple `(isize, {integer})` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b56aaec52bc0fa35591a872fb4aac81f606e265c/library/alloc/src/vec/mod.rs:2625:12 [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 87 - changes.append((u, 2)); [INFO] [stdout] 87 + changes.push((u, 2)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maze_renderer` (lib) due to 16 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maze_renderer` (lib test) due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f67c24283e3a5634cb60125001e8dcb36f3224ee5049dfa90e0a15d3de36f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f67c24283e3a5634cb60125001e8dcb36f3224ee5049dfa90e0a15d3de36f52", kill_on_drop: false }` [INFO] [stdout] 6f67c24283e3a5634cb60125001e8dcb36f3224ee5049dfa90e0a15d3de36f52