[INFO] cloning 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" "clone" "--bare" "https://github.com/alekspickle/mutex-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekspickle%2Fmutex-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekspickle%2Fmutex-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 723a93ab70f598247fe9e3540d6df36d1078f6bf [INFO] testing alekspickle/mutex-test against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekspickle%2Fmutex-test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [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 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e23b2d6131a6103d02d06c3ae076654314557479481709e85f1add5dbe627d95 [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" "e23b2d6131a6103d02d06c3ae076654314557479481709e85f1add5dbe627d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23b2d6131a6103d02d06c3ae076654314557479481709e85f1add5dbe627d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23b2d6131a6103d02d06c3ae076654314557479481709e85f1add5dbe627d95", kill_on_drop: false }` [INFO] [stdout] e23b2d6131a6103d02d06c3ae076654314557479481709e85f1add5dbe627d95 [INFO] running `Command { std: "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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6d5f1756136a4fe4f284853a4549039282052ccdc45871e846430f057de953 [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" "5b6d5f1756136a4fe4f284853a4549039282052ccdc45871e846430f057de953", 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" "5b6d5f1756136a4fe4f284853a4549039282052ccdc45871e846430f057de953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6d5f1756136a4fe4f284853a4549039282052ccdc45871e846430f057de953", kill_on_drop: false }` [INFO] [stdout] 5b6d5f1756136a4fe4f284853a4549039282052ccdc45871e846430f057de953