[INFO] updating cached repository https://github.com/JosephTLyons/scheduler [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] deb39319fc8b5294e8a25d704cf76e1ebe64234e [INFO] testing JosephTLyons/scheduler against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fscheduler" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephTLyons/scheduler on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/JosephTLyons/scheduler already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 9ef02e849c746c9a23b5d2d90e2b0352a7a93b98e32cdadae51a6050133b7b42 [INFO] running `"docker" "start" "-a" "9ef02e849c746c9a23b5d2d90e2b0352a7a93b98e32cdadae51a6050133b7b42"` [INFO] [stderr] Compiling scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/scheduler/process_block.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::atomic::AtomicBool` [INFO] [stderr] --> src/scheduler/process_block.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::atomic::AtomicBool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `process_block::worker_functions` [INFO] [stderr] --> src/scheduler.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use process_block::worker_functions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stderr] --> src/scheduler/process_block.rs:37:56 [INFO] [stderr] | [INFO] [stderr] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 36:5... [INFO] [stderr] --> src/scheduler/process_block.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / pub fn launch(&mut self) { [INFO] [stderr] 37 | | self.thread_handle_option = Some(thread::spawn(move || self.func)); [INFO] [stderr] 38 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: ...so that the types are compatible: [INFO] [stderr] expected &mut scheduler::process_block::ProcessBlock [INFO] [stderr] found &mut scheduler::process_block::ProcessBlock [INFO] [stderr] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stderr] note: ...so that the type `[closure@src/scheduler/process_block.rs:37:56: 37:73 self:&mut scheduler::process_block::ProcessBlock]` will meet its required lifetime bounds [INFO] [stderr] --> src/scheduler/process_block.rs:37:42 [INFO] [stderr] | [INFO] [stderr] 37 | self.thread_handle_option = Some(thread::spawn(move || self.func)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `scheduler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9ef02e849c746c9a23b5d2d90e2b0352a7a93b98e32cdadae51a6050133b7b42"` [INFO] running `"docker" "rm" "-f" "9ef02e849c746c9a23b5d2d90e2b0352a7a93b98e32cdadae51a6050133b7b42"` [INFO] [stdout] 9ef02e849c746c9a23b5d2d90e2b0352a7a93b98e32cdadae51a6050133b7b42