[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#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElsie19%2Fpl0" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Elsie19/pl0 on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc2/source/Cargo.toml
[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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 830208351b67002196af5c842a06568f60303866071577ffb4c91e7b5feb195f
[INFO] running `Command { std: "docker" "start" "-a" "830208351b67002196af5c842a06568f60303866071577ffb4c91e7b5feb195f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "830208351b67002196af5c842a06568f60303866071577ffb4c91e7b5feb195f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "830208351b67002196af5c842a06568f60303866071577ffb4c91e7b5feb195f", kill_on_drop: false }`
[INFO] [stdout] 830208351b67002196af5c842a06568f60303866071577ffb4c91e7b5feb195f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfd988fcb02e6b1d7e98d7faec84bbb92d7775fde828e821fef8ed4b0b25d7e9
[INFO] running `Command { std: "docker" "start" "-a" "dfd988fcb02e6b1d7e98d7faec84bbb92d7775fde828e821fef8ed4b0b25d7e9", kill_on_drop: false }`
[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 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" "dfd988fcb02e6b1d7e98d7faec84bbb92d7775fde828e821fef8ed4b0b25d7e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfd988fcb02e6b1d7e98d7faec84bbb92d7775fde828e821fef8ed4b0b25d7e9", kill_on_drop: false }`
[INFO] [stdout] dfd988fcb02e6b1d7e98d7faec84bbb92d7775fde828e821fef8ed4b0b25d7e9
