[INFO] fetching crate clhlock 0.2.2... [INFO] checking clhlock-0.2.2 against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] extracting crate clhlock 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate clhlock 0.2.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate clhlock 0.2.2 [INFO] tweaked toml for crates.io crate clhlock 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clhlock 0.2.2 on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clhlock 0.2.2 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" "+149edce6c6ee840adb602803b96d083101ef3592" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc0436df8ff4a5893d4bb9930f5ed92ba8a09baf3d4e74e04ee0aaeeb3912900 [INFO] running `Command { std: "docker" "start" "-a" "dc0436df8ff4a5893d4bb9930f5ed92ba8a09baf3d4e74e04ee0aaeeb3912900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc0436df8ff4a5893d4bb9930f5ed92ba8a09baf3d4e74e04ee0aaeeb3912900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0436df8ff4a5893d4bb9930f5ed92ba8a09baf3d4e74e04ee0aaeeb3912900", kill_on_drop: false }` [INFO] [stdout] dc0436df8ff4a5893d4bb9930f5ed92ba8a09baf3d4e74e04ee0aaeeb3912900 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c22713ae72998eac9b98c562d11f226060cfdb464257173cdd9d74956ff20128 [INFO] running `Command { std: "docker" "start" "-a" "c22713ae72998eac9b98c562d11f226060cfdb464257173cdd9d74956ff20128", kill_on_drop: false }` [INFO] [stderr] Checking clhlock v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | F: FnOnce(MutexGuard<'_, T, R>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0311`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clhlock` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c22713ae72998eac9b98c562d11f226060cfdb464257173cdd9d74956ff20128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22713ae72998eac9b98c562d11f226060cfdb464257173cdd9d74956ff20128", kill_on_drop: false }` [INFO] [stdout] c22713ae72998eac9b98c562d11f226060cfdb464257173cdd9d74956ff20128