[INFO] cloning repository https://github.com/JosephTLyons/scheduler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephTLyons/scheduler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fscheduler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fscheduler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] deb39319fc8b5294e8a25d704cf76e1ebe64234e [INFO] checking JosephTLyons/scheduler against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fscheduler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/scheduler on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JosephTLyons/scheduler [INFO] finished tweaking git repo https://github.com/JosephTLyons/scheduler [INFO] tweaked toml for git repo https://github.com/JosephTLyons/scheduler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JosephTLyons/scheduler 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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] checking JosephTLyons/scheduler against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fscheduler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/scheduler on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JosephTLyons/scheduler [INFO] finished tweaking git repo https://github.com/JosephTLyons/scheduler [INFO] tweaked toml for git repo https://github.com/JosephTLyons/scheduler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JosephTLyons/scheduler 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9909f876f8699ee311e6514be95c522d78b4ffd6f604b4db9f82f012553497aa [INFO] running `Command { std: "docker" "start" "-a" "9909f876f8699ee311e6514be95c522d78b4ffd6f604b4db9f82f012553497aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9909f876f8699ee311e6514be95c522d78b4ffd6f604b4db9f82f012553497aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9909f876f8699ee311e6514be95c522d78b4ffd6f604b4db9f82f012553497aa", kill_on_drop: false }` [INFO] [stdout] 9909f876f8699ee311e6514be95c522d78b4ffd6f604b4db9f82f012553497aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ac67947a4a80527156394065f8a88fe9648976655e87a865f0587fba5e37461 [INFO] running `Command { std: "docker" "start" "-a" "2ac67947a4a80527156394065f8a88fe9648976655e87a865f0587fba5e37461", kill_on_drop: false }` [INFO] [stderr] Checking scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scheduler/process_block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicBool` [INFO] [stdout] --> src/scheduler/process_block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::AtomicBool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/scheduler/process_block.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | thread_handle_option: Option>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - thread_handle_option: Option>, [INFO] [stdout] 20 + thread_handle_option: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scheduler/process_block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_block::worker_functions` [INFO] [stdout] --> src/scheduler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use process_block::worker_functions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicBool` [INFO] [stdout] --> src/scheduler/process_block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::AtomicBool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/scheduler/process_block.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | thread_handle_option: Option>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - thread_handle_option: Option>, [INFO] [stdout] 20 + thread_handle_option: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_block::worker_functions` [INFO] [stdout] --> src/scheduler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use process_block::worker_functions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/scheduler/process_block.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn launch(&mut self) { [INFO] [stdout] | --------- move occurs because `self` has type `&mut ProcessBlock`, which does not implement the `Copy` trait [INFO] [stdout] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------- --------- variable moved due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | value moved into closure here [INFO] [stdout] | value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/scheduler/process_block.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn launch(&mut self) { [INFO] [stdout] | --------- move occurs because `self` has type `&mut ProcessBlock`, which does not implement the `Copy` trait [INFO] [stdout] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------- --------- variable moved due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | value moved into closure here [INFO] [stdout] | value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/scheduler/process_block.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn launch(&mut self) { [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] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [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/scheduler/process_block.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn launch(&mut self) { [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] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [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[E0502]: cannot borrow `self.process_table` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/scheduler.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | || [INFO] [stdout] | | |immutable borrow occurs here [INFO] [stdout] | | mutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/scheduler.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/scheduler.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.process_table` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/scheduler.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | || [INFO] [stdout] | | |immutable borrow occurs here [INFO] [stdout] | | mutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/scheduler.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/scheduler.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | self.process_table[self.process_table.len() - 1].launch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0502, 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, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scheduler` (bin "scheduler") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scheduler` (bin "scheduler" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ac67947a4a80527156394065f8a88fe9648976655e87a865f0587fba5e37461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac67947a4a80527156394065f8a88fe9648976655e87a865f0587fba5e37461", kill_on_drop: false }` [INFO] [stdout] 2ac67947a4a80527156394065f8a88fe9648976655e87a865f0587fba5e37461