[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] checking LatekVon/evolution-algo-1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LatekVon/evolution-algo-1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ae16ba99d0f6ff475cd5b0a1740ff03fee656f8e344d0f82e8e22d51d556393 [INFO] running `Command { std: "docker" "start" "-a" "9ae16ba99d0f6ff475cd5b0a1740ff03fee656f8e344d0f82e8e22d51d556393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ae16ba99d0f6ff475cd5b0a1740ff03fee656f8e344d0f82e8e22d51d556393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae16ba99d0f6ff475cd5b0a1740ff03fee656f8e344d0f82e8e22d51d556393", kill_on_drop: false }` [INFO] [stdout] 9ae16ba99d0f6ff475cd5b0a1740ff03fee656f8e344d0f82e8e22d51d556393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06089ac87f7b0ff7940ba31d81fa6dfd4f6bf2b14a3fa8bbf6ece0cb2623580 [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" "a06089ac87f7b0ff7940ba31d81fa6dfd4f6bf2b14a3fa8bbf6ece0cb2623580", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking png v0.16.8 [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 rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking 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] 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] 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] [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] [stderr] error: could not compile `face-fronter` due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "a06089ac87f7b0ff7940ba31d81fa6dfd4f6bf2b14a3fa8bbf6ece0cb2623580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06089ac87f7b0ff7940ba31d81fa6dfd4f6bf2b14a3fa8bbf6ece0cb2623580", kill_on_drop: false }` [INFO] [stdout] a06089ac87f7b0ff7940ba31d81fa6dfd4f6bf2b14a3fa8bbf6ece0cb2623580