[INFO] fetching crate maybe-owned-trait 0.2.1... [INFO] checking maybe-owned-trait-0.2.1 against bd72bf234a6bb5da5aa1550a318f391e3fbad54f for pr-161319 [INFO] extracting crate maybe-owned-trait 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate maybe-owned-trait 0.2.1 [INFO] finished tweaking crates.io crate maybe-owned-trait 0.2.1 [INFO] tweaked toml for crates.io crate maybe-owned-trait 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate maybe-owned-trait 0.2.1 on toolchain bd72bf234a6bb5da5aa1550a318f391e3fbad54f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd72bf234a6bb5da5aa1550a318f391e3fbad54f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd72bf234a6bb5da5aa1550a318f391e3fbad54f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to highest compatible versions [INFO] [stderr] Adding rand v0.8.8 (available: v0.10.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd72bf234a6bb5da5aa1550a318f391e3fbad54f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97 [INFO] running `Command { std: "docker" "start" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97" "/opt/rustwide/cargo-home/bin/cargo" "+bd72bf234a6bb5da5aa1550a318f391e3fbad54f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97" "/opt/rustwide/cargo-home/bin/cargo" "+bd72bf234a6bb5da5aa1550a318f391e3fbad54f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling zerocopy v0.8.57 [INFO] [stderr] Checking maybe-owned-trait v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.8 [INFO] [stdout] error[E0311]: the parameter type `impl for<'a> MaybeOwned = &'a Path>` may not live long enough [INFO] [stdout] --> src/lib.rs:161:65 [INFO] [stdout] | [INFO] [stdout] 161 | fn my_fn(path: impl for<'a> MaybeOwned = &'a Path>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `impl for<'a> MaybeOwned = &'a Path>` must be valid for lifetime `'a`... [INFO] [stdout] | ...so that the type `impl for<'a> MaybeOwned = &'a Path>` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `impl for<'a> MaybeOwned = &'a Path>: 'a`... [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maybe-owned-trait` (lib test) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0311`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97", kill_on_drop: false }` [INFO] [stdout] 5e395d09c723d9720b73f632481424c8239efd3fa8cf71b97509077e18512f97