[INFO] cloning repository https://github.com/RedstoneWizard08/kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RedstoneWizard08/kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedstoneWizard08%2Fkernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedstoneWizard08%2Fkernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2ad7188cd7ac047b5a7a076228ccbed4cc995c2 [INFO] checking RedstoneWizard08/kernel/d2ad7188cd7ac047b5a7a076228ccbed4cc995c2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedstoneWizard08%2Fkernel" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RedstoneWizard08/kernel on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RedstoneWizard08/kernel [INFO] finished tweaking git repo https://github.com/RedstoneWizard08/kernel [INFO] tweaked toml for git repo https://github.com/RedstoneWizard08/kernel written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RedstoneWizard08/kernel already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-executor v0.3.26 [INFO] [stderr] Downloaded is-terminal v0.4.3 [INFO] [stderr] Downloaded io-lifetimes v1.0.5 [INFO] [stderr] Downloaded unicode-bidi v0.3.10 [INFO] [stderr] Downloaded futures v0.3.26 [INFO] [stderr] Downloaded hyperlocal v0.8.0 [INFO] [stderr] Downloaded tock-registers v0.8.1 [INFO] [stderr] Downloaded aarch64-cpu v9.3.1 [INFO] [stderr] Downloaded bollard-buildkit-proto v0.1.0 [INFO] [stderr] Downloaded bollard v0.14.0 [INFO] [stderr] Downloaded bollard-stubs v1.42.0-rc.7 [INFO] [stderr] Downloaded serde_with v2.2.0 [INFO] [stderr] Downloaded time v0.3.19 [INFO] [stderr] Downloaded ct-logs v0.9.0 [INFO] [stderr] Downloaded serde_repr v0.1.10 [INFO] [stderr] Downloaded time-macros v0.2.7 [INFO] [stderr] Downloaded qemu-exit v3.0.1 [INFO] [stderr] Downloaded rustix v0.36.8 [INFO] [stderr] Downloaded clap v4.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e8b3abca91a2fe47a76a1f1818644fbbebf98919e4d9bb9c5878ade815e849c [INFO] running `Command { std: "docker" "start" "-a" "3e8b3abca91a2fe47a76a1f1818644fbbebf98919e4d9bb9c5878ade815e849c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e8b3abca91a2fe47a76a1f1818644fbbebf98919e4d9bb9c5878ade815e849c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8b3abca91a2fe47a76a1f1818644fbbebf98919e4d9bb9c5878ade815e849c", kill_on_drop: false }` [INFO] [stdout] 3e8b3abca91a2fe47a76a1f1818644fbbebf98919e4d9bb9c5878ade815e849c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cae4d19b370377bd490d1aa04357b1c3ae0de19097c6e642b7d6393fc755f10f [INFO] running `Command { std: "docker" "start" "-a" "cae4d19b370377bd490d1aa04357b1c3ae0de19097c6e642b7d6393fc755f10f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking slab v0.4.8 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking debug-symbol-types v0.1.0 (/opt/rustwide/workdir/libraries/debug-symbol-types) [INFO] [stderr] Checking test-types v0.1.0 (/opt/rustwide/workdir/libraries/test-types) [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling kernel v0.20.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking linked_list_allocator v0.10.4 [INFO] [stderr] Checking qemu-exit v3.0.1 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking tock-registers v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.51/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.64 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling axum-core v0.3.2 [INFO] [stderr] Compiling axum v0.6.7 [INFO] [stdout] error: Add the target_arch to above's check if the following code is safe to use [INFO] [stdout] --> kernel/src/panic_wait.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | compile_error!("Add the target_arch to above's check if the following code is safe to use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stdout] error[E0432]: unresolved import `arch_backtrace` [INFO] [stdout] --> kernel/src/backtrace.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use arch_backtrace::{corrupt_link, corrupt_previous_frame_addr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `arch_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_smp` [INFO] [stdout] --> kernel/src/cpu/smp.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use arch_smp::core_id; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arch_smp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_cpu` [INFO] [stdout] --> kernel/src/cpu.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use arch_cpu::{nop, wait_forever}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arch_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_cpu` [INFO] [stdout] --> kernel/src/cpu.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use arch_cpu::{qemu_exit_failure, qemu_exit_success}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arch_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_asynchronous` [INFO] [stdout] --> kernel/src/exception/asynchronous.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use arch_asynchronous::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `arch_asynchronous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch_exception` [INFO] [stdout] --> kernel/src/exception.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use arch_exception::{current_privilege_level, handling_init}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `arch_exception` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(is_sorted)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonzero_min_max` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | #![feature(nonzero_min_max)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unchecked_math` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | #![feature(unchecked_math)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] Compiling bollard-buildkit-proto v0.1.0 [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | static KERNEL_TABLES: InitStateLock = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | InitStateLock::new(KernelTranslationTable::new_for_precompute()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_for_precompute` found for type `_` in the current scope [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | InitStateLock::new(KernelTranslationTable::new_for_precompute()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | InitStateLock::new(KernelTranslationTable::new_for_precompute()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:146:62 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn kernel_translation_tables() -> &'static InitStateLock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for struct `PanicMessage` in the current scope [INFO] [stdout] --> kernel/src/panic_wait.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | info.message().unwrap_or(&format_args!("")), [INFO] [stdout] | ^^^^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_backtrace` [INFO] [stdout] --> kernel/src/backtrace.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | arch_backtrace::backtrace(trace_formatter); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `arch_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/bsp/aarch64/memory/mmu.rs:146:86 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn kernel_translation_tables() -> &'static InitStateLock { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 147 | | &KERNEL_TABLES [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/memory/mmu.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | bsp::memory::mmu::kernel_translation_tables() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&mut _` [INFO] [stdout] --> kernel/src/memory/mmu.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | .write(|tables| tables.map_at(virt_region, phys_region, attr))?; [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 99 | .write(|tables: &mut T| tables.map_at(virt_region, phys_region, attr))?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/memory/mmu.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | bsp::memory::mmu::kernel_translation_tables() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> kernel/src/memory/mmu.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | .read(|tables| tables.try_virt_addr_to_phys_addr(virt_addr)) [INFO] [stdout] | ^^^^^^ -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 113 | .read(|tables: &T| tables.try_virt_addr_to_phys_addr(virt_addr)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arch_address_space_size_sanity_checks` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> kernel/src/memory/mmu.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct AddressSpace; [INFO] [stdout] | --------------------------------------------- function or associated item `arch_address_space_size_sanity_checks` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | Self::arch_address_space_size_sanity_checks(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/memory/mmu.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | bsp::memory::mmu::kernel_translation_tables() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> kernel/src/memory/mmu.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | .read(|tables| tables.try_virt_page_addr_to_phys_page_addr(virt_page_addr)) [INFO] [stdout] | ^^^^^^ ------------------------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 234 | .read(|tables: &T| tables.try_virt_page_addr_to_phys_page_addr(virt_page_addr)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddressSpace<{ kernel_virt_addr_space_size() }>: AssociatedTranslationTable` is not satisfied [INFO] [stdout] --> kernel/src/memory/mmu.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | bsp::memory::mmu::kernel_translation_tables() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AssociatedTranslationTable` is not implemented for `AddressSpace<{ kernel_virt_addr_space_size() }>` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> kernel/src/memory/mmu.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait AssociatedTranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> kernel/src/memory/mmu.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | .read(|tables| tables.try_page_attributes(virt_page_addr)) [INFO] [stdout] | ^^^^^^ ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 244 | .read(|tables: &T| tables.try_page_attributes(virt_page_addr)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_mmu` [INFO] [stdout] --> kernel/src/memory/mmu.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | arch_mmu::mmu().enable_mmu_and_caching(phys_tables_base_addr) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arch_mmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | arch_time::resolution() [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | arch_time::uptime() [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | arch_time::spin_for(duration) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | arch_time::set_timeout_irq(queue.peek_next_due_time().unwrap()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:178:72 [INFO] [stdout] | [INFO] [stdout] 178 | driver::DeviceDriverDescriptor::new(time_manager(), None, Some(arch_time::timeout_irq())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | arch_time::conclude_timeout_irq(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch_time` [INFO] [stdout] --> kernel/src/time.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | arch_time::set_timeout_irq(due_time); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `arch_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `translation_table::interface::TranslationTable` [INFO] [stdout] --> kernel/src/memory/mmu.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use translation_table::interface::TranslationTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interface::MMU` [INFO] [stdout] --> kernel/src/memory/mmu.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use interface::MMU; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (lib) due to 33 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cae4d19b370377bd490d1aa04357b1c3ae0de19097c6e642b7d6393fc755f10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae4d19b370377bd490d1aa04357b1c3ae0de19097c6e642b7d6393fc755f10f", kill_on_drop: false }` [INFO] [stdout] cae4d19b370377bd490d1aa04357b1c3ae0de19097c6e642b7d6393fc755f10f