[INFO] cloning repository https://github.com/Demindiro/norost-b [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Demindiro/norost-b" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-b", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-b'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6db2d29231357e48c79373945b636e36472c18e [INFO] testing Demindiro/norost-b against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-b" "/workspace/builds/worker-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demindiro/norost-b on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-52/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Demindiro/norost-b [INFO] finished tweaking git repo https://github.com/Demindiro/norost-b [INFO] tweaked toml for git repo https://github.com/Demindiro/norost-b written to /workspace/builds/worker-52/source/Cargo.toml [INFO] crate git repo https://github.com/Demindiro/norost-b already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-52/source/boot/amd64/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-52/source/lib/rust/virtio/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-52/source/kernel/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-52/source/drivers/virtio_block/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-52/source/lib/rust/kernel/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dca5ccfeda846c55bb155ec8054a9bf72da2e8acfd398420cef1160c8817df9 [INFO] running `Command { std: "docker" "start" "-a" "8dca5ccfeda846c55bb155ec8054a9bf72da2e8acfd398420cef1160c8817df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dca5ccfeda846c55bb155ec8054a9bf72da2e8acfd398420cef1160c8817df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dca5ccfeda846c55bb155ec8054a9bf72da2e8acfd398420cef1160c8817df9", kill_on_drop: false }` [INFO] [stdout] 8dca5ccfeda846c55bb155ec8054a9bf72da2e8acfd398420cef1160c8817df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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=forbid" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfad548ded72fddcedae9664ab5459432063c131307b3825cc1b13239ac57ce [INFO] running `Command { std: "docker" "start" "-a" "7cfad548ded72fddcedae9664ab5459432063c131307b3825cc1b13239ac57ce", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/lib/rust/virtio/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/boot/amd64/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/kernel/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/drivers/virtio_block/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/lib/rust/kernel/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling endian v0.1.0 (/opt/rustwide/workdir/lib/rust/endian) [INFO] [stderr] Compiling volatile v0.1.0 (/opt/rustwide/workdir/lib/rust/volatile) [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir/lib/rust/kernel) [INFO] [stderr] Compiling nora v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Compiling noraboot v0.1.0 (/opt/rustwide/workdir/boot/amd64) [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn syslog(s: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `core::result::Result`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn syslog(s: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `core::result::Result`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern "C" fn pci_map_any(id: u32, address: *const ()) -> Result { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `core::result::Result`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | pub extern "C" fn pci_map_bar(handle: u32, bar: u8, address: *const ()) -> Result { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `core::result::Result`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:70:74 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn alloc_dma(base: Option>, size: usize) -> Result { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `core::result::Result`, which is not FFI-safe [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub extern "C" fn physical_address(base: NonNull) -> Result { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> lib/rust/kernel/src/syscall.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | syslog(&self.buffer[..usize::from(self.index)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pci v0.1.0 (/opt/rustwide/workdir/lib/rust/pci) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtio v0.1.0 (/opt/rustwide/workdir/lib/rust/virtio) [INFO] [stdout] warning: unused import: `core::num::NonZeroU8` [INFO] [stdout] --> lib/rust/virtio/src/pci.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::num::NonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PCI_CONFIGURATION` [INFO] [stdout] --> lib/rust/virtio/src/pci.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 59 | pub const PCI_CONFIGURATION: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtio_block v0.1.0 (/opt/rustwide/workdir/lib/rust/virtio_block) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceConfig`, `Notify` [INFO] [stdout] --> lib/rust/virtio_block/src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use virtio::pci::{CommonConfig, DeviceConfig, Notify}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `virtio::pci::*` [INFO] [stdout] --> lib/rust/virtio_block/src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use virtio::pci::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling driver_virtio_block v0.1.0 (/opt/rustwide/workdir/drivers/virtio_block) [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> drivers/virtio_block/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> drivers/virtio_block/src/main.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | unsafe fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> drivers/virtio_block/src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | let res = syscall::alloc_dma(Some(d), size).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> drivers/virtio_block/src/main.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let h = pci.get(0, 0, 0).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> drivers/virtio_block/src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let mut dev = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> drivers/virtio_block/src/main.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let dma_alloc = |size| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `TEST` [INFO] [stdout] --> drivers/virtio_block/src/main.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | static mut TEST: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> drivers/virtio_block/src/main.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | writeln!(syscall::SysLog::default(), "Panic! {:#?}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsdp v2.0.0 [INFO] [stderr] Compiling acpi v4.0.0 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libvirtio_block-31a8141ef360ae7c.rlib" "/opt/rustwide/target/debug/deps/libvirtio-a68324f1af89eda8.rlib" "/opt/rustwide/target/debug/deps/libpci-36fd63a2c379b4b9.rlib" "/opt/rustwide/target/debug/deps/libvolatile-8f4cdbed6067f42c.rlib" "/opt/rustwide/target/debug/deps/libendian-a64059b81bfb0a2d.rlib" "/opt/rustwide/target/debug/deps/libkernel-7f9bb3381f2bad2a.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.6.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/drivers/virtio_block/src/main.rs:97: multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.1.rcgu.o: in function `virtio::queue::Queue::new': [INFO] [stdout] /opt/rustwide/workdir/lib/rust/virtio/src/queue.rs:167: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/virtio/src/queue.rs:191: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.12.rcgu.o: in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:163: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.12.rcgu.o: in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:186: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.12.rcgu.o: in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:201: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.13.rcgu.o: in function `virtio_block::BlockDevice::new': [INFO] [stdout] /opt/rustwide/workdir/lib/rust/virtio_block/src/lib.rs:147: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/virtio_block/src/lib.rs:146: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/virtio_block/src/lib.rs:146: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/driver_virtio_block-014d7497b6a7252c.driver_virtio_block.5804604c-cgu.14.rcgu.o:/opt/rustwide/workdir/lib/rust/virtio/src/pci.rs:228: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libvirtio_block-31a8141ef360ae7c.rlib(virtio_block-31a8141ef360ae7c.virtio_block.9f80ece8-cgu.1.rcgu.o): in function `::default': [INFO] [stdout] /opt/rustwide/workdir/lib/rust/virtio_block/src/sector.rs:55: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/virtio_block/src/sector.rs:55: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libpci-36fd63a2c379b4b9.rlib(pci-36fd63a2c379b4b9.pci.5056bd02-cgu.0.rcgu.o): in function `pci::Pci::new': [INFO] [stdout] /opt/rustwide/workdir/lib/rust/pci/src/lib.rs:389: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/pci/src/lib.rs:395: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/pci/src/lib.rs:391: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libkernel-7f9bb3381f2bad2a.rlib(kernel-7f9bb3381f2bad2a.kernel.157fa353-cgu.2.rcgu.o): in function `::default': [INFO] [stdout] /opt/rustwide/workdir/lib/rust/kernel/src/syscall.rs:142: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/lib/rust/kernel/src/syscall.rs:141: undefined reference to `memcpy' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `driver_virtio_block` due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: invalid register `ebx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm [INFO] [stdout] --> boot/amd64/src/cpuid.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | asm!("cpuid", inout("eax") 0 << 31 => max_basic_eax, out("ebx") _, out("ecx") _, out("edx") _); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `ebx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm [INFO] [stdout] --> boot/amd64/src/cpuid.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | asm!("cpuid", inout("eax") 1 << 31 => max_extended_eax, out("ebx") _, out("ecx") _, out("edx") _); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `ebx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm [INFO] [stdout] --> boot/amd64/src/cpuid.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | asm!("cpuid", inout("eax") id => eax, out("ebx") ebx, out("ecx") ecx, out("edx") edx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> boot/amd64/src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "fastcall" fn main(magic: u32, arg: *const u8) -> Return { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7cfad548ded72fddcedae9664ab5459432063c131307b3825cc1b13239ac57ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfad548ded72fddcedae9664ab5459432063c131307b3825cc1b13239ac57ce", kill_on_drop: false }` [INFO] [stdout] 7cfad548ded72fddcedae9664ab5459432063c131307b3825cc1b13239ac57ce