[INFO] cloning repository https://github.com/seagram/fountain-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seagram/fountain-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseagram%2Ffountain-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseagram%2Ffountain-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8988d2ffe6e04b8606e0469cf84bc1f2f4ee628
[INFO] checking seagram/fountain-rs against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseagram%2Ffountain-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/seagram/fountain-rs
[INFO] finished tweaking git repo https://github.com/seagram/fountain-rs
[INFO] tweaked toml for git repo https://github.com/seagram/fountain-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/seagram/fountain-rs on toolchain 416264364aa47959f5827723e1d7dabc95d0744b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/seagram/fountain-rs 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8
[INFO] running `Command { std: "docker" "start" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8", 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" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8", 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" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking fountain-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `ParserState` in this scope
[INFO] [stdout]    --> src/lib.rs:456:49
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let stateful_parsers: &[fn(String, &ParserState) -> Option<Element>] =
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParserState` in this scope
[INFO] [stdout]    --> src/lib.rs:456:49
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let stateful_parsers: &[fn(String, &ParserState) -> Option<Element>] =
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:432:27
[INFO] [stdout]     |
[INFO] [stdout] 432 |             prev_element: String::new(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ expected `Option<Element>`, found `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Element>`
[INFO] [stdout]              found struct `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:432:27
[INFO] [stdout]     |
[INFO] [stdout] 432 |             prev_element: String::new(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ expected `Option<Element>`, found `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Element>`
[INFO] [stdout]              found struct `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `input` on type `State`
[INFO] [stdout]    --> src/lib.rs:438:28
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for line in &state.input {
[INFO] [stdout]     |                            ^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `lines`, `prev_line`, `curr_line`, `next_line`, `prev_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `input` on type `State`
[INFO] [stdout]    --> src/lib.rs:438:28
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for line in &state.input {
[INFO] [stdout]     |                            ^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `lines`, `prev_line`, `curr_line`, `next_line`, `prev_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:451:17
[INFO] [stdout]     |
[INFO] [stdout] 451 |                 parse_section,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ expected fn pointer, found fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(String) -> Option<_>`
[INFO] [stdout]                   found fn item `for<'a> fn(&'a str) -> Option<_> {parse_section}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:451:17
[INFO] [stdout]     |
[INFO] [stdout] 451 |                 parse_section,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ expected fn pointer, found fn item
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(String) -> Option<_>`
[INFO] [stdout]                   found fn item `for<'a> fn(&'a str) -> Option<_> {parse_section}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `last_element` on type `State`
[INFO] [stdout]    --> src/lib.rs:467:23
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 state.last_element = Some(e.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 467 -                 state.last_element = Some(e.clone());
[INFO] [stdout] 467 +                 state.prev_element = Some(e.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `last_element` on type `State`
[INFO] [stdout]    --> src/lib.rs:467:23
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 state.last_element = Some(e.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 467 -                 state.last_element = Some(e.clone());
[INFO] [stdout] 467 +                 state.prev_element = Some(e.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |     let mut boneyards: Vec<Element> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |     let mut boneyards: Vec<Element> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:401:19
[INFO] [stdout]     |
[INFO] [stdout] 401 | fn parse_boneyard(input: String) -> Option<Vec<Element>> {
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:401:19
[INFO] [stdout]     |
[INFO] [stdout] 401 | fn parse_boneyard(input: String) -> Option<Vec<Element>> {
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boneyards`
[INFO] [stdout]    --> src/lib.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |     let mut boneyards: Vec<Element> = Vec::new();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boneyards`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boneyards`
[INFO] [stdout]    --> src/lib.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |     let mut boneyards: Vec<Element> = Vec::new();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boneyards`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fountain-core` (lib test) due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `fountain-core` (lib) due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8", kill_on_drop: false }`
[INFO] [stdout] 286063c44854b1b0edc81936fd93c1596e8adbdece3f85d838b159e6e08596a8
