[INFO] updating cached repository https://github.com/boyuangong/os_rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e9a87781af6ee3db99841d3b253ab77273272826
[INFO] checking boyuangong/os_rust against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboyuangong%2Fos_rust" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/boyuangong/os_rust on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/boyuangong/os_rust
[INFO] finished tweaking git repo https://github.com/boyuangong/os_rust
[INFO] tweaked toml for git repo https://github.com/boyuangong/os_rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/boyuangong/os_rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 92c5b999e3f6a0406ea32cf8c7cb95a468bb1c5e6750678e81fbf9a035b9e3f2
[INFO] running `"docker" "start" "-a" "92c5b999e3f6a0406ea32cf8c7cb95a468bb1c5e6750678e81fbf9a035b9e3f2"`
[INFO] [stderr]     Checking cpuio v0.2.0
[INFO] [stderr]     Checking pc-keyboard v0.3.1
[INFO] [stderr]    Compiling getopts v0.2.18
[INFO] [stderr]     Checking array-init v0.0.3
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]     Checking pic8259_simple v0.1.1
[INFO] [stderr]    Compiling raw-cpuid v6.1.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling pulldown-cmark v0.0.3
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling skeptic v0.5.0
[INFO] [stderr]     Checking x86_64 v0.4.2
[INFO] [stderr]    Compiling fixedvec v0.2.3
[INFO] [stderr]     Checking bootloader v0.3.14
[INFO] [stderr]     Checking os_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `alloc::alloc::Alloc`
[INFO] [stderr]  --> src/heap_allocator.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use alloc::alloc::{Alloc, AllocErr, Layout};
[INFO] [stderr]   |                    ^^^^^
[INFO] [stderr]   |                    |
[INFO] [stderr]   |                    no `Alloc` in `alloc`
[INFO] [stderr]   |                    help: a similar name exists in the module: `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::boxed::Box`
[INFO] [stderr]   --> src/lib.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use alloc::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/vga_buffer.rs:91:21
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 0x20...0x7e | b'\n' => self.write_byte(byte),
[INFO] [stderr]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the item `hlt_loop` is imported redundantly
[INFO] [stderr]   --> src/interrupts.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::{gdt, hlt_loop, print, println};
[INFO] [stderr]    |                  -------- the item `hlt_loop` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 49 |     use crate::hlt_loop;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Hole`, `align_up`
[INFO] [stderr]  --> src/heap_allocator.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::hole::{HoleList, Hole, align_up};
[INFO] [stderr]   |                             ^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::null_mut`
[INFO] [stderr]  --> src/heap_allocator.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use core::ptr::null_mut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::mem`
[INFO] [stderr]  --> src/heap_allocator.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use core::mem;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not compile `os_rust`.
[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] [stderr] error[E0432]: unresolved import `alloc::alloc::Alloc`
[INFO] [stderr]  --> src/heap_allocator.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use alloc::alloc::{Alloc, AllocErr, Layout};
[INFO] [stderr]   |                    ^^^^^
[INFO] [stderr]   |                    |
[INFO] [stderr]   |                    no `Alloc` in `alloc`
[INFO] [stderr]   |                    help: a similar name exists in the module: `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::boxed::Box`
[INFO] [stderr]   --> src/lib.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use alloc::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/vga_buffer.rs:91:21
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 0x20...0x7e | b'\n' => self.write_byte(byte),
[INFO] [stderr]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the item `hlt_loop` is imported redundantly
[INFO] [stderr]   --> src/interrupts.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::{gdt, hlt_loop, print, println};
[INFO] [stderr]    |                  -------- the item `hlt_loop` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 49 |     use crate::hlt_loop;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Hole`, `align_up`
[INFO] [stderr]  --> src/heap_allocator.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::hole::{HoleList, Hole, align_up};
[INFO] [stderr]   |                             ^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::null_mut`
[INFO] [stderr]  --> src/heap_allocator.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use core::ptr::null_mut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::mem`
[INFO] [stderr]  --> src/heap_allocator.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use core::mem;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not compile `os_rust`.
[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] [stderr] error[E0432]: unresolved import `alloc::alloc::Alloc`
[INFO] [stderr]  --> src/heap_allocator.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 | use alloc::alloc::{Alloc, AllocErr, Layout};
[INFO] [stderr]   |                    ^^^^^
[INFO] [stderr]   |                    |
[INFO] [stderr]   |                    no `Alloc` in `alloc`
[INFO] [stderr]   |                    help: a similar name exists in the module: `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::boxed::Box`
[INFO] [stderr]   --> src/lib.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use alloc::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/vga_buffer.rs:91:21
[INFO] [stderr]    |
[INFO] [stderr] 91 |                 0x20...0x7e | b'\n' => self.write_byte(byte),
[INFO] [stderr]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the item `Box` is imported redundantly
[INFO] [stderr]    --> src/vga_buffer.rs:154:13
[INFO] [stderr]     |
[INFO] [stderr] 154 |         use std::boxed::Box;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: the item `hlt_loop` is imported redundantly
[INFO] [stderr]   --> src/interrupts.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::{gdt, hlt_loop, print, println};
[INFO] [stderr]    |                  -------- the item `hlt_loop` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 49 |     use crate::hlt_loop;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Hole`, `align_up`
[INFO] [stderr]  --> src/heap_allocator.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::hole::{HoleList, Hole, align_up};
[INFO] [stderr]   |                             ^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::null_mut`
[INFO] [stderr]  --> src/heap_allocator.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use core::ptr::null_mut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::mem`
[INFO] [stderr]  --> src/heap_allocator.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use core::mem;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0152]: found duplicate lang item `oom`
[INFO] [stderr]   --> src/lib.rs:46:1
[INFO] [stderr]    |
[INFO] [stderr] 46 | / fn alloc_error(_layout: Layout) -> ! {
[INFO] [stderr] 47 | |     loop {}
[INFO] [stderr] 48 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the lang item is first defined in crate `std` (which `os_rust` depends on)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0152, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0152`.
[INFO] [stderr] error: could not compile `os_rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "92c5b999e3f6a0406ea32cf8c7cb95a468bb1c5e6750678e81fbf9a035b9e3f2"`
[INFO] running `"docker" "rm" "-f" "92c5b999e3f6a0406ea32cf8c7cb95a468bb1c5e6750678e81fbf9a035b9e3f2"`
[INFO] [stdout] 92c5b999e3f6a0406ea32cf8c7cb95a468bb1c5e6750678e81fbf9a035b9e3f2
