[INFO] cloning repository https://github.com/tkclimb/hack-vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tkclimb/hack-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkclimb%2Fhack-vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkclimb%2Fhack-vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4dcae3a039edecac1d4ecae28e3a794422700c00
[INFO] checking tkclimb/hack-vm against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkclimb%2Fhack-vm" "/workspace/builds/worker-40/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tkclimb/hack-vm on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tkclimb/hack-vm
[INFO] finished tweaking git repo https://github.com/tkclimb/hack-vm
[INFO] tweaked toml for git repo https://github.com/tkclimb/hack-vm written to /workspace/builds/worker-40/source/Cargo.toml
[INFO] crate git repo https://github.com/tkclimb/hack-vm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4da6572c1d8d9ed63b58d3aa8821bac4da12d5d8122fd661438352705339951a
[INFO] running `Command { std: "docker" "start" "-a" "4da6572c1d8d9ed63b58d3aa8821bac4da12d5d8122fd661438352705339951a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4da6572c1d8d9ed63b58d3aa8821bac4da12d5d8122fd661438352705339951a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4da6572c1d8d9ed63b58d3aa8821bac4da12d5d8122fd661438352705339951a", kill_on_drop: false }`
[INFO] [stdout] 4da6572c1d8d9ed63b58d3aa8821bac4da12d5d8122fd661438352705339951a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e742766e96e331d7f9d534664a3b8165745c3e3aefe72a51bef475c664e1391e
[INFO] running `Command { std: "docker" "start" "-a" "e742766e96e331d7f9d534664a3b8165745c3e3aefe72a51bef475c664e1391e", kill_on_drop: false }`
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking hack-vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> src/codegen.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let out_file = File::create(file_name)?;
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::File;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/scanner.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/scanner.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenKind::*`
[INFO] [stdout]   --> src/token.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use TokenKind::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> src/codegen.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let out_file = File::create(file_name)?;
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::File;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/scanner.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/scanner.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenKind::*`
[INFO] [stdout]   --> src/token.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use TokenKind::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:39:43
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout]     | |                                           ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] ...   |
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:42:40
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] 41  | |     for line in self.asm_list {
[INFO] [stdout] 42  | |       writer.write_all(line.as_bytes())?;
[INFO] [stdout]     | |                                        ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 43  | |     }
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:39:43
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout]     | |                                           ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] ...   |
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:44:19
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] ...   |
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout]     | |                   ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:42:40
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] 41  | |     for line in self.asm_list {
[INFO] [stdout] 42  | |       writer.write_all(line.as_bytes())?;
[INFO] [stdout]     | |                                        ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 43  | |     }
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/codegen.rs:44:19
[INFO] [stdout]     |
[INFO] [stdout] 37  | /   pub fn save(&mut self, file_name: &str) {
[INFO] [stdout] 38  | |     let file_name = String::from(file_name) + file_name;
[INFO] [stdout] 39  | |     let out_file = File::create(file_name)?;
[INFO] [stdout] 40  | |     let mut writer = BufWriter::new(out_file);
[INFO] [stdout] ...   |
[INFO] [stdout] 44  | |     writer.flush()?;
[INFO] [stdout]     | |                   ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 45  | |   }
[INFO] [stdout]     | |___- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hack-vm` due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e742766e96e331d7f9d534664a3b8165745c3e3aefe72a51bef475c664e1391e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e742766e96e331d7f9d534664a3b8165745c3e3aefe72a51bef475c664e1391e", kill_on_drop: false }`
[INFO] [stdout] e742766e96e331d7f9d534664a3b8165745c3e3aefe72a51bef475c664e1391e
