[INFO] cloning repository https://github.com/scsmithr/submarine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scsmithr/submarine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscsmithr%2Fsubmarine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscsmithr%2Fsubmarine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f9cbbede175bac08fbabdbf1d57a78790052c30
[INFO] testing scsmithr/submarine against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscsmithr%2Fsubmarine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/scsmithr/submarine on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/scsmithr/submarine
[INFO] finished tweaking git repo https://github.com/scsmithr/submarine
[INFO] tweaked toml for git repo https://github.com/scsmithr/submarine written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/scsmithr/submarine 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kvm-ioctls v0.1.0
[INFO] [stderr]   Downloaded kvm-bindings v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ec2080055dee65e01ff5e4ffff0fd8c956a59dd81ae5c39c1452bf78c66189b
[INFO] running `Command { std: "docker" "start" "-a" "7ec2080055dee65e01ff5e4ffff0fd8c956a59dd81ae5c39c1452bf78c66189b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ec2080055dee65e01ff5e4ffff0fd8c956a59dd81ae5c39c1452bf78c66189b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ec2080055dee65e01ff5e4ffff0fd8c956a59dd81ae5c39c1452bf78c66189b", kill_on_drop: false }`
[INFO] [stdout] 7ec2080055dee65e01ff5e4ffff0fd8c956a59dd81ae5c39c1452bf78c66189b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d9deaaf98396e821e72f4477aaedece74b13f67135b8d811afcc0258a10fe07
[INFO] running `Command { std: "docker" "start" "-a" "8d9deaaf98396e821e72f4477aaedece74b13f67135b8d811afcc0258a10fe07", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling regex v1.1.7
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling utf8-ranges v1.0.3
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling kvm-bindings v0.1.1
[INFO] [stderr]    Compiling boot_gen v0.1.0 (/opt/rustwide/workdir/boot_gen)
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.6.7
[INFO] [stderr]    Compiling aho-corasick v0.7.3
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling kvm-ioctls v0.1.0
[INFO] [stderr]    Compiling env_logger v0.6.1
[INFO] [stderr]    Compiling submarine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read /boot/vmlinuz-linux: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     img.extend_from_slice(include_bytes!("/boot/vmlinuz-linux"));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Addressable`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use memory::{Addressable, Region};
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/device/mod.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     devices: BTreeMap<Range, Arc<Mutex<Addressable>>>,
[INFO] [stdout]    |                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 |     devices: BTreeMap<Range, Arc<Mutex<dyn Addressable>>>,
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/device/mod.rs:62:59
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn insert(&mut self, range: Range, dev: Arc<Mutex<Addressable>>) -> Result<()> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn insert(&mut self, range: Range, dev: Arc<Mutex<dyn Addressable>>) -> Result<()> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/device/mod.rs:87:79
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn device_at_addr(&self, addr: &MemoryAddr) -> Option<(MemoryAddr, &Mutex<Addressable>)> {
[INFO] [stdout]    |                                                                               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn device_at_addr(&self, addr: &MemoryAddr) -> Option<(MemoryAddr, &Mutex<dyn Addressable>)> {
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/loader/mod.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn configure_gdt_table(mem: &mut Memory, sregs: &mut kvm_sregs) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn configure_gdt_table(mem: &mut dyn Memory, sregs: &mut kvm_sregs) -> Result<()> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/loader/mod.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn write_gdt_entry(mem: &mut Memory, entry: &gdt::Entry, addr: MemoryAddr) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn write_gdt_entry(mem: &mut dyn Memory, entry: &gdt::Entry, addr: MemoryAddr) -> Result<()> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/vm/mod.rs:189:19
[INFO] [stdout]     |
[INFO] [stdout] 189 |         mem: &mut Memory,
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 189 |         mem: &mut dyn Memory,
[INFO] [stdout]     |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/device/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Addressable`
[INFO] [stdout]  --> src/vm/mod.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::memory::{Addressable, Memory, MemoryAddr, Region};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `submarine` (bin "submarine") due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8d9deaaf98396e821e72f4477aaedece74b13f67135b8d811afcc0258a10fe07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d9deaaf98396e821e72f4477aaedece74b13f67135b8d811afcc0258a10fe07", kill_on_drop: false }`
[INFO] [stdout] 8d9deaaf98396e821e72f4477aaedece74b13f67135b8d811afcc0258a10fe07
