[INFO] cloning repository https://github.com/pietroalbini/parsibes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pietroalbini/parsibes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpietroalbini%2Fparsibes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpietroalbini%2Fparsibes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82e67dc27e74925dc98617d7f43e16ff837fd818
[INFO] checking pietroalbini/parsibes against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpietroalbini%2Fparsibes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pietroalbini/parsibes
[INFO] finished tweaking git repo https://github.com/pietroalbini/parsibes
[INFO] tweaked toml for git repo https://github.com/pietroalbini/parsibes written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pietroalbini/parsibes on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pietroalbini/parsibes 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70
[INFO] running `Command { std: "docker" "start" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70", 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" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling anyhow v1.0.90
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking similar v2.6.0
[INFO] [stderr]     Checking parsibes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TokenTree`
[INFO] [stdout]  --> src/expansion/mod.rs:5:49
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::expansion::tree::{parse_tokenstream, TokenTree};
[INFO] [stdout]   |                                                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `anyhow`, `bail`, and `ensure`
[INFO] [stdout]  --> src/expansion/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{anyhow, bail, ensure, Error};
[INFO] [stdout]   |              ^^^^^^  ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::take`
[INFO] [stdout]  --> src/expansion/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem::take;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunks` is never constructed
[INFO] [stdout]   --> src/expansion/mod.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct Chunks<'src> {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `firsts`, and `allocate` are never used
[INFO] [stdout]   --> src/expansion/mod.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<'src> Chunks<'src> {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 16 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) fn get(&self, id: ChunkId) -> &Chunk<'src> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) fn firsts(&self) -> impl Iterator<Item = &Chunk<'src>> {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn allocate(&mut self, chunk: Chunk<'src>) -> ChunkId {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChunkId` is never constructed
[INFO] [stdout]   --> src/expansion/mod.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub(crate) struct ChunkId(usize);
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]   --> src/expansion/mod.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) struct Chunk<'src> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `of` is never used
[INFO] [stdout]   --> src/expansion/mod.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub(super) fn of(input: &str) -> Result<Chunks, Error> {
[INFO] [stdout]    |               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_chunks` is never used
[INFO] [stdout]   --> src/expansion/mod.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn create_chunks<'src>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListAsMap` is never constructed
[INFO] [stdout]    --> src/expansion/mod.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | struct ListAsMap<'a, T>(&'a Vec<T>);
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ForceSingleLine` is never constructed
[INFO] [stdout]    --> src/expansion/mod.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | struct ForceSingleLine<T>(T);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Group` is never used
[INFO] [stdout]  --> src/expansion/groups.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(super) enum Group<'src> {
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_groups` is never used
[INFO] [stdout]   --> src/expansion/groups.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(super) fn create_groups(stream: Vec<TokenTree<'_>>) -> Vec<Group<'_>> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_tokenstream` is never used
[INFO] [stdout]  --> src/expansion/tree.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(super) fn parse_tokenstream(tokens: Vec<Token>) -> Result<Vec<TokenTree>, Error> {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_tokentree` is never used
[INFO] [stdout]   --> src/expansion/tree.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn parse_tokentree<'a, 'src>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenTree` is never used
[INFO] [stdout]   --> src/expansion/tree.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub(super) enum TokenTree<'src> {
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenRepetition` is never constructed
[INFO] [stdout]   --> src/expansion/tree.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub(super) struct TokenRepetition<'src> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/expansion/mod.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub(super) fn of(input: &str) -> Result<Chunks, Error> {
[INFO] [stdout]    |                         ^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub(super) fn of(input: &str) -> Result<Chunks<'_>, Error> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking insta v1.40.0
[INFO] [stdout] error: suspicious attribute: ExprKind::MethodCall
[INFO] [stdout]   --> src/expansion/groups.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | /         assert_debug_snapshot!(groups, @r###"
[INFO] [stdout] 56 | |         [
[INFO] [stdout] 57 | |             Simple(
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |         "###);
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::_assert_snapshot_base` which comes from the expansion of the macro `assert_debug_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: suspicious attribute: ExprKind::MethodCall
[INFO] [stdout]    --> src/expansion/tree.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | /         assert_debug_snapshot!(stream, @r###"
[INFO] [stdout] 111 | |         [
[INFO] [stdout] 112 | |             Token(
[INFO] [stdout] 113 | |                 Token( [ ),
[INFO] [stdout] ...   |
[INFO] [stdout] 137 | |         "###);
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::_assert_snapshot_base` which comes from the expansion of the macro `assert_debug_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: suspicious attribute: ExprKind::MethodCall
[INFO] [stdout]    --> src/expansion/mod.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 | /         assert_debug_snapshot!(result, @r###"
[INFO] [stdout] 158 | |         Ok(
[INFO] [stdout] 159 | |             Chunks {
[INFO] [stdout] 160 | |                 inner: {
[INFO] [stdout] ...   |
[INFO] [stdout] 177 | |         "###);
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::_assert_snapshot_base` which comes from the expansion of the macro `assert_debug_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: suspicious attribute: ExprKind::MethodCall
[INFO] [stdout]    --> src/expansion/mod.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 | /         assert_debug_snapshot!(result, @r###"
[INFO] [stdout] 186 | |         Ok(
[INFO] [stdout] 187 | |             Chunks {
[INFO] [stdout] 188 | |                 inner: {
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | |         "###);
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::_assert_snapshot_base` which comes from the expansion of the macro `assert_debug_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: suspicious attribute: ExprKind::MethodCall
[INFO] [stdout]    --> src/expansion/mod.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 | /         assert_debug_snapshot!(result, @r###"
[INFO] [stdout] 232 | |         Ok(
[INFO] [stdout] 233 | |             Chunks {
[INFO] [stdout] 234 | |                 inner: {
[INFO] [stdout] ...   |
[INFO] [stdout] 299 | |         "###);
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::_assert_snapshot_base` which comes from the expansion of the macro `assert_debug_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenTree`
[INFO] [stdout]  --> src/expansion/mod.rs:5:49
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::expansion::tree::{parse_tokenstream, TokenTree};
[INFO] [stdout]   |                                                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `anyhow`, `bail`, and `ensure`
[INFO] [stdout]  --> src/expansion/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{anyhow, bail, ensure, Error};
[INFO] [stdout]   |              ^^^^^^  ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::take`
[INFO] [stdout]  --> src/expansion/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem::take;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parsibes` (lib test) due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70", kill_on_drop: false }`
[INFO] [stdout] e88d47f6bf1e8dc3b64d94172b8273af988a550cd7ce65faa8540d2d6aad9b70
