[INFO] cloning repository https://github.com/hicorn/neuro-evolution-snake
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hicorn/neuro-evolution-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhicorn%2Fneuro-evolution-snake"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhicorn%2Fneuro-evolution-snake'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 17088c44cb7af28ba6424169f233207fafa90975
[INFO] testing hicorn/neuro-evolution-snake against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhicorn%2Fneuro-evolution-snake" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hicorn/neuro-evolution-snake
[INFO] finished tweaking git repo https://github.com/hicorn/neuro-evolution-snake
[INFO] tweaked toml for git repo https://github.com/hicorn/neuro-evolution-snake written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hicorn/neuro-evolution-snake on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/hicorn/neuro-evolution-snake already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193
[INFO] running `"docker" "start" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193"`
[INFO] running `"docker" "inspect" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling snake_evolution v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Sensor` in this scope
[INFO] [stdout]    --> src/main.rs:187:6
[INFO] [stdout]     |
[INFO] [stdout] 187 | impl Sensor { fn new(id: u32, t: SenT, d: u8) -> Self { Self { id, typ: t, dir: d, val: 0. } } }
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:187:34
[INFO] [stdout]     |
[INFO] [stdout] 187 | impl Sensor { fn new(id: u32, t: SenT, d: u8) -> Self { Self { id, typ: t, dir: d, val: 0. } } }
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Send` defined here
[INFO] [stdout]    --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/marker.rs:92:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 187 - impl Sensor { fn new(id: u32, t: SenT, d: u8) -> Self { Self { id, typ: t, dir: d, val: 0. } } }
[INFO] [stdout] 187 + impl Sensor { fn new(id: u32, t: Send, d: u8) -> Self { Self { id, typ: t, dir: d, val: 0. } } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Sensor` in this scope
[INFO] [stdout]    --> src/main.rs:191:66
[INFO] [stdout]     |
[INFO] [stdout] 191 |     neurons: HashMap<u32, Neuron>, syns: Vec<Synapse>, sens: Vec<Sensor>,
[INFO] [stdout]     |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Brain<Sensor> {
[INFO] [stdout]     |             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:244:38
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let sens_data: Vec<(u32, u8, SenT)> = self.sens.iter()
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Send` defined here
[INFO] [stdout]    --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/marker.rs:92:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 244 -         let sens_data: Vec<(u32, u8, SenT)> = self.sens.iter()
[INFO] [stdout] 244 +         let sens_data: Vec<(u32, u8, Send)> = self.sens.iter()
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 201 | impl<SenT> Brain {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:582:65
[INFO] [stdout]     |
[INFO] [stdout] 582 |     fn deep_mutate(&mut self, _reason: &str, gen: u64, _stats: &SnakeStats, stagn: bool, _eaten: usize, plateau: u32, mut_rate: f64) {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:695:6
[INFO] [stdout]     |
[INFO] [stdout] 695 | impl Dir {
[INFO] [stdout]     |      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:702:37
[INFO] [stdout]     |
[INFO] [stdout] 702 |     body: VecDeque<(i32,i32)>, dir: Dir, food: (i32,i32),
[INFO] [stdout]     |                                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:704:60
[INFO] [stdout]     |
[INFO] [stdout] 704 |     pos_hist: VecDeque<(i32,i32)>, loop_cnt: usize, stats: SnakeStats, loop_det: bool,
[INFO] [stdout]     |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:783:63
[INFO] [stdout]     |
[INFO] [stdout] 783 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]     |                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:791:76
[INFO] [stdout]     |
[INFO] [stdout] 791 |     fn crossover(p1: &Genome, p2: &Genome, reason: &str, gen: u64, stats: &SnakeStats, stagn: bool, eaten: usize, plateau: u32, mut...
[INFO] [stdout]     |                                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |         if self.typ == Gate && !self.gate_open { return false; }
[INFO] [stdout]     |            -------- ^^ ---- NType
[INFO] [stdout]     |            |
[INFO] [stdout]     |            NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:123:21
[INFO] [stdout]     |
[INFO] [stdout] 123 |         if self.typ == HormoneSrc { self.hormone_level = 1.; }
[INFO] [stdout]     |            -------- ^^ ---------- NType
[INFO] [stdout]     |            |
[INFO] [stdout]     |            NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:124:26
[INFO] [stdout]     |
[INFO] [stdout] 124 |         else if self.typ == HormoneSink { self.hormone_level = 0.; }
[INFO] [stdout]     |                 -------- ^^ ----------- NType
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |         else if self.typ == Oscillator {
[INFO] [stdout]     |                 -------- ^^ ---------- NType
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:219:41
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout]     |                                         ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 219 -                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout] 219 +                 let t = match i%3 {0 => Send::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:219:57
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout]     |                                                         ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 219 -                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout] 219 +                 let t = match i%3 {0 => SenT::Wall,1 => Send::Food,_ => SenT::Body}; 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:219:73
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout]     |                                                                         ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 219 -                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => SenT::Body}; 
[INFO] [stdout] 219 +                 let t = match i%3 {0 => SenT::Wall,1 => SenT::Food,_ => Send::Body}; 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Sensor` in this scope
[INFO] [stdout]    --> src/main.rs:220:32
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 self.sens.push(Sensor::new(i as u32,t,d)); 
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `Sensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:294:78
[INFO] [stdout]     |
[INFO] [stdout] 294 | ...   for s in 0..self.sens.len() { if self.sens[s].typ == SenT::Food { let mut sy=Synapse::new(s as u32,id,4.0,0,false,false); sy....
[INFO] [stdout]     |                                                            ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 294 -                         for s in 0..self.sens.len() { if self.sens[s].typ == SenT::Food { let mut sy=Synapse::new(s as u32,id,4.0,0,false,false); sy.module=m; self.syns.push(sy); } }
[INFO] [stdout] 294 +                         for s in 0..self.sens.len() { if self.sens[s].typ == Send::Food { let mut sy=Synapse::new(s as u32,id,4.0,0,false,false); sy.module=m; self.syns.push(sy); } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:298:78
[INFO] [stdout]     |
[INFO] [stdout] 298 | ...   for s in 0..self.sens.len() { if self.sens[s].typ == SenT::Wall { let mut sy=Synapse::new(s as u32,id,2.5,0,false,false); sy....
[INFO] [stdout]     |                                                            ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 298 -                         for s in 0..self.sens.len() { if self.sens[s].typ == SenT::Wall { let mut sy=Synapse::new(s as u32,id,2.5,0,false,false); sy.module=m; self.syns.push(sy); } }
[INFO] [stdout] 298 +                         for s in 0..self.sens.len() { if self.sens[s].typ == Send::Wall { let mut sy=Synapse::new(s as u32,id,2.5,0,false,false); sy.module=m; self.syns.push(sy); } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:311:67
[INFO] [stdout]     |
[INFO] [stdout] 311 | ...   for n in self.neurons.values() { if n.typ == AttentionOut { let mut sy=Synapse::new(id, n.id, 1.2, 0, false, false); sy.modul...
[INFO] [stdout]     |                                           ----- ^^ ------------ NType
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:380:22
[INFO] [stdout]     |
[INFO] [stdout] 380 |             if n.typ == Query && n.fired { queries.push(n.q_vec); }
[INFO] [stdout]     |                ----- ^^ ----- NType
[INFO] [stdout]     |                |
[INFO] [stdout]     |                NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:381:22
[INFO] [stdout]     |
[INFO] [stdout] 381 |             if n.typ == Key && n.fired { keys.push(n.k_vec); }
[INFO] [stdout]     |                ----- ^^ --- NType
[INFO] [stdout]     |                |
[INFO] [stdout]     |                NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:382:22
[INFO] [stdout]     |
[INFO] [stdout] 382 |             if n.typ == Value && n.fired { values.push(n.v_vec); }
[INFO] [stdout]     |                ----- ^^ ----- NType
[INFO] [stdout]     |                |
[INFO] [stdout]     |                NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:401:56
[INFO] [stdout]     |
[INFO] [stdout] 401 |             if self.neurons.get(&s.from).map(|n| n.typ == AttentionOut).unwrap_or(false) {
[INFO] [stdout]     |                                                  ----- ^^ ------------ NType
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:439:28
[INFO] [stdout]     |
[INFO] [stdout] 439 |             let (dx, dy) = Dir::from(best_food_dir).dxy();
[INFO] [stdout]     |                            ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:449:36
[INFO] [stdout]     |
[INFO] [stdout] 449 |                     let (dx, dy) = Dir::from(dir_idx).dxy();
[INFO] [stdout]     |                                    ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:463:25
[INFO] [stdout]     |
[INFO] [stdout] 463 |             if s.typ == SenT::Body && len > 5 {
[INFO] [stdout]     |                         ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 463 -             if s.typ == SenT::Body && len > 5 {
[INFO] [stdout] 463 +             if s.typ == Send::Body && len > 5 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:469:22
[INFO] [stdout]     |
[INFO] [stdout] 469 |             if n.typ == HormoneSrc && n.fired { self.global_hormone += n.hormone_level; }
[INFO] [stdout]     |                ----- ^^ ---------- NType
[INFO] [stdout]     |                |
[INFO] [stdout]     |                NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NType`
[INFO] [stdout]    --> src/main.rs:470:22
[INFO] [stdout]     |
[INFO] [stdout] 470 |             if n.typ == HormoneSink { self.global_hormone = 0.; }
[INFO] [stdout]     |                ----- ^^ ----------- NType
[INFO] [stdout]     |                |
[INFO] [stdout]     |                NType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `NType`
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `NType` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]  64 + #[derive(PartialEq)]
[INFO] [stdout]  65 | enum NType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:505:32
[INFO] [stdout]     |
[INFO] [stdout] 505 |                 let (dx, dy) = Dir::from(d).dxy();
[INFO] [stdout]     |                                ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:52
[INFO] [stdout]     |
[INFO] [stdout] 696 |     fn opp(self) -> Self { match self { Dir::Up => Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Lef...
[INFO] [stdout]     |                                                    ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:76
[INFO] [stdout]     |
[INFO] [stdout] 696 |     fn opp(self) -> Self { match self { Dir::Up => Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Lef...
[INFO] [stdout]     |                                                                            ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:98
[INFO] [stdout]     |
[INFO] [stdout] 696 | ...> Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Left } }
[INFO] [stdout]     |                                                    ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:124
[INFO] [stdout]     |
[INFO] [stdout] 696 | ...Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Left } }
[INFO] [stdout]     |                                                    ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:698:47
[INFO] [stdout]     |
[INFO] [stdout] 698 |     fn from(i: usize) -> Self { match i {0 => Dir::Up,1 => Dir::Down,2 => Dir::Left,_ => Dir::Right} }
[INFO] [stdout]     |                                               ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:698:60
[INFO] [stdout]     |
[INFO] [stdout] 698 |     fn from(i: usize) -> Self { match i {0 => Dir::Up,1 => Dir::Down,2 => Dir::Left,_ => Dir::Right} }
[INFO] [stdout]     |                                                            ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:698:75
[INFO] [stdout]     |
[INFO] [stdout] 698 |     fn from(i: usize) -> Self { match i {0 => Dir::Up,1 => Dir::Down,2 => Dir::Left,_ => Dir::Right} }
[INFO] [stdout]     |                                                                           ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:698:90
[INFO] [stdout]     |
[INFO] [stdout] 698 |     fn from(i: usize) -> Self { match i {0 => Dir::Up,1 => Dir::Down,2 => Dir::Left,_ => Dir::Right} }
[INFO] [stdout]     |                                                                                          ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:710:40
[INFO] [stdout]     |
[INFO] [stdout] 710 | ...   let mut s = Self { body:b, dir:Dir::Right, food:(0,0), steps:0, eaten:0, turns:0, alive:true, reason:String::new(), pos_hist:...
[INFO] [stdout]     |                                      ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:710:169
[INFO] [stdout]     |
[INFO] [stdout] 710 | ..._hist:VecDeque::new(), loop_cnt:0, stats:SnakeStats::default(), loop_det:false };
[INFO] [stdout]     |                                             ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:766:18
[INFO] [stdout]     |
[INFO] [stdout] 766 |         let nd = Dir::from(dec);
[INFO] [stdout]     |                  ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:789:68
[INFO] [stdout]     |
[INFO] [stdout] 789 |         Genome{seq:b.to_genome(),fit:0.,reason:String::new(),stats:SnakeStats::default(),brain:Some(b),novel:0.}
[INFO] [stdout]     |                                                                    ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for enum `Option<Brain>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:793:31
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Brain {
[INFO] [stdout]     | ------------ doesn't satisfy `Brain: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 793 |         let mut b1 = p1.brain.clone().unwrap_or_else(Brain::new);
[INFO] [stdout]     |                               ^^^^^ method cannot be called on `Option<Brain>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Brain: Clone`
[INFO] [stdout]             which is required by `Option<Brain>: Clone`
[INFO] [stdout] help: consider annotating `Brain` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout] 190 + #[derive(Clone)]
[INFO] [stdout] 191 | struct Brain {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for enum `Option<Brain>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:794:27
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Brain {
[INFO] [stdout]     | ------------ doesn't satisfy `Brain: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 794 |         let b2 = p2.brain.clone().unwrap_or_else(Brain::new);
[INFO] [stdout]     |                           ^^^^^ method cannot be called on `Option<Brain>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Brain: Clone`
[INFO] [stdout]             which is required by `Option<Brain>: Clone`
[INFO] [stdout] help: consider annotating `Brain` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout] 190 + #[derive(Clone)]
[INFO] [stdout] 191 | struct Brain {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:825:25
[INFO] [stdout]     |
[INFO] [stdout] 825 |     let mut all_stats = SnakeStats::default();
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `Brain` in the current scope
[INFO] [stdout]    --> src/main.rs:829:45
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Brain {
[INFO] [stdout]     | ------------ method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 829 |         let mut b = if ep == 0 { base_brain.clone() } else { Brain::from_genome(&g.seq) };
[INFO] [stdout]     |                                             ^^^^^ method not found in `Brain`
[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 `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:962:74
[INFO] [stdout]     |
[INFO] [stdout] 962 |             let base = Genome{seq:data,fit:0.,reason:String::new(),stats:SnakeStats::default(),brain:Some(base_b),novel:0.};
[INFO] [stdout]     |                                                                          ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `Genome` in the current scope
[INFO] [stdout]    --> src/main.rs:964:47
[INFO] [stdout]     |
[INFO] [stdout] 783 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]     | ------------- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 964 |             for _ in 0..ELITE { pop.push(base.clone()); }
[INFO] [stdout]     |                                               ^^^^^ method not found in `Genome`
[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 `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for enum `Option<Brain>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:966:40
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Brain {
[INFO] [stdout]     | ------------ doesn't satisfy `Brain: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 966 |                 let mut b = base.brain.clone().unwrap(); 
[INFO] [stdout]     |                                        ^^^^^ method cannot be called on `Option<Brain>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Brain: Clone`
[INFO] [stdout]             which is required by `Option<Brain>: Clone`
[INFO] [stdout] help: consider annotating `Brain` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout] 190 + #[derive(Clone)]
[INFO] [stdout] 191 | struct Brain {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:968:51
[INFO] [stdout]     |
[INFO] [stdout] 968 |                 b.deep_mutate("starvation", gen, &SnakeStats::default(), false, 0, 0, HIGH_MUTATION_RATE); 
[INFO] [stdout]     |                                                   ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SnakeStats` in this scope
[INFO] [stdout]    --> src/main.rs:969:85
[INFO] [stdout]     |
[INFO] [stdout] 969 |                 pop.push(Genome{seq:b.to_genome(),fit:0.,reason:String::new(),stats:SnakeStats::default(),brain:Some(b),novel:0.}); 
[INFO] [stdout]     |                                                                                     ^^^^^^^^^^ use of undeclared type `SnakeStats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `Genome` in the current scope
[INFO] [stdout]    --> src/main.rs:997:45
[INFO] [stdout]     |
[INFO] [stdout] 783 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]     | ------------- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 997 |             diversity_pool.push_back(pop[0].clone());
[INFO] [stdout]     |                                             ^^^^^ method not found in `Genome`
[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 `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `Genome` in the current scope
[INFO] [stdout]     --> src/main.rs:1038:30
[INFO] [stdout]      |
[INFO] [stdout]  783 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]      | ------------- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 1038 |             hall.push(pop[0].clone()); 
[INFO] [stdout]      |                              ^^^^^ method not found in `Genome`
[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 `clone`, perhaps you need to implement it:
[INFO] [stdout]              candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for enum `Option<Brain>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> src/main.rs:1049:38
[INFO] [stdout]      |
[INFO] [stdout]  190 | struct Brain {
[INFO] [stdout]      | ------------ doesn't satisfy `Brain: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 1049 |             let mut b = pop[0].brain.clone().unwrap(); 
[INFO] [stdout]      |                                      ^^^^^ method cannot be called on `Option<Brain>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `Brain: Clone`
[INFO] [stdout]              which is required by `Option<Brain>: Clone`
[INFO] [stdout] help: consider annotating `Brain` with `#[derive(Clone)]`
[INFO] [stdout]      |
[INFO] [stdout]  190 + #[derive(Clone)]
[INFO] [stdout]  191 | struct Brain {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `Genome` in the current scope
[INFO] [stdout]     --> src/main.rs:1073:33
[INFO] [stdout]      |
[INFO] [stdout]  783 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]      | ------------- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 1073 |             new_pop.push(pop[i].clone()); 
[INFO] [stdout]      |                                 ^^^^^ method not found in `Genome`
[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 `clone`, perhaps you need to implement it:
[INFO] [stdout]              candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/main.rs:1109:30
[INFO] [stdout]      |
[INFO] [stdout] 1109 |                 new_pop[i] = mutated_champ;
[INFO] [stdout]      |                 ----------   ^^^^^^^^^^^^^ expected `Genome`, found `&Genome`
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 expected due to the type of this binding
[INFO] [stdout]      |
[INFO] [stdout] note: `Genome` does not implement `Clone`, so `&Genome` was cloned instead
[INFO] [stdout]     --> src/main.rs:1104:41
[INFO] [stdout]      |
[INFO] [stdout] 1104 |                 let mut mutated_champ = champ.clone();
[INFO] [stdout]      |                                         ^^^^^
[INFO] [stdout] help: consider annotating `Genome` with `#[derive(Clone)]`
[INFO] [stdout]      |
[INFO] [stdout]  783 + #[derive(Clone)]
[INFO] [stdout]  784 | struct Genome { seq: String, fit: f64, reason: String, stats: SnakeStats, brain: Option<Brain>, novel: f64 }
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `nt`
[INFO] [stdout]    --> src/main.rs:338:33
[INFO] [stdout]     |
[INFO] [stdout] 334 |                     let nt = NType::from(tc);
[INFO] [stdout]     |                         -- move occurs because `nt` has type `NType`, which does not implement the `Copy` trait
[INFO] [stdout] 335 |                     let module = part.chars().nth(13).map(|c| c as u8 - b'A').unwrap_or(b.alloc_module());
[INFO] [stdout] 336 |                     let mut n = Neuron::new(id, nt, th); n.module = module;
[INFO] [stdout]     |                                                 -- value moved here
[INFO] [stdout] 337 |                     if part.len() >= 14 { n.total = b262u(&part[7..9]) as u64; n.food_ok = b262...
[INFO] [stdout] 338 |                     if matches!(nt, Query | Key | Value) && part.len() >= 14 + ATTENTION_DIM * 9 {
[INFO] [stdout]     |                                 ^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/main.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn new(id: u32, t: NType, thr: f64) -> Self {
[INFO] [stdout]     |        ---             ^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |        |
[INFO] [stdout]     |        in this method
[INFO] [stdout] note: if `NType` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | enum NType {
[INFO] [stdout]     | ^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 336 |                     let mut n = Neuron::new(id, nt, th); n.module = module;
[INFO] [stdout]     |                                                 -- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:110
[INFO] [stdout]     |
[INFO] [stdout] 696 | ... Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Left } }
[INFO] [stdout]     |                                                    ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:697:85
[INFO] [stdout]     |
[INFO] [stdout] 697 |     fn dxy(self) -> (i32,i32) { match self { Dir::Up => (0,-1), Dir::Down => (0,1), Dir::Left => (-1,0), Dir::Right => (1,0) } }
[INFO] [stdout]     |                                                                                     ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:41
[INFO] [stdout]     |
[INFO] [stdout] 696 |     fn opp(self) -> Self { match self { Dir::Up => Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Lef...
[INFO] [stdout]     |                                         ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:697:46
[INFO] [stdout]     |
[INFO] [stdout] 697 |     fn dxy(self) -> (i32,i32) { match self { Dir::Up => (0,-1), Dir::Down => (0,1), Dir::Left => (-1,0), Dir::Right => (1,0) } }
[INFO] [stdout]     |                                              ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:254:21
[INFO] [stdout]     |
[INFO] [stdout] 254 |                     SenT::Wall => -0.8,
[INFO] [stdout]     |                     ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 254 -                     SenT::Wall => -0.8,
[INFO] [stdout] 254 +                     Send::Wall => -0.8,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:255:21
[INFO] [stdout]     |
[INFO] [stdout] 255 |                     SenT::Food => 12.0,
[INFO] [stdout]     |                     ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 255 -                     SenT::Food => 12.0,
[INFO] [stdout] 255 +                     Send::Food => 12.0,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenT` in this scope
[INFO] [stdout]    --> src/main.rs:256:21
[INFO] [stdout]     |
[INFO] [stdout] 256 |                     SenT::Body => -1.5
[INFO] [stdout]     |                     ^^^^ use of undeclared type `SenT`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 256 -                     SenT::Body => -1.5
[INFO] [stdout] 256 +                     Send::Body => -1.5
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:63
[INFO] [stdout]     |
[INFO] [stdout] 696 |     fn opp(self) -> Self { match self { Dir::Up => Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Lef...
[INFO] [stdout]     |                                                               ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:697:65
[INFO] [stdout]     |
[INFO] [stdout] 697 |     fn dxy(self) -> (i32,i32) { match self { Dir::Up => (0,-1), Dir::Down => (0,1), Dir::Left => (-1,0), Dir::Right => (1,0) } }
[INFO] [stdout]     |                                                                 ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:696:85
[INFO] [stdout]     |
[INFO] [stdout] 696 |     fn opp(self) -> Self { match self { Dir::Up => Dir::Down, Dir::Down => Dir::Up, Dir::Left => Dir::Right, Dir::Right => Dir::Lef...
[INFO] [stdout]     |                                                                                     ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Dir` in this scope
[INFO] [stdout]    --> src/main.rs:697:106
[INFO] [stdout]     |
[INFO] [stdout] 697 |     fn dxy(self) -> (i32,i32) { match self { Dir::Up => (0,-1), Dir::Down => (0,1), Dir::Left => (-1,0), Dir::Right => (1,0) } }
[INFO] [stdout]     |                                                                                                          ^^^ use of undeclared type `Dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0382, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake_evolution` (bin "snake_evolution") due to 69 previous errors
[INFO] running `"docker" "inspect" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193"`
[INFO] running `"docker" "rm" "-f" "cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193"`
[INFO] [stdout] cb697ed4309f8d384e0e8630eb6783d8f834c387035153718beaf83a98684193
