[INFO] cloning repository https://github.com/LatekVon/evolution-algo-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LatekVon/evolution-algo-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 741732656a18daaed40e873fbc95f8967ee26c04 [INFO] testing LatekVon/evolution-algo-1 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LatekVon/evolution-algo-1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LatekVon/evolution-algo-1 [INFO] finished tweaking git repo https://github.com/LatekVon/evolution-algo-1 [INFO] tweaked toml for git repo https://github.com/LatekVon/evolution-algo-1 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/LatekVon/evolution-algo-1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f5d0e82f16a65a133ebe6bf8e5a1b3b422274a52c419613a3cf4888462339ca [INFO] running `Command { std: "docker" "start" "-a" "3f5d0e82f16a65a133ebe6bf8e5a1b3b422274a52c419613a3cf4888462339ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f5d0e82f16a65a133ebe6bf8e5a1b3b422274a52c419613a3cf4888462339ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5d0e82f16a65a133ebe6bf8e5a1b3b422274a52c419613a3cf4888462339ca", kill_on_drop: false }` [INFO] [stdout] 3f5d0e82f16a65a133ebe6bf8e5a1b3b422274a52c419613a3cf4888462339ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6168832c3283de8e2d2b3f26e60a8db955e0177fd4d61bf74f1e0bea5a80672a [INFO] running `Command { std: "docker" "start" "-a" "6168832c3283de8e2d2b3f26e60a8db955e0177fd4d61bf74f1e0bea5a80672a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling face-fronter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ai_module.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | for i in 0..THREAD_CNT-2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/ai_module.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let results = self.calculate(Vec::new()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `training_data` [INFO] [stdout] --> src/ai_module.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn train(&mut self, training_data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/ai_rw.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut file = std::fs::File::create(&name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_v` [INFO] [stdout] --> src/ai_rw.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut layer_v: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_cnt` is assigned to, but never used [INFO] [stdout] --> src/ai_rw.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let node_cnt: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_node_cnt` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inp_mult` which is behind a shared reference [INFO] [stdout] --> src/ai_module.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | (self.inp_mult, self.inp_off) [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `self.inp_mult` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inp_off` which is behind a shared reference [INFO] [stdout] --> src/ai_module.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | (self.inp_mult, self.inp_off) [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because `self.inp_off` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai_rw.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut file = std::fs::File::create(&name); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai_rw.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut layer_v: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `tmp_inp_off` [INFO] [stdout] --> src/ai_rw.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 142 | let mut tmp_inp_off: Vec = Vec::new(); [INFO] [stdout] | --------------- move occurs because `tmp_inp_off` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 178 | tmp_inp_off.clone().push(val.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 214 | tmp_inp_off, [INFO] [stdout] | ----------- value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `tmp_inp_mult` [INFO] [stdout] --> src/ai_rw.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 143 | let mut tmp_inp_mult: Vec = Vec::new(); [INFO] [stdout] | ---------------- move occurs because `tmp_inp_mult` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 181 | tmp_inp_mult.clone().push(val.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 215 | tmp_inp_mult [INFO] [stdout] | ------------ value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `node_cnt` [INFO] [stdout] --> src/ai_rw.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 147 | let node_cnt: usize = 0; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | first assignment to `node_cnt` [INFO] [stdout] | help: consider making this binding mutable: `mut node_cnt` [INFO] [stdout] ... [INFO] [stdout] 220 | node_cnt += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0384, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `face-fronter` due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6168832c3283de8e2d2b3f26e60a8db955e0177fd4d61bf74f1e0bea5a80672a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6168832c3283de8e2d2b3f26e60a8db955e0177fd4d61bf74f1e0bea5a80672a", kill_on_drop: false }` [INFO] [stdout] 6168832c3283de8e2d2b3f26e60a8db955e0177fd4d61bf74f1e0bea5a80672a