[INFO] cloning repository https://github.com/dinutting/sprunk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dinutting/sprunk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinutting%2Fsprunk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinutting%2Fsprunk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aacd23eab2850782bb8b899d94f0322e2dd89024
[INFO] checking dinutting/sprunk against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinutting%2Fsprunk" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dinutting/sprunk
[INFO] finished tweaking git repo https://github.com/dinutting/sprunk
[INFO] tweaked toml for git repo https://github.com/dinutting/sprunk written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dinutting/sprunk on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dinutting/sprunk 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8486d95968b9a6b05350f644966bd6dcf31f0bb6ad03bae540b5ac43c372f7fe
[INFO] running `Command { std: "docker" "start" "-a" "8486d95968b9a6b05350f644966bd6dcf31f0bb6ad03bae540b5ac43c372f7fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8486d95968b9a6b05350f644966bd6dcf31f0bb6ad03bae540b5ac43c372f7fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8486d95968b9a6b05350f644966bd6dcf31f0bb6ad03bae540b5ac43c372f7fe", kill_on_drop: false }`
[INFO] [stdout] 8486d95968b9a6b05350f644966bd6dcf31f0bb6ad03bae540b5ac43c372f7fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02ae44929cfced0ebedfb1e5590481efdcd0942718c87e6f1d69694742013ac2
[INFO] running `Command { std: "docker" "start" "-a" "02ae44929cfced0ebedfb1e5590481efdcd0942718c87e6f1d69694742013ac2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking sprunk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0596]: cannot borrow `x` as mutable, as it is immutable for the pattern guard
[INFO] [stdout]   --> src/main.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |              ^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = note: variables bound in patterns are immutable until the end of the pattern guard
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `x` as mutable, as it is immutable for the pattern guard
[INFO] [stdout]   --> src/main.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |              ^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = note: variables bound in patterns are immutable until the end of the pattern guard
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `iter`
[INFO] [stdout]   --> src/main.rs:92:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut iter = filtered_tokens.iter(); // shared, non-consuming
[INFO] [stdout]    |         -------- move occurs because `iter` has type `std::slice::Iter<'_, TokenType>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 83 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         - value moved here
[INFO] [stdout] ...
[INFO] [stdout] 86 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         - value moved here
[INFO] [stdout] ...
[INFO] [stdout] 92 |     println!("Next item: {:?}", iter.next()); // Still 10
[INFO] [stdout]    |                                 ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 86 |         ref x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         +++
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 83 |         ref x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sprunk` (bin "sprunk") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0596]: cannot borrow `x` as mutable, as it is immutable for the pattern guard
[INFO] [stdout]   --> src/main.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |              ^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = note: variables bound in patterns are immutable until the end of the pattern guard
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `x` as mutable, as it is immutable for the pattern guard
[INFO] [stdout]   --> src/main.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |              ^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = note: variables bound in patterns are immutable until the end of the pattern guard
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `iter`
[INFO] [stdout]   --> src/main.rs:92:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut iter = filtered_tokens.iter(); // shared, non-consuming
[INFO] [stdout]    |         -------- move occurs because `iter` has type `std::slice::Iter<'_, lexer::TokenType>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 83 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         - value moved here
[INFO] [stdout] ...
[INFO] [stdout] 86 |         x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         - value moved here
[INFO] [stdout] ...
[INFO] [stdout] 92 |     println!("Next item: {:?}", iter.next()); // Still 10
[INFO] [stdout]    |                                 ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 86 |         ref x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         +++
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 83 |         ref x if x.multi_peek_check(&[lexer::TokenType::Pipe,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sprunk` (bin "sprunk" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "02ae44929cfced0ebedfb1e5590481efdcd0942718c87e6f1d69694742013ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02ae44929cfced0ebedfb1e5590481efdcd0942718c87e6f1d69694742013ac2", kill_on_drop: false }`
[INFO] [stdout] 02ae44929cfced0ebedfb1e5590481efdcd0942718c87e6f1d69694742013ac2
