[INFO] cloning repository https://github.com/Julie22K/OS-lab2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Julie22K/OS-lab2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulie22K%2FOS-lab2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulie22K%2FOS-lab2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63b38db3c8fc075e141965903c7cc1267b37a35e [INFO] checking Julie22K/OS-lab2 against master#ff0b4b6091a75ad840035a991426c8bc9fbd93bb for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulie22K%2FOS-lab2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Julie22K/OS-lab2 on toolchain ff0b4b6091a75ad840035a991426c8bc9fbd93bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Julie22K/OS-lab2 [INFO] finished tweaking git repo https://github.com/Julie22K/OS-lab2 [INFO] tweaked toml for git repo https://github.com/Julie22K/OS-lab2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Julie22K/OS-lab2 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" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Julie22K/OS-lab2 against try#9ee647322baa27cc6bb1a95b4595bad94b334fcf for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulie22K%2FOS-lab2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Julie22K/OS-lab2 on toolchain 9ee647322baa27cc6bb1a95b4595bad94b334fcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Julie22K/OS-lab2 [INFO] finished tweaking git repo https://github.com/Julie22K/OS-lab2 [INFO] tweaked toml for git repo https://github.com/Julie22K/OS-lab2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Julie22K/OS-lab2 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" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fda65635f8581019d0c0f7a3da3602aed2eb896ef1b2db330e664fe5ab87497 [INFO] running `Command { std: "docker" "start" "-a" "1fda65635f8581019d0c0f7a3da3602aed2eb896ef1b2db330e664fe5ab87497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fda65635f8581019d0c0f7a3da3602aed2eb896ef1b2db330e664fe5ab87497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fda65635f8581019d0c0f7a3da3602aed2eb896ef1b2db330e664fe5ab87497", kill_on_drop: false }` [INFO] [stdout] 1fda65635f8581019d0c0f7a3da3602aed2eb896ef1b2db330e664fe5ab87497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b37ce5cafa7149dafcf97596f301403a8e7dbabf0d4109dc2b2e04faf65edfb3 [INFO] running `Command { std: "docker" "start" "-a" "b37ce5cafa7149dafcf97596f301403a8e7dbabf0d4109dc2b2e04faf65edfb3", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking unios v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `game_of_life` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod game_of_life; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `game_of_life`, create file "src/game_of_life.rs" or "src/game_of_life/mod.rs" [INFO] [stdout] = note: if there is a `mod game_of_life` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `game_of_life` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod game_of_life; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `game_of_life`, create file "src/game_of_life.rs" or "src/game_of_life/mod.rs" [INFO] [stdout] = note: if there is a `mod game_of_life` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::game_of_life::game_of_life` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::game_of_life::game_of_life; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `game_of_life` in `game_of_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::write` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::game_of_life::game_of_life` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::game_of_life::game_of_life; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `game_of_life` in `game_of_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COLOR` [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::vga_buf::{Alignment, Color, DEFAULT_COLOR, Screen}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::write` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COLOR` [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::vga_buf::{Alignment, Color, DEFAULT_COLOR, Screen}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | fn 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/9ee647322baa27cc6bb1a95b4595bad94b334fcf/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb8a07e9874efeeb.rlib [INFO] [stdout] = note: second definition in the local crate (`unios`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unios` (bin "unios" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "C" fn _start() -> ! { [INFO] [stdout] | - expected `!` because of return type [INFO] [stdout] ... [INFO] [stdout] 23 | / for i in 0..100{ [INFO] [stdout] 24 | | write!(screen, "number {}\n", i); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unios` (bin "unios") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b37ce5cafa7149dafcf97596f301403a8e7dbabf0d4109dc2b2e04faf65edfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37ce5cafa7149dafcf97596f301403a8e7dbabf0d4109dc2b2e04faf65edfb3", kill_on_drop: false }` [INFO] [stdout] b37ce5cafa7149dafcf97596f301403a8e7dbabf0d4109dc2b2e04faf65edfb3