[INFO] cloning repository https://github.com/pigfox/rust-lifetime-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pigfox/rust-lifetime-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-lifetime-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-lifetime-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e22cbc5ee7204cd21e4841f9f24864c653870250
[INFO] checking pigfox/rust-lifetime-lab against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-lifetime-lab" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pigfox/rust-lifetime-lab
[INFO] finished tweaking git repo https://github.com/pigfox/rust-lifetime-lab
[INFO] tweaked toml for git repo https://github.com/pigfox/rust-lifetime-lab written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pigfox/rust-lifetime-lab on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pigfox/rust-lifetime-lab 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee
[INFO] running `Command { std: "docker" "start" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee", 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" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking lifetime-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stdout] error[E0515]: cannot return reference to local variable `s`
[INFO] [stdout]   --> src/bin/return_local.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     &s
[INFO] [stdout]    |     ^^ returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to local variable `s`
[INFO] [stdout]   --> src/bin/return_local.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     &s
[INFO] [stdout]    |     ^^ returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn dangle() -> &String {
[INFO] [stdout]    |                ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn dangle() -> &'static String {
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]    |
[INFO] [stdout] 16 - fn dangle() -> &String {
[INFO] [stdout] 16 + fn dangle() -> String {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lifetime-lab` (bin "return_local") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lifetime-lab` (bin "return_local" test) due to 1 previous error
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/bin/outlives.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let x = 5;
[INFO] [stdout]    |             - binding `x` declared here
[INFO] [stdout] 17 |         r = &x;
[INFO] [stdout]    |             ^^ borrowed value does not live long enough
[INFO] [stdout] 18 |     }
[INFO] [stdout]    |     - `x` dropped here while still borrowed
[INFO] [stdout] 19 |     println!("{r}");
[INFO] [stdout]    |                - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn dangle() -> &String {
[INFO] [stdout]    |                ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn dangle() -> &'static String {
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]    |
[INFO] [stdout] 16 - fn dangle() -> &String {
[INFO] [stdout] 16 + fn dangle() -> String {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lifetime-lab` (bin "outlives" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lifetime-lab` (bin "main") due to 1 previous error
[INFO] [stderr] error: could not compile `lifetime-lab` (bin "main" test) due to 1 previous error
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/bin/outlives.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let x = 5;
[INFO] [stdout]    |             - binding `x` declared here
[INFO] [stdout] 17 |         r = &x;
[INFO] [stdout]    |             ^^ borrowed value does not live long enough
[INFO] [stdout] 18 |     }
[INFO] [stdout]    |     - `x` dropped here while still borrowed
[INFO] [stdout] 19 |     println!("{r}");
[INFO] [stdout]    |                - borrow later used here
[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-lab` (bin "outlives") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee", kill_on_drop: false }`
[INFO] [stdout] 96126c696230417664119247f2d3b493b2b0eab2a37099d6400b85ff5bb7ffee
