[INFO] cloning repository https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLIParadise%2Fsample-rust-lifetime-problem-around-traits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLIParadise%2Fsample-rust-lifetime-problem-around-traits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79dd098a1733b4eed997f616d4f516d48b0a569c [INFO] checking LIParadise/sample-rust-lifetime-problem-around-traits against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLIParadise%2Fsample-rust-lifetime-problem-around-traits" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits [INFO] finished tweaking git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits [INFO] tweaked toml for git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking LIParadise/sample-rust-lifetime-problem-around-traits against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLIParadise%2Fsample-rust-lifetime-problem-around-traits" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits [INFO] finished tweaking git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits [INFO] tweaked toml for git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LIParadise/sample-rust-lifetime-problem-around-traits 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58e6c789cf16f86fcf4ce5d007d4803b678e0bf8932687cccb5cf6d75509a3f [INFO] running `Command { std: "docker" "start" "-a" "c58e6c789cf16f86fcf4ce5d007d4803b678e0bf8932687cccb5cf6d75509a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58e6c789cf16f86fcf4ce5d007d4803b678e0bf8932687cccb5cf6d75509a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58e6c789cf16f86fcf4ce5d007d4803b678e0bf8932687cccb5cf6d75509a3f", kill_on_drop: false }` [INFO] [stdout] c58e6c789cf16f86fcf4ce5d007d4803b678e0bf8932687cccb5cf6d75509a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29aff7e131dd2bc97992c3cb42d016df53698b45977bf0c324401158735e4cc7 [INFO] running `Command { std: "docker" "start" "-a" "29aff7e131dd2bc97992c3cb42d016df53698b45977bf0c324401158735e4cc7", kill_on_drop: false }` [INFO] [stderr] Checking lifetime_wut_ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prob_b1.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `prob_b1::Reader<'reader>` [INFO] [stdout] found trait `prob_b1::Reader<'book>` [INFO] [stdout] note: the lifetime `'reader` as defined here... [INFO] [stdout] --> src/prob_b1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'book` as defined here [INFO] [stdout] --> src/prob_b1.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prob_b1.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `prob_b1::Reader<'reader>` [INFO] [stdout] found trait `prob_b1::Reader<'book>` [INFO] [stdout] note: the lifetime `'reader` as defined here... [INFO] [stdout] --> src/prob_b1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'book` as defined here [INFO] [stdout] --> src/prob_b1.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prob_b1.rs:30:70 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(readers: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `prob_b1::Reader<'reader>` [INFO] [stdout] found trait `prob_b1::Reader<'book>` [INFO] [stdout] note: the lifetime `'reader` as defined here... [INFO] [stdout] --> src/prob_b1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'book` as defined here [INFO] [stdout] --> src/prob_b1.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prob_b1.rs:30:70 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(readers: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `prob_b1::Reader<'reader>` [INFO] [stdout] found trait `prob_b1::Reader<'book>` [INFO] [stdout] note: the lifetime `'reader` as defined here... [INFO] [stdout] --> src/prob_b1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'book` as defined here [INFO] [stdout] --> src/prob_b1.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/prob_b1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ----- ------- lifetime `'reader` defined here [INFO] [stdout] | | [INFO] [stdout] | lifetime `'book` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | / Self { [INFO] [stdout] 32 | | readers: Vec::from_iter(readers), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ requires that `'reader` must outlive `'book` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'reader: 'book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/prob_b1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'book, 'reader, R: Reader<'book> + 'book> Library<'reader, R> [INFO] [stdout] | ----- ------- lifetime `'reader` defined here [INFO] [stdout] | | [INFO] [stdout] | lifetime `'book` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | / Self { [INFO] [stdout] 32 | | readers: Vec::from_iter(readers), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ requires that `'reader` must outlive `'book` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'reader: 'book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lifetime_wut_` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lifetime_wut_` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "29aff7e131dd2bc97992c3cb42d016df53698b45977bf0c324401158735e4cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29aff7e131dd2bc97992c3cb42d016df53698b45977bf0c324401158735e4cc7", kill_on_drop: false }` [INFO] [stdout] 29aff7e131dd2bc97992c3cb42d016df53698b45977bf0c324401158735e4cc7