[INFO] cloning repository https://github.com/Elsie19/pl0
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elsie19/pl0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElsie19%2Fpl0", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElsie19%2Fpl0'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce4d7b83f6f7cc895f7dd46592853a95df469e4f
[INFO] checking Elsie19/pl0 against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElsie19%2Fpl0" "/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/Elsie19/pl0
[INFO] finished tweaking git repo https://github.com/Elsie19/pl0
[INFO] tweaked toml for git repo https://github.com/Elsie19/pl0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Elsie19/pl0 on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Elsie19/pl0 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 257cd6513ee13ec2f7b49a2e1c809ac5d2df5032f571d3fbc87e15c49514da8f
[INFO] running `Command { std: "docker" "start" "-a" "257cd6513ee13ec2f7b49a2e1c809ac5d2df5032f571d3fbc87e15c49514da8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "257cd6513ee13ec2f7b49a2e1c809ac5d2df5032f571d3fbc87e15c49514da8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "257cd6513ee13ec2f7b49a2e1c809ac5d2df5032f571d3fbc87e15c49514da8f", kill_on_drop: false }`
[INFO] [stdout] 257cd6513ee13ec2f7b49a2e1c809ac5d2df5032f571d3fbc87e15c49514da8f
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c58a828c95d4ae108f5eabb4feda25d32e5753a7578b58c43ed56fecfaae1642
[INFO] running `Command { std: "docker" "start" "-a" "c58a828c95d4ae108f5eabb4feda25d32e5753a7578b58c43ed56fecfaae1642", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking qbe v2.3.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]    Compiling pest_consume_macros v1.1.0
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]     Checking pest_consume v1.1.3
[INFO] [stderr]     Checking pl0 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0499]: cannot borrow `*func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn output_var<'a>(
[INFO] [stdout]     |               -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 106 |         evaluate(&output.0, func, variable_table).expect("Could not parse evaluation.");
[INFO] [stdout]     |                             ---- first mutable borrow occurs here
[INFO] [stdout] 107 |
[INFO] [stdout] 108 |     func.add_instr(Instr::Call("puts".into(), vec![eval_result], None));
[INFO] [stdout]     |     ^^^^---------------------------------------------------------------
[INFO] [stdout]     |     |
[INFO] [stdout]     |     second mutable borrow occurs here
[INFO] [stdout]     |     argument requires that `*func` is borrowed for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `variables` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:147:23
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ `variables` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ---- first borrow used here, in later iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:147:52
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    ^^^^^^^^^ `func` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ---- first borrow used here, in later iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    --------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     second mutable borrow occurs here
[INFO] [stdout]     |     first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `func` because it is borrowed
[INFO] [stdout]    --> src/compile/qbe.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let mut func = Function::new(Linkage::public(), "main", vec![], Some(Type::Word));
[INFO] [stdout]     |         -------- binding `func` declared here
[INFO] [stdout] ...
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    --------- borrow of `func` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 152 |     module.add_function(func);
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         move out of `func` occurs here
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func.clone());
[INFO] [stdout]     |                                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn output_var<'a>(
[INFO] [stdout]     |               -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 106 |         evaluate(&output.0, func, variable_table).expect("Could not parse evaluation.");
[INFO] [stdout]     |                             ---- first mutable borrow occurs here
[INFO] [stdout] 107 |
[INFO] [stdout] 108 |     func.add_instr(Instr::Call("puts".into(), vec![eval_result], None));
[INFO] [stdout]     |     ^^^^---------------------------------------------------------------
[INFO] [stdout]     |     |
[INFO] [stdout]     |     second mutable borrow occurs here
[INFO] [stdout]     |     argument requires that `*func` is borrowed for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `variables` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:147:23
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ `variables` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ---- first borrow used here, in later iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:147:52
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    ^^^^^^^^^ `func` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ---- first borrow used here, in later iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `func` as mutable more than once at a time
[INFO] [stdout]    --> src/compile/qbe.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    --------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 150 |     func.add_instr(Instr::Ret(Some(Value::Const(0))));
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     second mutable borrow occurs here
[INFO] [stdout]     |     first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `func` because it is borrowed
[INFO] [stdout]    --> src/compile/qbe.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let mut func = Function::new(Linkage::public(), "main", vec![], Some(Type::Word));
[INFO] [stdout]     |         -------- binding `func` declared here
[INFO] [stdout] ...
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func);
[INFO] [stdout]     |                                                    --------- borrow of `func` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 152 |     module.add_function(func);
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         move out of `func` occurs here
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 147 |         compile_ir(i, &mut variables, &mut module, &mut func.clone());
[INFO] [stdout]     |                                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0505.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pl0` (bin "pl0" test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0499, E0505.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pl0` (bin "pl0") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "c58a828c95d4ae108f5eabb4feda25d32e5753a7578b58c43ed56fecfaae1642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c58a828c95d4ae108f5eabb4feda25d32e5753a7578b58c43ed56fecfaae1642", kill_on_drop: false }`
[INFO] [stdout] c58a828c95d4ae108f5eabb4feda25d32e5753a7578b58c43ed56fecfaae1642
