[INFO] cloning repository https://github.com/lowenware/leos-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lowenware/leos-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd1aa4587ca58217159a7921771da0146ad43ca8 [INFO] checking lowenware/leos-kernel against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel 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/lowenware/leos-kernel [INFO] finished tweaking git repo https://github.com/lowenware/leos-kernel [INFO] tweaked toml for git repo https://github.com/lowenware/leos-kernel written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/lowenware/leos-kernel 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 411715c940f597ded0687d8e1b82e8c40215a18342d89f6d6121c4404f2bfe37 [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" "411715c940f597ded0687d8e1b82e8c40215a18342d89f6d6121c4404f2bfe37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411715c940f597ded0687d8e1b82e8c40215a18342d89f6d6121c4404f2bfe37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411715c940f597ded0687d8e1b82e8c40215a18342d89f6d6121c4404f2bfe37", kill_on_drop: false }` [INFO] [stdout] 411715c940f597ded0687d8e1b82e8c40215a18342d89f6d6121c4404f2bfe37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] a3019235210e7ccfe785d5fbf403fca3fb45a157999f3ef474990d59de1f2fd4 [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" "a3019235210e7ccfe785d5fbf403fca3fb45a157999f3ef474990d59de1f2fd4", kill_on_drop: false }` [INFO] [stderr] Checking leos-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::UART0`, `crate::platform::TIMER0` [INFO] [stdout] --> src/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::platform::{UART0, TIMER0}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `TIMER0` in `platform` [INFO] [stdout] | | [INFO] [stdout] | no `UART0` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::UART0`, `crate::platform::TIMER0` [INFO] [stdout] --> src/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::platform::{UART0, TIMER0}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `TIMER0` in `platform` [INFO] [stdout] | | [INFO] [stdout] | no `UART0` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `platform` [INFO] [stdout] --> src/main.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | platform::init(); [INFO] [stdout] | ^^^^ not found in `platform` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::aarch64::drivers::mmu::init; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::memory::init; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::scheduler::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/aarch64/context.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | pub fn aarch64_switch_context(current_addr: usize, next_addr: usize); [INFO] [stdout] 16 | | pub fn aarch64_start_task(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `platform` [INFO] [stdout] --> src/main.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | platform::init(); [INFO] [stdout] | ^^^^ not found in `platform` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::aarch64::drivers::mmu::init; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::memory::init; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::scheduler::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/memory.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | fn on_alloc_error(layout: alloc::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-edfba68bd3501617.rlib [INFO] [stdout] = note: second definition in the local crate (`leos_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-edfba68bd3501617.rlib [INFO] [stdout] = note: second definition in the local crate (`leos_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/aarch64/context.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | pub fn aarch64_switch_context(current_addr: usize, next_addr: usize); [INFO] [stdout] 16 | | pub fn aarch64_start_task(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTimer` [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::drivers::{SystemTimer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::drivers::SerialDevice` [INFO] [stdout] --> src/log.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::drivers::SerialDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptController` [INFO] [stdout] --> src/irq.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::drivers::{InterruptController}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leos-kernel` [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] warning: unused import: `SystemTimer` [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::drivers::{SystemTimer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::drivers::SerialDevice` [INFO] [stdout] --> src/log.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::drivers::SerialDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptController` [INFO] [stdout] --> src/irq.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::drivers::{InterruptController}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a3019235210e7ccfe785d5fbf403fca3fb45a157999f3ef474990d59de1f2fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3019235210e7ccfe785d5fbf403fca3fb45a157999f3ef474990d59de1f2fd4", kill_on_drop: false }` [INFO] [stdout] a3019235210e7ccfe785d5fbf403fca3fb45a157999f3ef474990d59de1f2fd4