Monday, October 3
Shadow

[Cargo Error message] bootloader/example/test_framework

Compiling rustversion v1.0.9
   Compiling bit_field v0.10.1
   Compiling volatile v0.4.4
   Compiling bitflags v1.2.1
   Compiling scopeguard v1.1.0
   Compiling bootloader v0.10.12 (/mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader)
error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `sized`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `unsize`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `structural_peq`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `structural_teq`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `copy`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `clone`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `sync`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `discriminant_kind`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `discriminant_type`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `pointee_trait`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `metadata_type`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `dyn_metadata`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `freeze`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `drop`.
  |
  = note: the lang item is first defined in crate `core` (which `bitflags` depends on)
  = note: first definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-9c25ca83ea7ceef6.rmeta
  = note: second definition in `core` loaded from /mnt/c/Users/User/Desktop/WSL/Rust/os/test/osdev-bootloader/examples/test_framework/target/x86_64-custom/debug/deps/libcore-c0e86ca31744b085.rmeta

error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `destruct`.
  |

Leave a Reply