[INFO] cloning repository https://github.com/sammeboy635/RustTemplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammeboy635/RustTemplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammeboy635%2FRustTemplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammeboy635%2FRustTemplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e390413451d0e40f7ffe1c3aad13a4bbd10f054 [INFO] checking sammeboy635/RustTemplate against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammeboy635%2FRustTemplate" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sammeboy635/RustTemplate [INFO] finished tweaking git repo https://github.com/sammeboy635/RustTemplate [INFO] tweaked toml for git repo https://github.com/sammeboy635/RustTemplate written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sammeboy635/RustTemplate on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sammeboy635/RustTemplate 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e109c4885d5bc17852b4e21806b2d62db80dc463390041b2a15453774a3d95 [INFO] running `Command { std: "docker" "start" "-a" "25e109c4885d5bc17852b4e21806b2d62db80dc463390041b2a15453774a3d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e109c4885d5bc17852b4e21806b2d62db80dc463390041b2a15453774a3d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e109c4885d5bc17852b4e21806b2d62db80dc463390041b2a15453774a3d95", kill_on_drop: false }` [INFO] [stdout] 25e109c4885d5bc17852b4e21806b2d62db80dc463390041b2a15453774a3d95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88376b40855e83d9c8a95103792111e03cfaca138e0c5279323d3d61cd659201 [INFO] running `Command { std: "docker" "start" "-a" "88376b40855e83d9c8a95103792111e03cfaca138e0c5279323d3d61cd659201", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: method `is_keyword` is never used [INFO] [stdout] --> engine/src/lexer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 13 | fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling libs v0.1.0 (/opt/rustwide/workdir/libs) [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> libs/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::Data` [INFO] [stdout] --> libs/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::Data; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ECS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start(&mut self, fun: F) [INFO] [stdout] | --------- move occurs because `self` has type `&mut Timer`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 36 | self.handle = Some(thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^ ------- value moved into closure here [INFO] [stdout] | | [INFO] [stdout] | value used here after move [INFO] [stdout] 37 | let mut fun = fun; [INFO] [stdout] 38 | while alive.load(Ordering::SeqCst) { [INFO] [stdout] | ---------------------------------- inside of this loop [INFO] [stdout] 39 | fun(); [INFO] [stdout] 40 | thread::sleep(self.duration.clone()); [INFO] [stdout] | ------------- variable moved due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 38 ~ let mut value = self.duration.clone(); [INFO] [stdout] 39 ~ while alive.load(Ordering::SeqCst) { [INFO] [stdout] 40 | fun(); [INFO] [stdout] 41 ~ thread::sleep(value); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start(&mut self, fun: F) [INFO] [stdout] | --------- move occurs because `self` has type `&mut Timer`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 36 | self.handle = Some(thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^ ------- value moved into closure here [INFO] [stdout] | | [INFO] [stdout] | value used here after move [INFO] [stdout] 37 | let mut fun = fun; [INFO] [stdout] 38 | while alive.load(Ordering::SeqCst) { [INFO] [stdout] | ---------------------------------- inside of this loop [INFO] [stdout] 39 | fun(); [INFO] [stdout] 40 | thread::sleep(self.duration.clone()); [INFO] [stdout] | ------------- variable moved due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 38 ~ let mut value = self.duration.clone(); [INFO] [stdout] 39 ~ while alive.load(Ordering::SeqCst) { [INFO] [stdout] 40 | fun(); [INFO] [stdout] 41 ~ thread::sleep(value); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start(&mut self, fun: F) [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 36 | self.handle = Some(thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 37 | | let mut fun = fun; [INFO] [stdout] 38 | | while alive.load(Ordering::SeqCst) { [INFO] [stdout] 39 | | fun(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start(&mut self, fun: F) [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 36 | self.handle = Some(thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 37 | | let mut fun = fun; [INFO] [stdout] 38 | | while alive.load(Ordering::SeqCst) { [INFO] [stdout] 39 | | fun(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ECS` (bin "ECS" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ECS` (bin "ECS") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "88376b40855e83d9c8a95103792111e03cfaca138e0c5279323d3d61cd659201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88376b40855e83d9c8a95103792111e03cfaca138e0c5279323d3d61cd659201", kill_on_drop: false }` [INFO] [stdout] 88376b40855e83d9c8a95103792111e03cfaca138e0c5279323d3d61cd659201