[INFO] cloning repository https://github.com/goldencm/goldOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goldencm/goldOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldencm%2FgoldOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldencm%2FgoldOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95922aa6de5928e147feb8daef7ef72c8770d643 [INFO] checking goldencm/goldOS against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoldencm%2FgoldOS" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goldencm/goldOS on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goldencm/goldOS [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/goldencm/goldOS [INFO] tweaked toml for git repo https://github.com/goldencm/goldOS written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/goldencm/goldOS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e20475bc8e86c69b6fec4c7bd8d70403da803bb6e4b4c014088944684c9171 [INFO] running `Command { std: "docker" "start" "-a" "68e20475bc8e86c69b6fec4c7bd8d70403da803bb6e4b4c014088944684c9171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e20475bc8e86c69b6fec4c7bd8d70403da803bb6e4b4c014088944684c9171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e20475bc8e86c69b6fec4c7bd8d70403da803bb6e4b4c014088944684c9171", kill_on_drop: false }` [INFO] [stdout] 68e20475bc8e86c69b6fec4c7bd8d70403da803bb6e4b4c014088944684c9171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afc2bee90f62f2fa39bc6b1a681b330ec5f509161c86255b431045477a2ec8ea [INFO] running `Command { std: "docker" "start" "-a" "afc2bee90f62f2fa39bc6b1a681b330ec5f509161c86255b431045477a2ec8ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling x86_64 v0.14.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking port_io v0.2.1 (/opt/rustwide/workdir/crate/port_io) [INFO] [stderr] Checking bit_field v0.7.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling bootloader v0.9.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | llvm_asm!("inb %dx, %al" : "={al}"(result) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking log v0.4.14 [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!("outb %al, %dx" :: "{dx}"(port), "{al}"(value) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | llvm_asm!("inw %dx, %ax" : "={ax}"(result) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | llvm_asm!("outw %ax, %dx" :: "{dx}"(port), "{ax}"(value) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | llvm_asm!("inl %dx, %eax" : "={eax}"(result) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> crate/port_io/src/x86.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | llvm_asm!("outl %eax, %dx" :: "{dx}"(port), "{eax}"(value) :: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking rsdp v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs#d0ed1b77) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking linked_list_allocator v0.9.0 [INFO] [stderr] Checking pic8259 v0.10.1 [INFO] [stderr] Checking uart_16550 v0.2.15 [INFO] [stderr] Checking acpi v3.1.0 [INFO] [stderr] Checking bare-io v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 (https://github.com/theseus-os/stable_deref_trait.git?branch=spin#e006c792) [INFO] [stderr] Checking fs_node v0.1.0 (/opt/rustwide/workdir/crate/fs_node) [INFO] [stderr] Checking pci v0.1.0 (/opt/rustwide/workdir/crate/pci) [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking root v0.1.0 (/opt/rustwide/workdir/crate/root) [INFO] [stderr] Checking owning_ref v0.4.1 (https://github.com/theseus-os/owning-ref-rs#0d2dcdcf) [INFO] [stderr] Checking path v0.1.0 (/opt/rustwide/workdir/crate/path) [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling delegate v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking io v0.1.0 (/opt/rustwide/workdir/crate/io) [INFO] [stderr] Checking storage_device v0.1.0 (/opt/rustwide/workdir/crate/storage_device) [INFO] [stderr] Checking ata v0.1.0 (/opt/rustwide/workdir/crate/ata) [INFO] [stderr] Checking storage_manager v0.1.0 (/opt/rustwide/workdir/crate/storage_manager) [INFO] [stderr] Checking OS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::DerefMut` [INFO] [stdout] --> src/interrupts.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{borrow::BorrowMut, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::DerefMut` [INFO] [stdout] --> src/interrupts.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use core::{borrow::BorrowMut, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dispatcher`, `self` [INFO] [stdout] --> src/interrupts.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{gdt, halt_loop, print, println, task::{self, dispatcher}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dispatcher`, `self` [INFO] [stdout] --> src/interrupts.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{gdt, halt_loop, print, println, task::{self, dispatcher}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::dispatcher` [INFO] [stdout] --> src/task/dispatcher.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{print, println, task::dispatcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::dispatcher` [INFO] [stdout] --> src/task/dispatcher.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{print, println, task::dispatcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/serial.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | $crate::serial::_print(format_args!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | serial_println!("[ok]") [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` 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] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `serial_print` [INFO] [stdout] = note: this warning originates in the macro `$crate::serial_print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/serial.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | $crate::serial::_print(format_args!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | serial_println!("[ok]") [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` 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] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `serial_print` [INFO] [stdout] = note: this warning originates in the macro `$crate::serial_print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocked_queue` [INFO] [stdout] --> src/task/dispatcher.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | blocked_queue, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `blocked_queue: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `OS` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0446]: private type `TaskId` in public interface [INFO] [stdout] --> src/task/executor.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(task_id: TaskId, task_queue: Arc>) -> Waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct TaskId(u64); [INFO] [stdout] | ------------------- `TaskId` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocked_queue` [INFO] [stdout] --> src/task/dispatcher.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | blocked_queue : Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `waker_cache` [INFO] [stdout] --> src/task/dispatcher.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | waker_cache: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_ready_tasks` [INFO] [stdout] --> src/task/dispatcher.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn run_ready_tasks(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "afc2bee90f62f2fa39bc6b1a681b330ec5f509161c86255b431045477a2ec8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc2bee90f62f2fa39bc6b1a681b330ec5f509161c86255b431045477a2ec8ea", kill_on_drop: false }` [INFO] [stdout] afc2bee90f62f2fa39bc6b1a681b330ec5f509161c86255b431045477a2ec8ea