[INFO] updating cached repository https://github.com/alekspickle/mutex-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 723a93ab70f598247fe9e3540d6df36d1078f6bf [INFO] testing alekspickle/mutex-test against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekspickle%2Fmutex-test" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekspickle/mutex-test on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alekspickle/mutex-test [INFO] finished tweaking git repo https://github.com/alekspickle/mutex-test [INFO] tweaked toml for git repo https://github.com/alekspickle/mutex-test written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/alekspickle/mutex-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79d1db59d844e4a520fe46b28dd691dafde278bcd5f30c6eb4e4dd7137c52557 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79d1db59d844e4a520fe46b28dd691dafde278bcd5f30c6eb4e4dd7137c52557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79d1db59d844e4a520fe46b28dd691dafde278bcd5f30c6eb4e4dd7137c52557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d1db59d844e4a520fe46b28dd691dafde278bcd5f30c6eb4e4dd7137c52557", kill_on_drop: false }` [INFO] [stdout] 79d1db59d844e4a520fe46b28dd691dafde278bcd5f30c6eb4e4dd7137c52557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baae56924cd695d3ea79c5a249c1e992c703c094dafbc2b28ee36c032932c251 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "baae56924cd695d3ea79c5a249c1e992c703c094dafbc2b28ee36c032932c251", kill_on_drop: false }` [INFO] [stderr] Compiling mutex-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stdout] --> src/executor.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .spawn(move || loop { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | let message = self.listener.recv().expect("failed to receive a message"); [INFO] [stdout] 56 | | self.messages.push(message); [INFO] [stdout] 57 | | thread::sleep(Duration::from_millis(100)) [INFO] [stdout] 58 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 51:5... [INFO] [stdout] --> src/executor.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / pub fn start(&mut self) { [INFO] [stdout] 52 | | let handler = thread::Builder::new() [INFO] [stdout] 53 | | .name("executor".into()) [INFO] [stdout] 54 | | .spawn(move || loop { [INFO] [stdout] ... | [INFO] [stdout] 60 | | handler.join().unwrap() [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/executor.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .spawn(move || loop { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | let message = self.listener.recv().expect("failed to receive a message"); [INFO] [stdout] 56 | | self.messages.push(message); [INFO] [stdout] 57 | | thread::sleep(Duration::from_millis(100)) [INFO] [stdout] 58 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: expected `&mut executor::Executor` [INFO] [stdout] found `&mut executor::Executor` [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the type `[closure@src/executor.rs:54:20: 58:14 self:&mut executor::Executor]` will meet its required lifetime bounds [INFO] [stdout] --> src/executor.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | .spawn(move || loop { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mutex-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "baae56924cd695d3ea79c5a249c1e992c703c094dafbc2b28ee36c032932c251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baae56924cd695d3ea79c5a249c1e992c703c094dafbc2b28ee36c032932c251", kill_on_drop: false }` [INFO] [stdout] baae56924cd695d3ea79c5a249c1e992c703c094dafbc2b28ee36c032932c251