[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#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-12/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f1a758ddf433cc804d47d83f47aee2c5cf771c8741608437c86df140da7bfcf [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" "3f1a758ddf433cc804d47d83f47aee2c5cf771c8741608437c86df140da7bfcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f1a758ddf433cc804d47d83f47aee2c5cf771c8741608437c86df140da7bfcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1a758ddf433cc804d47d83f47aee2c5cf771c8741608437c86df140da7bfcf", kill_on_drop: false }` [INFO] [stdout] 3f1a758ddf433cc804d47d83f47aee2c5cf771c8741608437c86df140da7bfcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b72308d0c9094d488ea612c1f49e6de3b0efddaa4fe08fb921a7cdd60c1a5dc8 [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" "b72308d0c9094d488ea612c1f49e6de3b0efddaa4fe08fb921a7cdd60c1a5dc8", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.5.2 [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[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[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] 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] 71 | | panic!("memory allocation failed: {:?}", layout) [INFO] [stdout] 72 | | } [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/f6e2f78768c57172b99c3e85892f867894dc7e30/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.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] 6 | | log_write!( [INFO] [stdout] 7 | | "\n\n--------------------------------- \ [INFO] [stdout] 8 | | Kernel Panic \ [INFO] [stdout] ... | [INFO] [stdout] 14 | | loop {} [INFO] [stdout] 15 | | } [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/f6e2f78768c57172b99c3e85892f867894dc7e30/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] = note: second definition in the local crate (`leos_kernel`) [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; 3 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; 3 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" "b72308d0c9094d488ea612c1f49e6de3b0efddaa4fe08fb921a7cdd60c1a5dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72308d0c9094d488ea612c1f49e6de3b0efddaa4fe08fb921a7cdd60c1a5dc8", kill_on_drop: false }` [INFO] [stdout] b72308d0c9094d488ea612c1f49e6de3b0efddaa4fe08fb921a7cdd60c1a5dc8