[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/aacd23eab2850782bb8b899d94f0322e2dd89024 against master#518b428304e0008859cb1fd81d1ac20efb2a064a for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinutting%2Fsprunk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dinutting/sprunk on toolchain 518b428304e0008859cb1fd81d1ac20efb2a064a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "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" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90270dc7b453a6a71f0b791825b6b296d91ce55f3c93d675140c18c04c09e1ab
[INFO] running `Command { std: "docker" "start" "-a" "90270dc7b453a6a71f0b791825b6b296d91ce55f3c93d675140c18c04c09e1ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90270dc7b453a6a71f0b791825b6b296d91ce55f3c93d675140c18c04c09e1ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90270dc7b453a6a71f0b791825b6b296d91ce55f3c93d675140c18c04c09e1ab", kill_on_drop: false }`
[INFO] [stdout] 90270dc7b453a6a71f0b791825b6b296d91ce55f3c93d675140c18c04c09e1ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bdadfc45878947ec6eda55aa2c8d2a8778d03eb0e04feec160cf5f4e52fd1aa
[INFO] running `Command { std: "docker" "start" "-a" "3bdadfc45878947ec6eda55aa2c8d2a8778d03eb0e04feec160cf5f4e52fd1aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking memchr v2.7.4
[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<'_, 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] [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<'_, 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] running `Command { std: "docker" "inspect" "3bdadfc45878947ec6eda55aa2c8d2a8778d03eb0e04feec160cf5f4e52fd1aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bdadfc45878947ec6eda55aa2c8d2a8778d03eb0e04feec160cf5f4e52fd1aa", kill_on_drop: false }`
[INFO] [stdout] 3bdadfc45878947ec6eda55aa2c8d2a8778d03eb0e04feec160cf5f4e52fd1aa
