[INFO] cloning repository https://github.com/peter-kehl/lifetime-sideffect-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peter-kehl/lifetime-sideffect-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-kehl%2Flifetime-sideffect-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-kehl%2Flifetime-sideffect-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0951ee558d98c55de235a56017d2bd667473d707 [INFO] checking peter-kehl/lifetime-sideffect-rs against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter-kehl%2Flifetime-sideffect-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peter-kehl/lifetime-sideffect-rs [INFO] finished tweaking git repo https://github.com/peter-kehl/lifetime-sideffect-rs [INFO] tweaked toml for git repo https://github.com/peter-kehl/lifetime-sideffect-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peter-kehl/lifetime-sideffect-rs on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peter-kehl/lifetime-sideffect-rs 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23641e065954625239905bb4bd3744d63f9a786737f30c3fda8dd01d083e7828 [INFO] running `Command { std: "docker" "start" "-a" "23641e065954625239905bb4bd3744d63f9a786737f30c3fda8dd01d083e7828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23641e065954625239905bb4bd3744d63f9a786737f30c3fda8dd01d083e7828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23641e065954625239905bb4bd3744d63f9a786737f30c3fda8dd01d083e7828", kill_on_drop: false }` [INFO] [stdout] 23641e065954625239905bb4bd3744d63f9a786737f30c3fda8dd01d083e7828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f89d1bbca6d923166f8c82b9b4b987ff999e98d94ca0c9c6671fa7a32380bf5 [INFO] running `Command { std: "docker" "start" "-a" "6f89d1bbca6d923166f8c82b9b4b987ff999e98d94ca0c9c6671fa7a32380bf5", kill_on_drop: false }` [INFO] [stderr] Checking lifetime-sideffect-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `own_items` does not live long enough [INFO] [stdout] --> src/lib.rs:29:75 [INFO] [stdout] | [INFO] [stdout] 22 | 'out, [INFO] [stdout] | ---- lifetime `'out` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | own_items: Vec, [INFO] [stdout] | --------- binding `own_items` declared here [INFO] [stdout] 28 | ) { [INFO] [stdout] 29 | called_with_collection::<'_, '_, OwnType, OutType, OutCollectionType>(&own_items); [INFO] [stdout] | ----------------------------------------------------------------------^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `own_items` is borrowed for `'out` [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] | - `own_items` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error[E0597]: `own_items` does not live long enough [INFO] [stdout] --> src/lib.rs:29:75 [INFO] [stdout] | [INFO] [stdout] 22 | 'out, [INFO] [stdout] | ---- lifetime `'out` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | own_items: Vec, [INFO] [stdout] | --------- binding `own_items` declared here [INFO] [stdout] 28 | ) { [INFO] [stdout] 29 | called_with_collection::<'_, '_, OwnType, OutType, OutCollectionType>(&own_items); [INFO] [stdout] | ----------------------------------------------------------------------^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `own_items` is borrowed for `'out` [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] | - `own_items` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lifetime-sideffect-rs` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lifetime-sideffect-rs` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6f89d1bbca6d923166f8c82b9b4b987ff999e98d94ca0c9c6671fa7a32380bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f89d1bbca6d923166f8c82b9b4b987ff999e98d94ca0c9c6671fa7a32380bf5", kill_on_drop: false }` [INFO] [stdout] 6f89d1bbca6d923166f8c82b9b4b987ff999e98d94ca0c9c6671fa7a32380bf5