[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 try#3fada14ee01d755dc8076e611f11bf65b28ffd21 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anywherecreative/advent_of_code_2023 on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0508d6dd726ef19a48e568b0e6d9e6dcf8b2799ecf41411aa08edd976804d0e
[INFO] running `Command { std: "docker" "start" "-a" "b0508d6dd726ef19a48e568b0e6d9e6dcf8b2799ecf41411aa08edd976804d0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0508d6dd726ef19a48e568b0e6d9e6dcf8b2799ecf41411aa08edd976804d0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0508d6dd726ef19a48e568b0e6d9e6dcf8b2799ecf41411aa08edd976804d0e", kill_on_drop: false }`
[INFO] [stdout] b0508d6dd726ef19a48e568b0e6d9e6dcf8b2799ecf41411aa08edd976804d0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77348972bf76af8a16ddca7cfe16b5b95f03ec22b7f45a1be977b3b1f75a4877
[INFO] running `Command { std: "docker" "start" "-a" "77348972bf76af8a16ddca7cfe16b5b95f03ec22b7f45a1be977b3b1f75a4877", 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] 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] 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") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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" "77348972bf76af8a16ddca7cfe16b5b95f03ec22b7f45a1be977b3b1f75a4877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77348972bf76af8a16ddca7cfe16b5b95f03ec22b7f45a1be977b3b1f75a4877", kill_on_drop: false }`
[INFO] [stdout] 77348972bf76af8a16ddca7cfe16b5b95f03ec22b7f45a1be977b3b1f75a4877
