[INFO] cloning repository https://github.com/bausano/semantic-brain-model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bausano/semantic-brain-model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbausano%2Fsemantic-brain-model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbausano%2Fsemantic-brain-model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 043a3829add40f127cec11533f3125cd0a773eaf [INFO] checking bausano/semantic-brain-model against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbausano%2Fsemantic-brain-model" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bausano/semantic-brain-model 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/bausano/semantic-brain-model [INFO] finished tweaking git repo https://github.com/bausano/semantic-brain-model [INFO] tweaked toml for git repo https://github.com/bausano/semantic-brain-model written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/bausano/semantic-brain-model 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e877c3286d0128bdace360e62140337a5049fd9515a9fe27ead1bd2908ec3078 [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" "e877c3286d0128bdace360e62140337a5049fd9515a9fe27ead1bd2908ec3078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e877c3286d0128bdace360e62140337a5049fd9515a9fe27ead1bd2908ec3078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e877c3286d0128bdace360e62140337a5049fd9515a9fe27ead1bd2908ec3078", kill_on_drop: false }` [INFO] [stdout] e877c3286d0128bdace360e62140337a5049fd9515a9fe27ead1bd2908ec3078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ae6130ae5a7cfa2803d9de5930795f9c04c68a1c26ebfe49f887d5a0f10274e [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" "4ae6130ae5a7cfa2803d9de5930795f9c04c68a1c26ebfe49f887d5a0f10274e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking regex v1.1.6 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking dotenv v0.12.0 [INFO] [stderr] Checking semantic-brain-model v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] 100 | if point.y >= self.split.y { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] 100 | if point.y >= self.split.y { [INFO] [stdout] 101 | if point.x >= self.split.x { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 107 | if point.x <= self.split.x { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] 100 | if point.y >= self.split.y { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] 100 | if point.y >= self.split.y { [INFO] [stdout] 101 | if point.x >= self.split.x { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/som/table.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 107 | if point.x <= self.split.x { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `senses::visual::heat_map::CELL_SIZE` [INFO] [stdout] --> src/senses/visual/extract_highlights.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use senses::visual::heat_map::CELL_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `senses::visual::heat_map::CELL_SIZE` [INFO] [stdout] --> src/senses/visual/extract_highlights.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use senses::visual::heat_map::CELL_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `senses::visual::heat_map::CELL_SIZE` [INFO] [stdout] --> src/senses/visual/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use senses::visual::heat_map::CELL_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/senses/visual/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use self::image::{ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::neuron::Neuron` [INFO] [stdout] --> src/som/table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::neuron::Neuron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `senses::visual::heat_map::CELL_SIZE` [INFO] [stdout] --> src/senses/visual/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use senses::visual::heat_map::CELL_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/senses/visual/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use self::image::{ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::neuron::Neuron` [INFO] [stdout] --> src/som/table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::neuron::Neuron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `Table` in the current scope [INFO] [stdout] --> src/som/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | root: Table::new(Point::new(average_x, average_y)), [INFO] [stdout] | ^^^ variant or associated item not found in `Table` [INFO] [stdout] | [INFO] [stdout] ::: src/som/table.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Table { [INFO] [stdout] | -------------- variant or associated item `new` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `jpeg_decoder::worker::Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `Table::Node` has no field named `neuron` [INFO] [stdout] --> src/som/table.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | neuron: None, [INFO] [stdout] | ^^^^^^ `Table::Node` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `split`, `quadrants`, `lower_bound`, `upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `split` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let quadrant = which_quadrant(self.split, at); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(neuron) = self.neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | self.neuron = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `quadrants` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | let boxed: &Option> = &self.quadrants[quadrant]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `Table` in the current scope [INFO] [stdout] --> src/som/table.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Table { [INFO] [stdout] | -------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 49 | let mut quadrant_table = Table::new(at); [INFO] [stdout] | ^^^ variant or associated item not found in `Table` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `jpeg_decoder::worker::Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&Table` [INFO] [stdout] --> src/som/table.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(neuron) = self.neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `split` on type `&Table` [INFO] [stdout] --> src/som/table.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | return if point == self.split { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `split` on type `&Table` [INFO] [stdout] --> src/som/table.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | let quadrant = which_quadrant(self.split, point); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `quadrants` on type `&Table` [INFO] [stdout] --> src/som/table.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | let boxed: &Option> = &self.quadrants[quadrant]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/som/table.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `Table` in the current scope [INFO] [stdout] --> src/som/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | root: Table::new(Point::new(average_x, average_y)), [INFO] [stdout] | ^^^ variant or associated item not found in `Table` [INFO] [stdout] | [INFO] [stdout] ::: src/som/table.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Table { [INFO] [stdout] | -------------- variant or associated item `new` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `jpeg_decoder::worker::Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `semantic-brain-model` [INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0559, E0599, E0609. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0559]: variant `Table::Node` has no field named `neuron` [INFO] [stdout] --> src/som/table.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | neuron: None, [INFO] [stdout] | ^^^^^^ `Table::Node` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `split`, `quadrants`, `lower_bound`, `upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0609]: no field `split` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let quadrant = which_quadrant(self.split, at); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(neuron) = self.neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | self.neuron = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `quadrants` on type `&mut Table` [INFO] [stdout] --> src/som/table.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | let boxed: &Option> = &self.quadrants[quadrant]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `Table` in the current scope [INFO] [stdout] --> src/som/table.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Table { [INFO] [stdout] | -------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 49 | let mut quadrant_table = Table::new(at); [INFO] [stdout] | ^^^ variant or associated item not found in `Table` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `jpeg_decoder::worker::Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neuron` on type `&Table` [INFO] [stdout] --> src/som/table.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(neuron) = self.neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `split` on type `&Table` [INFO] [stdout] --> src/som/table.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | return if point == self.split { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `split` on type `&Table` [INFO] [stdout] --> src/som/table.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | let quadrant = which_quadrant(self.split, point); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `quadrants` on type `&Table` [INFO] [stdout] --> src/som/table.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | let boxed: &Option> = &self.quadrants[quadrant]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/som/table.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | fn which_quadrant(center: Point, point: Point) -> usize { [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0559, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4ae6130ae5a7cfa2803d9de5930795f9c04c68a1c26ebfe49f887d5a0f10274e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae6130ae5a7cfa2803d9de5930795f9c04c68a1c26ebfe49f887d5a0f10274e", kill_on_drop: false }` [INFO] [stdout] 4ae6130ae5a7cfa2803d9de5930795f9c04c68a1c26ebfe49f887d5a0f10274e