[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] testing dinutting/sprunk against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinutting%2Fsprunk" "/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/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dinutting/sprunk on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8c3d03af1612d4c81a45622066a66f398ecacee52d91c9a747576b272029272 [INFO] running `Command { std: "docker" "start" "-a" "c8c3d03af1612d4c81a45622066a66f398ecacee52d91c9a747576b272029272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8c3d03af1612d4c81a45622066a66f398ecacee52d91c9a747576b272029272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c3d03af1612d4c81a45622066a66f398ecacee52d91c9a747576b272029272", kill_on_drop: false }` [INFO] [stdout] c8c3d03af1612d4c81a45622066a66f398ecacee52d91c9a747576b272029272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a67dfba3739fc18691bce6d803c835205a82acd89288f61284234515a30af6 [INFO] running `Command { std: "docker" "start" "-a" "e7a67dfba3739fc18691bce6d803c835205a82acd89288f61284234515a30af6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling 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] Compiling serde v1.0.219 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling 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] running `Command { std: "docker" "inspect" "e7a67dfba3739fc18691bce6d803c835205a82acd89288f61284234515a30af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a67dfba3739fc18691bce6d803c835205a82acd89288f61284234515a30af6", kill_on_drop: false }` [INFO] [stdout] e7a67dfba3739fc18691bce6d803c835205a82acd89288f61284234515a30af6