[INFO] cloning repository https://github.com/Luke-Draper/MSTS-RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luke-Draper/MSTS-RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Draper%2FMSTS-RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Draper%2FMSTS-RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9d72b9b988a0718fc951715a684dd8595809648 [INFO] checking Luke-Draper/MSTS-RS/d9d72b9b988a0718fc951715a684dd8595809648 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Draper%2FMSTS-RS" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luke-Draper/MSTS-RS on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luke-Draper/MSTS-RS [INFO] finished tweaking git repo https://github.com/Luke-Draper/MSTS-RS [INFO] tweaked toml for git repo https://github.com/Luke-Draper/MSTS-RS written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luke-Draper/MSTS-RS 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.20 [INFO] [stderr] Downloaded ident_case v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.23 [INFO] [stderr] Downloaded darling_macro v0.8.0 [INFO] [stderr] Downloaded darling v0.8.0 [INFO] [stderr] Downloaded derive_builder_core v0.4.0 [INFO] [stderr] Downloaded darling_core v0.8.0 [INFO] [stderr] Downloaded derive_builder v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec3e4ca8baecfd9e9e1b9b2c331f18de33db85332db78350e13b3945c810960 [INFO] running `Command { std: "docker" "start" "-a" "0ec3e4ca8baecfd9e9e1b9b2c331f18de33db85332db78350e13b3945c810960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec3e4ca8baecfd9e9e1b9b2c331f18de33db85332db78350e13b3945c810960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec3e4ca8baecfd9e9e1b9b2c331f18de33db85332db78350e13b3945c810960", kill_on_drop: false }` [INFO] [stdout] 0ec3e4ca8baecfd9e9e1b9b2c331f18de33db85332db78350e13b3945c810960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5954020ef77dc88eb35cf00488423d0fda3055703edd1b898d9c3b4930f44010 [INFO] running `Command { std: "docker" "start" "-a" "5954020ef77dc88eb35cf00488423d0fda3055703edd1b898d9c3b4930f44010", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.23 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling derive_builder v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.20 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Compiling darling_core v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling darling_macro v0.8.0 [INFO] [stderr] Compiling darling v0.8.0 [INFO] [stderr] Compiling derive_builder_core v0.4.0 [INFO] [stderr] Checking msts_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/tasks.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | return Some(); [INFO] [stdout] | ^^^^-- argument #1 of type `Vec<&dyn Task<'_>>` is missing [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 106 | return Some(/* Vec<&dyn Task<'_>> */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/tasks.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | return Some(); [INFO] [stdout] | ^^^^-- argument #1 of type `Vec<&dyn Task<'_>>` is missing [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 106 | return Some(/* Vec<&dyn Task<'_>> */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 124 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 124 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 126 | | } else { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 126 | | } else { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.escaped_string` which is behind a shared reference [INFO] [stdout] --> src/tasks.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | return self.escaped_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.escaped_string` has type `std::string::String`, 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] 51 | return self.escaped_string.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.escaped_string` which is behind a shared reference [INFO] [stdout] --> src/tasks.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | return self.escaped_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.escaped_string` has type `std::string::String`, 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] 51 | return self.escaped_string.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.escaped_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | self.escaped_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 52 | } [INFO] [stdout] 53 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.escaped_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | self.escaped_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 52 | } [INFO] [stdout] 53 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.accessor_string` which is behind a shared reference [INFO] [stdout] --> src/tasks.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | return get_value_from_accessor_string(self.accessor_string, run_vars).to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self.accessor_string` has type `std::string::String`, 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] 76 | return get_value_from_accessor_string(self.accessor_string.clone(), run_vars).to_string(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.accessor_string` which is behind a shared reference [INFO] [stdout] --> src/tasks.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | return get_value_from_accessor_string(self.accessor_string, run_vars).to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self.accessor_string` has type `std::string::String`, 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] 76 | return get_value_from_accessor_string(self.accessor_string.clone(), run_vars).to_string(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.accessor_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.accessor_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 77 | } [INFO] [stdout] 78 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.accessor_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.accessor_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 77 | } [INFO] [stdout] 78 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.sub_tasks`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | self.sub_tasks = in_sub_tasks; [INFO] [stdout] | ^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 34 ~ fn set_sub_tasks(&mut self, in_sub_tasks: Vec<&'a Task<'a>>) {} [INFO] [stdout] 35 | // .replace(format!("{}{}",TASK_PROXY_DELIM,proxy),replacement); [INFO] [stdout] ... [INFO] [stdout] 90 | impl<'a> Task<'a> for ForEachTask<'a> { [INFO] [stdout] 91 ~ fn set_sub_tasks(&mut self, in_sub_tasks: Vec<&'a Task<'a>>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.sub_tasks`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | self.sub_tasks = in_sub_tasks; [INFO] [stdout] | ^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 34 ~ fn set_sub_tasks(&mut self, in_sub_tasks: Vec<&'a Task<'a>>) {} [INFO] [stdout] 35 | // .replace(format!("{}{}",TASK_PROXY_DELIM,proxy),replacement); [INFO] [stdout] ... [INFO] [stdout] 90 | impl<'a> Task<'a> for ForEachTask<'a> { [INFO] [stdout] 91 ~ fn set_sub_tasks(&mut self, in_sub_tasks: Vec<&'a Task<'a>>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.array_accessor_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | self.array_accessor_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.array_accessor_string`, which is behind a `&` reference [INFO] [stdout] --> src/tasks.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | self.array_accessor_string = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference in the `impl` method and the `trait` definition [INFO] [stdout] | [INFO] [stdout] 36 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String); [INFO] [stdout] 37 | } [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ fn replace_proxy_in_task(&mut self, proxy: String, replacement: String) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `proxy` [INFO] [stdout] --> src/tasks.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn replace_proxy_in_task(&self, proxy: String, replacement: String) { [INFO] [stdout] | ----- move occurs because `proxy` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 101 | for sub in &self.sub_tasks { [INFO] [stdout] | -------------------------- inside of this loop [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] | ^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `replace_proxy_in_task` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/tasks.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn replace_proxy_in_task(&self, proxy: String, replacement: String); [INFO] [stdout] | --------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 101 ~ let mut value = sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] 102 ~ for sub in &self.sub_tasks { [INFO] [stdout] 103 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy.clone(), replacement); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `proxy` [INFO] [stdout] --> src/tasks.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn replace_proxy_in_task(&self, proxy: String, replacement: String) { [INFO] [stdout] | ----- move occurs because `proxy` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 101 | for sub in &self.sub_tasks { [INFO] [stdout] | -------------------------- inside of this loop [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] | ^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `replace_proxy_in_task` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/tasks.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn replace_proxy_in_task(&self, proxy: String, replacement: String); [INFO] [stdout] | --------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 101 ~ let mut value = sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] 102 ~ for sub in &self.sub_tasks { [INFO] [stdout] 103 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy.clone(), replacement); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `replacement` [INFO] [stdout] --> src/tasks.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn replace_proxy_in_task(&self, proxy: String, replacement: String) { [INFO] [stdout] | ----------- move occurs because `replacement` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 101 | for sub in &self.sub_tasks { [INFO] [stdout] | -------------------------- inside of this loop [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] | ^^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `replace_proxy_in_task` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/tasks.rs:36:62 [INFO] [stdout] | [INFO] [stdout] 36 | fn replace_proxy_in_task(&self, proxy: String, replacement: String); [INFO] [stdout] | --------------------- in this function ^^^^^^ 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] 101 ~ let mut value = sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] 102 ~ for sub in &self.sub_tasks { [INFO] [stdout] 103 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `replacement` [INFO] [stdout] --> src/tasks.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn replace_proxy_in_task(&self, proxy: String, replacement: String) { [INFO] [stdout] | ----------- move occurs because `replacement` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 101 | for sub in &self.sub_tasks { [INFO] [stdout] | -------------------------- inside of this loop [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] | ^^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `replace_proxy_in_task` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/tasks.rs:36:62 [INFO] [stdout] | [INFO] [stdout] 36 | fn replace_proxy_in_task(&self, proxy: String, replacement: String); [INFO] [stdout] | --------------------- in this function ^^^^^^ 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] 101 ~ let mut value = sub.replace_proxy_in_task(proxy, replacement); [INFO] [stdout] 102 ~ for sub in &self.sub_tasks { [INFO] [stdout] 103 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 102 | sub.replace_proxy_in_task(proxy, replacement.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Value` [INFO] [stdout] --> src/tasks.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | output = output[index]; [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because value has type `Value`, 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] 150 | output = output[index].clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Value` [INFO] [stdout] --> src/tasks.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | output = output[index]; [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because value has type `Value`, 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] 150 | output = output[index].clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Value` [INFO] [stdout] --> src/tasks.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | output = output[variable]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because value has type `Value`, 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] 152 | output = output[variable].clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Value` [INFO] [stdout] --> src/tasks.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | output = output[variable]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because value has type `Value`, 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] 152 | output = output[variable].clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/template_parser.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 206 | template_string_edit_4.push(&format!("{}{}{}", TASK_ESCAPE, TASK_INTERNAL_DELIM, input)); [INFO] [stdout] | ---------------------------------------------------------- temporary value created here [INFO] [stdout] ... [INFO] [stdout] 209 | return template_string_edit_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/template_parser.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 206 | template_string_edit_4.push(&format!("{}{}{}", TASK_ESCAPE, TASK_INTERNAL_DELIM, input)); [INFO] [stdout] | ---------------------------------------------------------- temporary value created here [INFO] [stdout] ... [INFO] [stdout] 209 | return template_string_edit_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/template_parser.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 201 | &input [INFO] [stdout] | __________________- [INFO] [stdout] 202 | | .replace(TASK_OPEN_DELIM, &"") [INFO] [stdout] 203 | | .replace(TASK_CLOSE_DELIM, &""), [INFO] [stdout] | |___________________________________________________- temporary value created here [INFO] [stdout] ... [INFO] [stdout] 209 | return template_string_edit_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/template_parser.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 201 | &input [INFO] [stdout] | __________________- [INFO] [stdout] 202 | | .replace(TASK_OPEN_DELIM, &"") [INFO] [stdout] 203 | | .replace(TASK_CLOSE_DELIM, &""), [INFO] [stdout] | |___________________________________________________- temporary value created here [INFO] [stdout] ... [INFO] [stdout] 209 | return template_string_edit_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0382, E0507, E0515, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0382, E0507, E0515, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `msts_rs` (bin "msts_rs") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `msts_rs` (bin "msts_rs" test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "5954020ef77dc88eb35cf00488423d0fda3055703edd1b898d9c3b4930f44010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5954020ef77dc88eb35cf00488423d0fda3055703edd1b898d9c3b4930f44010", kill_on_drop: false }` [INFO] [stdout] 5954020ef77dc88eb35cf00488423d0fda3055703edd1b898d9c3b4930f44010