[INFO] cloning repository https://github.com/Pear0/rustos [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pear0/rustos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPear0%2Frustos"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPear0%2Frustos'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e66205fdbaa627552b73c312719c8b8b68681e3d [INFO] checking Pear0/rustos against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPear0%2Frustos" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pear0/rustos on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Pear0/rustos [INFO] finished tweaking git repo https://github.com/Pear0/rustos [INFO] tweaked toml for git repo https://github.com/Pear0/rustos written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Pear0/rustos already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1d7fc834489e0926d201ef6d4b42dc2ea2faaaec34c6a82fc7b45f8c98048f81 [INFO] running `"docker" "start" "-a" "1d7fc834489e0926d201ef6d4b42dc2ea2faaaec34c6a82fc7b45f8c98048f81"` [INFO] [stderr] Blocking waiting for file lock on package cache [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 rlibc v1.0.0 [INFO] [stderr] Checking multiboot2 v0.1.0 [INFO] [stderr] Checking x86_64 v0.1.2 [INFO] [stderr] Checking rustos v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/memory/paging/entry.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / bitflags! { [INFO] [stderr] 37 | | pub flags EntryFlags: u64 { [INFO] [stderr] 38 | | const PRESENT = 1 << 0, [INFO] [stderr] 39 | | const WRITABLE = 1 << 1, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/memory/paging/entry.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / bitflags! { [INFO] [stderr] 37 | | pub flags EntryFlags: u64 { [INFO] [stderr] 38 | | const PRESENT = 1 << 0, [INFO] [stderr] 39 | | const WRITABLE = 1 << 1, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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[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] | ^^^^^^^ method not found in `core::ptr::Unique` [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] | ^^^ method not found in `core::ptr::Unique>` [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] | ^^^^^^^ method not found in `core::ptr::Unique>` [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] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/memory/paging/entry.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / bitflags! { [INFO] [stderr] 37 | | pub flags EntryFlags: u64 { [INFO] [stderr] 38 | | const PRESENT = 1 << 0, [INFO] [stderr] 39 | | const WRITABLE = 1 << 1, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/memory/paging/entry.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / bitflags! { [INFO] [stderr] 37 | | pub flags EntryFlags: u64 { [INFO] [stderr] 38 | | const PRESENT = 1 << 0, [INFO] [stderr] 39 | | const WRITABLE = 1 << 1, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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` (which `std` depends on). [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[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] | ^^^^^^^ method not found in `core::ptr::Unique` [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] | ^^^ method not found in `core::ptr::Unique>` [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] | ^^^^^^^ method not found in `core::ptr::Unique>` [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" "1d7fc834489e0926d201ef6d4b42dc2ea2faaaec34c6a82fc7b45f8c98048f81"` [INFO] running `"docker" "rm" "-f" "1d7fc834489e0926d201ef6d4b42dc2ea2faaaec34c6a82fc7b45f8c98048f81"` [INFO] [stdout] 1d7fc834489e0926d201ef6d4b42dc2ea2faaaec34c6a82fc7b45f8c98048f81