[INFO] fetching crate tinyparse 0.2.3... [INFO] checking tinyparse-0.2.3 against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] extracting crate tinyparse 0.2.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tinyparse 0.2.3 on toolchain 0ec6e73c26e84416f7a6c0dacee999279e12896e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/rust-toolchain.toml [INFO] started tweaking crates.io crate tinyparse 0.2.3 [INFO] finished tweaking crates.io crate tinyparse 0.2.3 [INFO] tweaked toml for crates.io crate tinyparse 0.2.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5663db21d70438849aa33877ae1939a4e732760e83fa70987bd063d29b1db053 [INFO] running `Command { std: "docker" "start" "-a" "5663db21d70438849aa33877ae1939a4e732760e83fa70987bd063d29b1db053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5663db21d70438849aa33877ae1939a4e732760e83fa70987bd063d29b1db053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5663db21d70438849aa33877ae1939a4e732760e83fa70987bd063d29b1db053", kill_on_drop: false }` [INFO] [stdout] 5663db21d70438849aa33877ae1939a4e732760e83fa70987bd063d29b1db053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e24f2c3f9defcfaf98bb4f6ade3f7ba4d41d635392bd0fbbedfa5532048fdfee [INFO] running `Command { std: "docker" "start" "-a" "e24f2c3f9defcfaf98bb4f6ade3f7ba4d41d635392bd0fbbedfa5532048fdfee", kill_on_drop: false }` [INFO] [stderr] Checking tinyparse v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0309]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / (move |span| { [INFO] [stdout] 32 | | self.parse(span).map(|(span, res)| (span, map_fn(res))) [INFO] [stdout] 33 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 26 | fn map(self, map_fn: F) -> Parser<'a, M> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / (move |span| { [INFO] [stdout] 43 | | let (span, result) = self.parse(span)?; [INFO] [stdout] 44 | | let (span, _) = other_parser.parse(span)?; [INFO] [stdout] 45 | | Ok((span, result)) [INFO] [stdout] 46 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / (move |span| { [INFO] [stdout] 56 | | #[allow(clippy::redundant_closure)] // The closure consumes self if we just replace |err| map_fn(err) with the shorthand. [INFO] [stdout] 57 | | self.parse(span).map_err(|err| map_fn(err)) [INFO] [stdout] 58 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / (move |old_span| { [INFO] [stdout] 68 | | let (span, parsed) = self.parse(old_span)?; [INFO] [stdout] 69 | | if pred(&parsed) { [INFO] [stdout] 70 | | Ok((span, parsed)) [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / (move |span| { [INFO] [stdout] 95 | | Ok(self.parse(span).unwrap_or_else(|_| (span, compute()))) [INFO] [stdout] 96 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / (move |span| { [INFO] [stdout] 108 | | match self.parse(span) { [INFO] [stdout] 109 | | ok @ Ok(_) => ok, [INFO] [stdout] 110 | | Err(error) => match other_parser.parse(span) { [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] 115 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R2` may not live long enough [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / (move |span| { [INFO] [stdout] 127 | | let (span, res0) = self.parse(span)?; [INFO] [stdout] 128 | | let (span, res1) = other_parser.parse(span)?; [INFO] [stdout] 129 | | Ok((span, (res0, res1))) [INFO] [stdout] 130 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R2` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 122 | fn and + 'a>(self, other_parser: P) -> Parser<'a, (R, R2)> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / (move |span| { [INFO] [stdout] 127 | | let (span, res0) = self.parse(span)?; [INFO] [stdout] 128 | | let (span, res1) = other_parser.parse(span)?; [INFO] [stdout] 129 | | Ok((span, (res0, res1))) [INFO] [stdout] 130 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / (move |mut span| { [INFO] [stdout] 142 | | let initial_span = span; [INFO] [stdout] 143 | | let mut results = Vec::with_capacity(n); [INFO] [stdout] 144 | | while let Ok((new_span, res)) = self.parse(span) { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyparse` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0309]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / (move |span| { [INFO] [stdout] 32 | | self.parse(span).map(|(span, res)| (span, map_fn(res))) [INFO] [stdout] 33 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 26 | fn map(self, map_fn: F) -> Parser<'a, M> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / (move |span| { [INFO] [stdout] 43 | | let (span, result) = self.parse(span)?; [INFO] [stdout] 44 | | let (span, _) = other_parser.parse(span)?; [INFO] [stdout] 45 | | Ok((span, result)) [INFO] [stdout] 46 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / (move |span| { [INFO] [stdout] 56 | | #[allow(clippy::redundant_closure)] // The closure consumes self if we just replace |err| map_fn(err) with the shorthand. [INFO] [stdout] 57 | | self.parse(span).map_err(|err| map_fn(err)) [INFO] [stdout] 58 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / (move |old_span| { [INFO] [stdout] 68 | | let (span, parsed) = self.parse(old_span)?; [INFO] [stdout] 69 | | if pred(&parsed) { [INFO] [stdout] 70 | | Ok((span, parsed)) [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / (move |span| { [INFO] [stdout] 95 | | Ok(self.parse(span).unwrap_or_else(|_| (span, compute()))) [INFO] [stdout] 96 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / (move |span| { [INFO] [stdout] 108 | | match self.parse(span) { [INFO] [stdout] 109 | | ok @ Ok(_) => ok, [INFO] [stdout] 110 | | Err(error) => match other_parser.parse(span) { [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] 115 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R2` may not live long enough [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / (move |span| { [INFO] [stdout] 127 | | let (span, res0) = self.parse(span)?; [INFO] [stdout] 128 | | let (span, res1) = other_parser.parse(span)?; [INFO] [stdout] 129 | | Ok((span, (res0, res1))) [INFO] [stdout] 130 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R2` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 122 | fn and + 'a>(self, other_parser: P) -> Parser<'a, (R, R2)> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / (move |span| { [INFO] [stdout] 127 | | let (span, res0) = self.parse(span)?; [INFO] [stdout] 128 | | let (span, res1) = other_parser.parse(span)?; [INFO] [stdout] 129 | | Ok((span, (res0, res1))) [INFO] [stdout] 130 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / (move |mut span| { [INFO] [stdout] 142 | | let initial_span = span; [INFO] [stdout] 143 | | let mut results = Vec::with_capacity(n); [INFO] [stdout] 144 | | while let Ok((new_span, res)) = self.parse(span) { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | }).into_parser() [INFO] [stdout] | |________________________^ ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Parse<'a, R: 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyparse` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "e24f2c3f9defcfaf98bb4f6ade3f7ba4d41d635392bd0fbbedfa5532048fdfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24f2c3f9defcfaf98bb4f6ade3f7ba4d41d635392bd0fbbedfa5532048fdfee", kill_on_drop: false }` [INFO] [stdout] e24f2c3f9defcfaf98bb4f6ade3f7ba4d41d635392bd0fbbedfa5532048fdfee