[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] building LatekVon/evolution-algo-1 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LatekVon/evolution-algo-1 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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 [ERROR] error running command: no output for 300 seconds [INFO] building LatekVon/evolution-algo-1 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LatekVon/evolution-algo-1 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.4 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eb6611e76bf65169052dfa8517e6446255cc1add064e26895ea5c17840b80d1 [INFO] running `Command { std: "docker" "start" "-a" "1eb6611e76bf65169052dfa8517e6446255cc1add064e26895ea5c17840b80d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eb6611e76bf65169052dfa8517e6446255cc1add064e26895ea5c17840b80d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb6611e76bf65169052dfa8517e6446255cc1add064e26895ea5c17840b80d1", kill_on_drop: false }` [INFO] [stdout] 1eb6611e76bf65169052dfa8517e6446255cc1add064e26895ea5c17840b80d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bff97bd8efe58eafa22ea6d3f5acdced08553a366d29a70c1382fcf62e593b0 [INFO] running `Command { std: "docker" "start" "-a" "5bff97bd8efe58eafa22ea6d3f5acdced08553a366d29a70c1382fcf62e593b0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [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 deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.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] 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 200 | (self.inp_mult.clone(), self.inp_off) [INFO] [stdout] | ++++++++ [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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 200 | (self.inp_mult, self.inp_off.clone()) [INFO] [stdout] | ++++++++ [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] 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: 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: 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] 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] 152 | loop { [INFO] [stdout] | ---- inside of this loop [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] note: consider changing this parameter type in method `from` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/ai_module.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from(t: Type, inp_off_in: Vec, inp_mult_in: Vec) -> Node { [INFO] [stdout] | ---- in this method ^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 152 ~ let mut value = ai_module::Node::from( [INFO] [stdout] 153 + match tmp_action { [INFO] [stdout] 154 + //coppied from impl Node [INFO] [stdout] 155 + 0 => ai_module::Type::Add, [INFO] [stdout] 156 + 1 => ai_module::Type::Mult, [INFO] [stdout] 157 + 2 => ai_module::Type::InvAdd, [INFO] [stdout] 158 + 3 => ai_module::Type::InvMult, [INFO] [stdout] 159 + 4 => ai_module::Type::Ifs, [INFO] [stdout] 160 + _ => { [INFO] [stdout] 161 + panic!("Unexpected number at node creation") [INFO] [stdout] 162 + } [INFO] [stdout] 163 + }, [INFO] [stdout] 164 + tmp_inp_off, [INFO] [stdout] 165 + tmp_inp_mult [INFO] [stdout] 166 + ); [INFO] [stdout] 167 ~ loop { [INFO] [stdout] 168 | [INFO] [stdout] ... [INFO] [stdout] 216 | //i send a setter to add new layer [INFO] [stdout] 217 ~ let new_node = value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 214 | tmp_inp_off.clone(), [INFO] [stdout] | ++++++++ [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] 152 | loop { [INFO] [stdout] | ---- inside of this loop [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] note: consider changing this parameter type in method `from` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/ai_module.rs:118:61 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from(t: Type, inp_off_in: Vec, inp_mult_in: Vec) -> Node { [INFO] [stdout] | ---- in this method ^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 152 ~ let mut value = ai_module::Node::from( [INFO] [stdout] 153 + match tmp_action { [INFO] [stdout] 154 + //coppied from impl Node [INFO] [stdout] 155 + 0 => ai_module::Type::Add, [INFO] [stdout] 156 + 1 => ai_module::Type::Mult, [INFO] [stdout] 157 + 2 => ai_module::Type::InvAdd, [INFO] [stdout] 158 + 3 => ai_module::Type::InvMult, [INFO] [stdout] 159 + 4 => ai_module::Type::Ifs, [INFO] [stdout] 160 + _ => { [INFO] [stdout] 161 + panic!("Unexpected number at node creation") [INFO] [stdout] 162 + } [INFO] [stdout] 163 + }, [INFO] [stdout] 164 + tmp_inp_off, [INFO] [stdout] 165 + tmp_inp_mult [INFO] [stdout] 166 + ); [INFO] [stdout] 167 ~ loop { [INFO] [stdout] 168 | [INFO] [stdout] ... [INFO] [stdout] 216 | //i send a setter to add new layer [INFO] [stdout] 217 ~ let new_node = value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 215 | tmp_inp_mult.clone() [INFO] [stdout] | ++++++++ [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] | -------- first assignment to `node_cnt` [INFO] [stdout] ... [INFO] [stdout] 220 | node_cnt += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] | [INFO] [stdout] help: consider making this binding mutable [INFO] [stdout] | [INFO] [stdout] 147 | let mut node_cnt: usize = 0; [INFO] [stdout] | +++ [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` (bin "face-fronter") due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5bff97bd8efe58eafa22ea6d3f5acdced08553a366d29a70c1382fcf62e593b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bff97bd8efe58eafa22ea6d3f5acdced08553a366d29a70c1382fcf62e593b0", kill_on_drop: false }` [INFO] [stdout] 5bff97bd8efe58eafa22ea6d3f5acdced08553a366d29a70c1382fcf62e593b0