[INFO] cloning repository https://github.com/roscale/krill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roscale/krill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fkrill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fkrill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4963d04b3cfc7eea58c4eca77ec50bc09200c9a8 [INFO] checking roscale/krill against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fkrill" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roscale/krill on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/roscale/krill [INFO] finished tweaking git repo https://github.com/roscale/krill [INFO] tweaked toml for git repo https://github.com/roscale/krill written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/roscale/krill 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2068b03e223c6b3b778770c50613eba7d76e8ff484d91489ad21386de8f1a04 [INFO] running `Command { std: "docker" "start" "-a" "f2068b03e223c6b3b778770c50613eba7d76e8ff484d91489ad21386de8f1a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2068b03e223c6b3b778770c50613eba7d76e8ff484d91489ad21386de8f1a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2068b03e223c6b3b778770c50613eba7d76e8ff484d91489ad21386de8f1a04", kill_on_drop: false }` [INFO] [stdout] f2068b03e223c6b3b778770c50613eba7d76e8ff484d91489ad21386de8f1a04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b18f0127a07662a0a36a4b70e5d1110f4f5000a9d5c10f0680164f06b26bc88 [INFO] running `Command { std: "docker" "start" "-a" "4b18f0127a07662a0a36a4b70e5d1110f4f5000a9d5c10f0680164f06b26bc88", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking krill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | llvm_asm!("pushfq; popq $0" : "=r"(r) :: "memory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | llvm_asm!("outb $1, $0" :: "N{dx}"(address), "{al}"(value) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | llvm_asm!("inb $1, $0" : "={al}"(value) : "N{dx}"(address) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | llvm_asm!("mov %cs, $0" : "=r" (segment)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | llvm_asm!("lgdt ($0)" :: "r" (ptr) : "memory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | llvm_asm!("pushfq; popq $0" : "=r"(r) :: "memory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | llvm_asm!("lidt ($0)" :: "r" (ptr) : "memory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | llvm_asm!("outb $1, $0" :: "N{dx}"(address), "{al}"(value) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | llvm_asm!("pushq $0; \ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | llvm_asm!("inb $1, $0" : "={al}"(value) : "N{dx}"(address) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | llvm_asm!("ltr $0" :: "r" (segment_selector)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | llvm_asm!("mov %cs, $0" : "=r" (segment)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | llvm_asm!("cli" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | llvm_asm!("lgdt ($0)" :: "r" (ptr) : "memory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | llvm_asm!("sti" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | llvm_asm!("lidt ($0)" :: "r" (ptr) : "memory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | llvm_asm!("jmp 1f; \ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | llvm_asm!("pushq $0; \ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | llvm_asm!("hlt" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | llvm_asm!("ltr $0" :: "r" (segment_selector)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | llvm_asm!("cli" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | llvm_asm!("sti" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | llvm_asm!("jmp 1f; \ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/inline_asm.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | llvm_asm!("hlt" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 58 | | println!(); [INFO] [stdout] 59 | | println!("-------------------------------------------------"); [INFO] [stdout] 60 | | println!("KERNEL PANIC"); [INFO] [stdout] ... | [INFO] [stdout] 82 | | loop {} [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`krill`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `krill` (bin "krill" test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/idt.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | writeln!(f, "IP: {}", self.ip)?; [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 `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (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/idt.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | writeln!(f, "CS: {}", self.cs)?; [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 `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (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/idt.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | writeln!(f, "FLAGS: {}", self.flags)?; [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 `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (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/idt.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | writeln!(f, "SP: {}", self.sp)?; [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 `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (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/idt.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | writeln!(f, "SS: {}", self.ss)?; [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 `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `krill` (bin "krill") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "4b18f0127a07662a0a36a4b70e5d1110f4f5000a9d5c10f0680164f06b26bc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b18f0127a07662a0a36a4b70e5d1110f4f5000a9d5c10f0680164f06b26bc88", kill_on_drop: false }` [INFO] [stdout] 4b18f0127a07662a0a36a4b70e5d1110f4f5000a9d5c10f0680164f06b26bc88