[INFO] cloning repository https://github.com/anywherecreative/advent_of_code_2023
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anywherecreative/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanywherecreative%2Fadvent_of_code_2023", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanywherecreative%2Fadvent_of_code_2023'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c3f50de5c2919527d7ee2b20d9301b67f2cb578
[INFO] checking anywherecreative/advent_of_code_2023 against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanywherecreative%2Fadvent_of_code_2023" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anywherecreative/advent_of_code_2023
[INFO] finished tweaking git repo https://github.com/anywherecreative/advent_of_code_2023
[INFO] tweaked toml for git repo https://github.com/anywherecreative/advent_of_code_2023 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anywherecreative/advent_of_code_2023 on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anywherecreative/advent_of_code_2023 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded substring v1.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 728eeebeb45715b585a3999a168c829847992edc2293978d45799ee99dc7eb76
[INFO] running `Command { std: "docker" "start" "-a" "728eeebeb45715b585a3999a168c829847992edc2293978d45799ee99dc7eb76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "728eeebeb45715b585a3999a168c829847992edc2293978d45799ee99dc7eb76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "728eeebeb45715b585a3999a168c829847992edc2293978d45799ee99dc7eb76", kill_on_drop: false }`
[INFO] [stdout] 728eeebeb45715b585a3999a168c829847992edc2293978d45799ee99dc7eb76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3c1ac6d2f700a6c82cc6759c6623d15939a05e92283f84011e7572b24ede9e9
[INFO] running `Command { std: "docker" "start" "-a" "b3c1ac6d2f700a6c82cc6759c6623d15939a05e92283f84011e7572b24ede9e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling substring v1.4.5
[INFO] [stderr]     Checking advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `lines` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/main.rs:301:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |     for (_i,line) in lines.iter().enumerate() {
[INFO] [stdout]     |                      ------------------------
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      immutable borrow occurs here
[INFO] [stdout]     |                      immutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 301 |                     lines.push(lines[number+wins].clone());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]     |                     |                             |
[INFO] [stdout]     |                     |                             this call doesn't do anything, the result is still `&str` because `str` doesn't implement `Clone`
[INFO] [stdout]     |                     mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `lines` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/main.rs:301:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |     for (_i,line) in lines.iter().enumerate() {
[INFO] [stdout]     |                      ------------------------
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      immutable borrow occurs here
[INFO] [stdout]     |                      immutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 301 |                     lines.push(lines[number+wins].clone());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]     |                     |                             |
[INFO] [stdout]     |                     |                             this call doesn't do anything, the result is still `&str` because `str` doesn't implement `Clone`
[INFO] [stdout]     |                     mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "b3c1ac6d2f700a6c82cc6759c6623d15939a05e92283f84011e7572b24ede9e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3c1ac6d2f700a6c82cc6759c6623d15939a05e92283f84011e7572b24ede9e9", kill_on_drop: false }`
[INFO] [stdout] b3c1ac6d2f700a6c82cc6759c6623d15939a05e92283f84011e7572b24ede9e9
