[INFO] cloning repository https://github.com/flakeparadigm/rust_blog_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flakeparadigm/rust_blog_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakeparadigm%2Frust_blog_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakeparadigm%2Frust_blog_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45f8a7e6271b8649fea16bcb5d1ff1463cca5a81 [INFO] checking flakeparadigm/rust_blog_os against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakeparadigm%2Frust_blog_os" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flakeparadigm/rust_blog_os on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flakeparadigm/rust_blog_os [INFO] finished tweaking git repo https://github.com/flakeparadigm/rust_blog_os [INFO] tweaked toml for git repo https://github.com/flakeparadigm/rust_blog_os written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/flakeparadigm/rust_blog_os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/phil-opp/multiboot2-elf64` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/phil-opp/multiboot2-elf64` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea7dc68b2a862398b7b43f3da9ab9306713df1b455a10618727035c8ab696ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ea7dc68b2a862398b7b43f3da9ab9306713df1b455a10618727035c8ab696ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea7dc68b2a862398b7b43f3da9ab9306713df1b455a10618727035c8ab696ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea7dc68b2a862398b7b43f3da9ab9306713df1b455a10618727035c8ab696ec", kill_on_drop: false }` [INFO] [stdout] 4ea7dc68b2a862398b7b43f3da9ab9306713df1b455a10618727035c8ab696ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53d0cc13a4172f3553616125e56725eb3275fe51e8cec2570ef215cd72433777 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53d0cc13a4172f3553616125e56725eb3275fe51e8cec2570ef215cd72433777", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking multiboot2 v0.9.0 (https://github.com/phil-opp/multiboot2-elf64#30d64f41) [INFO] [stderr] Checking rust_blog_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[lang = "panic_fmt"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/memory/area_frame_allocator.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | areas: MemoryAreaIter, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AreaFrameAllocator<'a> { [INFO] [stdout] 5 | next_free_frame: Frame, [INFO] [stdout] 6 | current_area: Option<&'static MemoryArea>, [INFO] [stdout] 7 | areas: MemoryAreaIter<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | buffer: Unique, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-cb36837ea2d84c1b.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_blog_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[lang = "panic_fmt"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/memory/area_frame_allocator.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | areas: MemoryAreaIter, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AreaFrameAllocator<'a> { [INFO] [stdout] 5 | next_free_frame: Frame, [INFO] [stdout] 6 | current_area: Option<&'static MemoryArea>, [INFO] [stdout] 7 | areas: MemoryAreaIter<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/vga_buffer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | buffer: Unique, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | area.base_addr, area.length); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | area.base_addr, area.length); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size(), section.flags); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `flags` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | let kernel_start = elf_sections_tag.sections().map(|s| s.addr) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size) [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size()) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `total_size` on type `BootInformation` [INFO] [stdout] --> src/lib.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | let multiboot_end = multiboot_start + (boot_info.total_size as usize); [INFO] [stdout] | ^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 56 | let multiboot_end = multiboot_start + (boot_info.total_size() as usize); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `memory_areas` [INFO] [stdout] --> src/memory/area_frame_allocator.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 16 | memory_areas: MemoryAreaIter) -> AreaFrameAllocator [INFO] [stdout] | -------------- help: add explicit lifetime `'static` to the type of `memory_areas`: `MemoryAreaIter<'static>` [INFO] [stdout] ... [INFO] [stdout] 21 | areas: memory_areas, [INFO] [stdout] | ^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | }).min_by_key(|area| area.base_addr); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | let start_frame = Frame::containing_address(area.base_addr as usize); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> src/vga_buffer.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe{ self.buffer.get_mut() } [INFO] [stdout] | ^^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0522, E0599, E0609, E0615, E0616, E0621, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_blog_os` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vga_buffer.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | area.base_addr, area.length); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | area.base_addr, area.length); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size(), section.flags); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `flags` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags); [INFO] [stdout] | ^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 42 | section.addr, section.size, section.flags()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | let kernel_start = elf_sections_tag.sections().map(|s| s.addr) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection` [INFO] [stdout] --> src/lib.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size) [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 48 | let kernel_end = elf_sections_tag.sections().map(|s| s.addr + s.size()) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `total_size` on type `BootInformation` [INFO] [stdout] --> src/lib.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | let multiboot_end = multiboot_start + (boot_info.total_size as usize); [INFO] [stdout] | ^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 56 | let multiboot_end = multiboot_start + (boot_info.total_size() as usize); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `memory_areas` [INFO] [stdout] --> src/memory/area_frame_allocator.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 16 | memory_areas: MemoryAreaIter) -> AreaFrameAllocator [INFO] [stdout] | -------------- help: add explicit lifetime `'static` to the type of `memory_areas`: `MemoryAreaIter<'static>` [INFO] [stdout] ... [INFO] [stdout] 21 | areas: memory_areas, [INFO] [stdout] | ^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | }).min_by_key(|area| area.base_addr); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | let start_frame = Frame::containing_address(area.base_addr as usize); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private [INFO] [stdout] --> src/memory/area_frame_allocator.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | let address = area.base_addr + area.length - 1; [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> src/vga_buffer.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe{ self.buffer.get_mut() } [INFO] [stdout] | ^^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0152, E0308, E0522, E0599, E0609, E0615, E0616, E0621... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "53d0cc13a4172f3553616125e56725eb3275fe51e8cec2570ef215cd72433777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d0cc13a4172f3553616125e56725eb3275fe51e8cec2570ef215cd72433777", kill_on_drop: false }` [INFO] [stdout] 53d0cc13a4172f3553616125e56725eb3275fe51e8cec2570ef215cd72433777