[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] checking scsmithr/submarine against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscsmithr%2Fsubmarine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scsmithr/submarine on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kvm-bindings v0.1.1 [INFO] [stderr] Downloaded kvm-ioctls v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f340dffee7773e99b620abbcd413cdf6e7adcb3fc9069504079641a857472731 [INFO] running `Command { std: "docker" "start" "-a" "f340dffee7773e99b620abbcd413cdf6e7adcb3fc9069504079641a857472731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f340dffee7773e99b620abbcd413cdf6e7adcb3fc9069504079641a857472731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f340dffee7773e99b620abbcd413cdf6e7adcb3fc9069504079641a857472731", kill_on_drop: false }` [INFO] [stdout] f340dffee7773e99b620abbcd413cdf6e7adcb3fc9069504079641a857472731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d2c86229d2c5a6be0237c9f1992a1ad5da4ae609dabe6c36fb8d3056416e4ff [INFO] running `Command { std: "docker" "start" "-a" "2d2c86229d2c5a6be0237c9f1992a1ad5da4ae609dabe6c36fb8d3056416e4ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking kvm-bindings v0.1.1 [INFO] [stderr] Checking boot_gen v0.1.0 (/opt/rustwide/workdir/boot_gen) [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking kvm-ioctls v0.1.0 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking 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/loader/mod.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | bs.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] 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] 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] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/loader/mod.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | debug!("start: {}, count: {}", hdr.code32_start, kernel_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `format_args` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/vm/mod.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | Vcpu::new(&vm, mmio_bus, pio_bus).unwrap(); [INFO] [stdout] | ^^^^^^^^^ -------- ------- unexpected argument of type `device::Bus` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `device::Bus` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vm/mod.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new(vm: &Vm) -> Result { [INFO] [stdout] | ^^^ ------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 275 - Vcpu::new(&vm, mmio_bus, pio_bus).unwrap(); [INFO] [stdout] 275 + Vcpu::new(&vm).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/loader/mod.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | debug!("start: {}, count: {}", hdr.code32_start, kernel_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `format_args` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `submarine` (bin "submarine") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `submarine` (bin "submarine" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2d2c86229d2c5a6be0237c9f1992a1ad5da4ae609dabe6c36fb8d3056416e4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2c86229d2c5a6be0237c9f1992a1ad5da4ae609dabe6c36fb8d3056416e4ff", kill_on_drop: false }` [INFO] [stdout] 2d2c86229d2c5a6be0237c9f1992a1ad5da4ae609dabe6c36fb8d3056416e4ff