[INFO] updating cached repository Pear0/rustos [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Pear0/rustos [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Pear0/rustos" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Pear0/rustos"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Pear0/rustos'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Pear0/rustos" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Pear0/rustos"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Pear0/rustos'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e66205fdbaa627552b73c312719c8b8b68681e3d [INFO] sha for GitHub repo Pear0/rustos: e66205fdbaa627552b73c312719c8b8b68681e3d [INFO] validating manifest of Pear0/rustos on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Pear0/rustos on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Pear0/rustos [INFO] finished frobbing Pear0/rustos [INFO] frobbed toml for Pear0/rustos written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Pear0/rustos/Cargo.toml [INFO] started frobbing Pear0/rustos [INFO] finished frobbing Pear0/rustos [INFO] frobbed toml for Pear0/rustos written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Pear0/rustos/Cargo.toml [INFO] crate Pear0/rustos already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Pear0/rustos against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-3/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Pear0/rustos:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0fa424148ecf8199e4468eed8df77172b3c36a0f8cc61ebd9cbdda2bd0f7c369 [INFO] running `"docker" "start" "-a" "0fa424148ecf8199e4468eed8df77172b3c36a0f8cc61ebd9cbdda2bd0f7c369"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking bit_field v0.7.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking spin v0.4.5 [INFO] [stderr] Checking volatile v0.1.0 [INFO] [stderr] Checking multiboot2 v0.1.0 [INFO] [stderr] Checking x86_64 v0.1.2 [INFO] [stderr] Checking rustos v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `core::ptr::Unique` [INFO] [stderr] --> src/memory/paging/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Level4`, `Table` [INFO] [stderr] --> src/memory/paging/mod.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use self::table::{Table, Level4}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Level1` [INFO] [stderr] --> src/memory/paging/mapper.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use super::table::{self, Table, Level4, Level1}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `WRITABLE` is imported redundantly [INFO] [stderr] --> src/memory/paging/mod.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 14 | pub use self::entry::*; [INFO] [stderr] | -------------- the item `WRITABLE` is already imported here [INFO] [stderr] ... [INFO] [stderr] 152 | use self::entry::WRITABLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::entry::WRITABLE` [INFO] [stderr] --> src/memory/paging/mod.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | use self::entry::WRITABLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/lib.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error: `#[panic_handler]` function required, but not found [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | buffer: Unique, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | p4: Unique>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> src/vga_buffer.rs:103:30 [INFO] [stderr] | [INFO] [stderr] 103 | unsafe { self.buffer.get_mut() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::ptr::Unique` [INFO] [stderr] --> src/memory/paging/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Level4`, `Table` [INFO] [stderr] --> src/memory/paging/mod.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use self::table::{Table, Level4}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Level1` [INFO] [stderr] --> src/memory/paging/mapper.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use super::table::{self, Table, Level4, Level1}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `WRITABLE` is imported redundantly [INFO] [stderr] --> src/memory/paging/mod.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 14 | pub use self::entry::*; [INFO] [stderr] | -------------- the item `WRITABLE` is already imported here [INFO] [stderr] ... [INFO] [stderr] 152 | use self::entry::WRITABLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::entry::WRITABLE` [INFO] [stderr] --> src/memory/paging/mod.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | use self::entry::WRITABLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0152]: duplicate lang item found: `eh_personality`. [INFO] [stderr] --> src/lib.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | extern fn eh_personality() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_unwind`. [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/lib.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | buffer: Unique, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | p4: Unique>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique<_>` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `core::ptr::Unique>` in the current scope [INFO] [stderr] --> src/memory/paging/mapper.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { self.p4.get() } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `core::ptr::Unique>` in the current scope [INFO] [stderr] --> src/memory/paging/mapper.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { self.p4.get_mut() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0522, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rustos`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vga_buffer.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> src/vga_buffer.rs:103:30 [INFO] [stderr] | [INFO] [stderr] 103 | unsafe { self.buffer.get_mut() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vga_buffer.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/memory/paging/mapper.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | p4: Unique::new(table::P4), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique<_>` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `core::ptr::Unique>` in the current scope [INFO] [stderr] --> src/memory/paging/mapper.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { self.p4.get() } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `core::ptr::Unique>` in the current scope [INFO] [stderr] --> src/memory/paging/mapper.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { self.p4.get_mut() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0152, E0308, E0522, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0152`. [INFO] [stderr] error: Could not compile `rustos`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0fa424148ecf8199e4468eed8df77172b3c36a0f8cc61ebd9cbdda2bd0f7c369"` [INFO] running `"docker" "rm" "-f" "0fa424148ecf8199e4468eed8df77172b3c36a0f8cc61ebd9cbdda2bd0f7c369"` [INFO] [stdout] 0fa424148ecf8199e4468eed8df77172b3c36a0f8cc61ebd9cbdda2bd0f7c369