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