[INFO] cloning repository https://github.com/Trzyq0712/process_data [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trzyq0712/process_data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrzyq0712%2Fprocess_data", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrzyq0712%2Fprocess_data'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96dfe1abbc2f24f4b4506b9f73cdbbd61115bccc [INFO] checking Trzyq0712/process_data/96dfe1abbc2f24f4b4506b9f73cdbbd61115bccc against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrzyq0712%2Fprocess_data" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Trzyq0712/process_data on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Trzyq0712/process_data [INFO] finished tweaking git repo https://github.com/Trzyq0712/process_data [INFO] tweaked toml for git repo https://github.com/Trzyq0712/process_data written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Trzyq0712/process_data 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c5eb9dfefa98e73f67c151bbde812130885aa860d04a8df04d6378fc494cdac [INFO] running `Command { std: "docker" "start" "-a" "4c5eb9dfefa98e73f67c151bbde812130885aa860d04a8df04d6378fc494cdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c5eb9dfefa98e73f67c151bbde812130885aa860d04a8df04d6378fc494cdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5eb9dfefa98e73f67c151bbde812130885aa860d04a8df04d6378fc494cdac", kill_on_drop: false }` [INFO] [stdout] 4c5eb9dfefa98e73f67c151bbde812130885aa860d04a8df04d6378fc494cdac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5adfdae66f8eb8266b703b8432ee21f4b28e26be7a18bc66e258be0eefc40270 [INFO] running `Command { std: "docker" "start" "-a" "5adfdae66f8eb8266b703b8432ee21f4b28e26be7a18bc66e258be0eefc40270", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking process_data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn populate_points(point_map: &mut PointMap, boxes: &[AugmentBox], config: &Config) { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | pub fn populate_points(point_map: &mut PointMap, boxes: &[AugmentBox], config: &Config) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | point_map: &PointMap, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 49 | point_map: &PointMap, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | point_map: &PointMap, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 88 | point_map: &PointMap, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/clean.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | fn clean_point(p: &Point, point_map: &PointMap, config: &Config) -> RssArr { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 89 | fn clean_point(p: &Point, point_map: &PointMap, config: &Config) -> RssArr { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn populate_points(point_map: &mut PointMap, boxes: &[AugmentBox], config: &Config) { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | pub fn populate_points(point_map: &mut PointMap, boxes: &[AugmentBox], config: &Config) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | point_map: &PointMap, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 49 | point_map: &PointMap, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/augment.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | point_map: &PointMap, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 88 | point_map: &PointMap, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/augment.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | x: ll.x + w, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `PointMap` [INFO] [stdout] --> src/clean.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | fn clean_point(p: &Point, point_map: &PointMap, config: &Config) -> RssArr { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/point_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 89 | fn clean_point(p: &Point, point_map: &PointMap, config: &Config) -> RssArr { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `u32` to `usize` [INFO] [stdout] --> src/augment.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | x: ll.x + w, [INFO] [stdout] | ^ no implementation for `usize + u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `usize` implements `Add<&usize>` [INFO] [stdout] `usize` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/augment.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | y: ll.y + h, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `u32` to `usize` [INFO] [stdout] --> src/augment.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | y: ll.y + h, [INFO] [stdout] | ^ no implementation for `usize + u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `usize` implements `Add<&usize>` [INFO] [stdout] `usize` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/clean.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/clean.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records, /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/augment.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | x: ll.x + w, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `u32` to `usize` [INFO] [stdout] --> src/augment.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | x: ll.x + w, [INFO] [stdout] | ^ no implementation for `usize + u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `usize` implements `Add<&usize>` [INFO] [stdout] `usize` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/augment.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | y: ll.y + h, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `u32` to `usize` [INFO] [stdout] --> src/augment.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | y: ll.y + h, [INFO] [stdout] | ^ no implementation for `usize + u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `&usize` implements `Add` [INFO] [stdout] `usize` implements `Add<&usize>` [INFO] [stdout] `usize` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/clean.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let points = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/clean.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/clean.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records, /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/clean.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let points = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/clean.rs:42:84 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn clean_led(point: Point, point_map: &PointMap>, config: &Config) -> Option { [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/clean.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/clean.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | let point_map = PointMap::from_raw_records(raw_records, /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | x: x as u32 * 500 + 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | y: y as u32 * 500 + 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/clean.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let points = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/clean.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/clean.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 27 | let point_map = PointMap::from_raw_records(raw_records, /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/clean.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let points = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/clean.rs:42:84 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn clean_led(point: Point, point_map: &PointMap>, config: &Config) -> Option { [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... x: x as u32, [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | ... y: y as u32, [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | x: x as u32 * 500 + 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | y: y as u32 * 500 + 250, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rss_record.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y }, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x: x.try_into().unwrap(), y }, [INFO] [stdout] | ++ ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rss_record.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y }, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y: y.try_into().unwrap() }, [INFO] [stdout] | ++ ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... x: x as u32, [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | ... y: y as u32, [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/main.rs:84:67 [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone(), /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let to_augment = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/main.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone(), /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rss_record.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y }, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x: x.try_into().unwrap(), y }, [INFO] [stdout] | ++ ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rss_record.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y }, [INFO] [stdout] | ^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 61 | point: Point { x, y: y.try_into().unwrap() }, [INFO] [stdout] | ++ ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/main.rs:84:67 [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 84 | let mut point_map = point_map::PointMap::from_raw_records(records.clone(), /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `all_points` found for struct `PointMap` in the current scope [INFO] [stdout] --> src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let to_augment = point_map.all_points(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PointMap>` [INFO] [stdout] | [INFO] [stdout] ::: src/point_map.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PointMap { [INFO] [stdout] | ---------------------- method `all_points` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == (Point, f32)` [INFO] [stdout] --> src/main.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^^^^ expected `(Point, f32)`, found `RssRecord` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Point, f32)` [INFO] [stdout] found struct `RssRecord` [INFO] [stdout] note: required by a bound in `PointMap::>::from_raw_records` [INFO] [stdout] --> src/point_map.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `PointMap::>::from_raw_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- argument #2 of type `PointMapConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/point_map.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_raw_records( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | records: impl IntoIterator, [INFO] [stdout] 26 | config: PointMapConfig, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 99 | point_map = point_map::PointMap::from_raw_records(records.clone(), /* PointMapConfig */); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/point_map.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn index_mut(&mut self, p: Point) -> &mut Self::Output { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 154 | &mut self.data[self.get_index(p)] [INFO] [stdout] | ---------------^^^^-------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | immutable borrow occurs here [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | returning this value requires that `self.data` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/point_map.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn index_mut(&mut self, p: Point) -> &mut Self::Output { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 154 | &mut self.data[self.get_index(p)] [INFO] [stdout] | ---------------^^^^-------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | immutable borrow occurs here [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | returning this value requires that `self.data` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0271, E0277, E0308, E0502, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0271, E0277, E0308, E0502, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `process_data` (bin "process_data" test) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `process_data` (bin "process_data") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "5adfdae66f8eb8266b703b8432ee21f4b28e26be7a18bc66e258be0eefc40270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5adfdae66f8eb8266b703b8432ee21f4b28e26be7a18bc66e258be0eefc40270", kill_on_drop: false }` [INFO] [stdout] 5adfdae66f8eb8266b703b8432ee21f4b28e26be7a18bc66e258be0eefc40270