[INFO] cloning repository https://github.com/ronen25/rlox
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronen25/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronen25%2Frlox"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronen25%2Frlox'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] da6182ea09aa0d1736769c3b27f08bee7e4cc1f8
[INFO] testing ronen25/rlox against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronen25%2Frlox" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ronen25/rlox
[INFO] finished tweaking git repo https://github.com/ronen25/rlox
[INFO] tweaked toml for git repo https://github.com/ronen25/rlox written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ronen25/rlox on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/ronen25/rlox already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.67
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040
[INFO] running `"docker" "start" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040"`
[INFO] running `"docker" "inspect" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling syn v2.0.67
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Result` and `anyhow`
[INFO] [stdout]  --> src/chunk.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{anyhow, Result};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Token`
[INFO] [stdout]  --> src/compiler.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::scanner::{Scanner, ScannerError, Token};
[INFO] [stdout]   |                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0621]: explicit lifetime required in the type of `source`
[INFO] [stdout]   --> src/vm.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         self.compiler.compile(source, &mut chunk)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required
[INFO] [stdout]    |
[INFO] [stdout] help: add explicit lifetime `'a` to the type of `source`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn interpret(&mut self, source: &'a str) -> Result<(), InterpretError> {
[INFO] [stdout]    |                                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `chunk` does not live long enough
[INFO] [stdout]    --> src/vm.rs:46:39
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl<'a, 'outlives_a: 'a> VM<'a> {
[INFO] [stdout]     |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout]  45 |         let mut chunk = Chunk::new(None);
[INFO] [stdout]     |             --------- binding `chunk` declared here
[INFO] [stdout]  46 |         self.compiler.compile(source, &mut chunk)?;
[INFO] [stdout]     |         ------------------------------^^^^^^^^^^-
[INFO] [stdout]     |         |                             |
[INFO] [stdout]     |         |                             borrowed value does not live long enough
[INFO] [stdout]     |         argument requires that `chunk` is borrowed for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 106 |     }
[INFO] [stdout]     |     - `chunk` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `chunk` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/vm.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, 'outlives_a: 'a> VM<'a> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         self.compiler.compile(source, &mut chunk)?;
[INFO] [stdout]    |         -----------------------------------------
[INFO] [stdout]    |         |                             |
[INFO] [stdout]    |         |                             mutable borrow occurs here
[INFO] [stdout]    |         argument requires that `chunk` is borrowed for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 49 |             let instruction_byte = chunk.get_code(self.ip).unwrap();
[INFO] [stdout]    |                                    ^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `chunk` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/vm.rs:72:47
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, 'outlives_a: 'a> VM<'a> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         self.compiler.compile(source, &mut chunk)?;
[INFO] [stdout]    |         -----------------------------------------
[INFO] [stdout]    |         |                             |
[INFO] [stdout]    |         |                             mutable borrow occurs here
[INFO] [stdout]    |         argument requires that `chunk` is borrowed for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 72 |                         let constant_index = *chunk.get_code(self.ip).unwrap();
[INFO] [stdout]    |                                               ^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `chunk` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/vm.rs:73:47
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, 'outlives_a: 'a> VM<'a> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         self.compiler.compile(source, &mut chunk)?;
[INFO] [stdout]    |         -----------------------------------------
[INFO] [stdout]    |         |                             |
[INFO] [stdout]    |         |                             mutable borrow occurs here
[INFO] [stdout]    |         argument requires that `chunk` is borrowed for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 73 |                         let constant_value = *chunk.get_constant(constant_index as usize).unwrap();
[INFO] [stdout]    |                                               ^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compiler.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut line = 1usize;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/compiler.rs:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn compile(&self, source: &'a str, chunk: &'a mut Chunk) -> Result<(), CompileError> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chunk`
[INFO] [stdout]   --> src/compiler.rs:26:44
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn compile(&self, source: &'a str, chunk: &'a mut Chunk) -> Result<(), CompileError> {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/compiler.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut line = 1usize;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut vm = VM::new(&buffer);
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vm`
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut vm = VM::new(&buffer);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0597, E0621.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlox` (bin "rlox") due to 5 previous errors; 8 warnings emitted
[INFO] running `"docker" "inspect" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040"`
[INFO] running `"docker" "rm" "-f" "3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040"`
[INFO] [stdout] 3729d9c7105b10676a2393273585e1bf9e47ac468d4f486b0fb37d48f4fc1040
