[INFO] cloning repository https://github.com/freezetheflame/rust-lifetime
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freezetheflame/rust-lifetime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreezetheflame%2Frust-lifetime", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreezetheflame%2Frust-lifetime'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e922bcd0943ff8c754c5e05e1f2a9fb9d30592a1
[INFO] testing freezetheflame/rust-lifetime against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreezetheflame%2Frust-lifetime" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/freezetheflame/rust-lifetime
[INFO] finished tweaking git repo https://github.com/freezetheflame/rust-lifetime
[INFO] tweaked toml for git repo https://github.com/freezetheflame/rust-lifetime written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/freezetheflame/rust-lifetime on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/freezetheflame/rust-lifetime 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded require_lifetimes v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153
[INFO] running `Command { std: "docker" "start" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153", 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" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling soln07 v0.1.0 (/opt/rustwide/workdir/exercises/07_special_lifetimes/solutions)
[INFO] [stderr]    Compiling ex07 v0.1.0 (/opt/rustwide/workdir/exercises/07_special_lifetimes/exercise)
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling require_lifetimes v0.3.0
[INFO] [stderr]    Compiling soln02 v0.1.0 (/opt/rustwide/workdir/exercises/02_lifetimes_explained/solutions)
[INFO] [stderr]    Compiling soln03 v0.1.0 (/opt/rustwide/workdir/exercises/03_lifetime_elision/solutions)
[INFO] [stderr]    Compiling soln08 v0.1.0 (/opt/rustwide/workdir/exercises/08_finale/solutions)
[INFO] [stderr]    Compiling soln05 v0.1.0 (/opt/rustwide/workdir/exercises/05_lifetimes_on_types/solutions)
[INFO] [stderr]    Compiling ex03 v0.1.0 (/opt/rustwide/workdir/exercises/03_lifetime_elision/exercise)
[INFO] [stderr]    Compiling ex04 v0.1.0 (/opt/rustwide/workdir/exercises/04_mutable_references_and_containers/exercise)
[INFO] [stderr]    Compiling ex05 v0.1.0 (/opt/rustwide/workdir/exercises/05_lifetimes_on_types/exercise)
[INFO] [stderr]    Compiling ex02 v0.1.0 (/opt/rustwide/workdir/exercises/02_lifetimes_explained/exercise)
[INFO] [stderr]    Compiling ex08 v0.1.0 (/opt/rustwide/workdir/exercises/08_finale/exercise)
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> exercises/05_lifetimes_on_types/exercise/src/lib.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     first_only: Vec<&str>,
[INFO] [stdout]   |                     ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ pub struct Difference<'a> {
[INFO] [stdout] 5 ~     first_only: Vec<&'a str>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> exercises/05_lifetimes_on_types/exercise/src/lib.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     second_only: Vec<&str>,
[INFO] [stdout]   |                      ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ pub struct Difference<'a> {
[INFO] [stdout] 5 |     first_only: Vec<&str>,
[INFO] [stdout] 6 ~     second_only: Vec<&'a str>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ex05` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: In this function, all references must be annotated with a lifetime.
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new(text: &str) -> Option<Matcher> {
[INFO] [stdout]    |                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: In this function, all references must be annotated with a lifetime.
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn match_string(&mut self, string: &str) -> Vec<(&MatcherToken, &str)> {
[INFO] [stdout]    |                                        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: In this function, all references must be annotated with a lifetime.
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn match_string(&mut self, string: &str) -> Vec<(&MatcherToken, &str)> {
[INFO] [stdout]    |                                                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: In this function, all references must be annotated with a lifetime.
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:37:69
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn match_string(&mut self, string: &str) -> Vec<(&MatcherToken, &str)> {
[INFO] [stdout]    |                                                                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> exercises/08_finale/exercise/src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     RawText(&str),
[INFO] [stdout]   |             ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ enum MatcherToken<'a> {
[INFO] [stdout] 5 |     /// This is just text without anything special.
[INFO] [stdout] 6 ~     RawText(&'a str),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OneOfText(Vec<&str>),
[INFO] [stdout]    |                   ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  4 ~ enum MatcherToken<'a> {
[INFO] [stdout]  5 |     /// This is just text without anything special.
[INFO] [stdout] ...
[INFO] [stdout]  9 |     /// `one`, `two` or `three` are the allowed strings.
[INFO] [stdout] 10 ~     OneOfText(Vec<&'a str>),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     text: &str,
[INFO] [stdout]    |           ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 ~ struct Matcher<'a> {
[INFO] [stdout] 18 |     /// This is the actual text of the matcher
[INFO] [stdout] 19 ~     text: &'a str,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new(text: &str) -> Option<Matcher> {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> exercises/08_finale/exercise/src/main.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn match_string(&mut self, string: &str) -> Vec<(&MatcherToken, &str)> {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ex08` (bin "ex08") due to 7 previous errors; 2 warnings emitted
[INFO] [stdout] warning: enum `MatcherToken` is never used
[INFO] [stdout]  --> exercises/08_finale/solutions/src/main.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum MatcherToken<'a> {
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Matcher` is never constructed
[INFO] [stdout]   --> exercises/08_finale/solutions/src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Matcher<'a> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `match_string` are never used
[INFO] [stdout]   --> exercises/08_finale/solutions/src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl<'a> Matcher<'a> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn new(text: &'a str) -> Option<Matcher<'a>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn match_string<'b, 'c>(&'b mut self, string: &'c str) -> Vec<(&'b MatcherToken<'a>, &'c str)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153", kill_on_drop: false }`
[INFO] [stdout] da6452e7318a3a15082199f05644d011f83051a70804070707a2dab3875d0153
