[INFO] cloning repository https://github.com/yizishun/PianoOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yizishun/PianoOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyizishun%2FPianoOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyizishun%2FPianoOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5511f02cbe976e2a5f5c4a8d78c8cbc6eb012e7 [INFO] checking yizishun/PianoOS against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyizishun%2FPianoOS" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/yizishun/PianoOS [INFO] finished tweaking git repo https://github.com/yizishun/PianoOS [INFO] tweaked toml for git repo https://github.com/yizishun/PianoOS written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yizishun/PianoOS on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yizishun/PianoOS 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rustsbi/rustsbi` [INFO] [stderr] Updating git repository `https://github.com/rustsbi/serde-device-tree` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buddy_system_allocator v0.11.0 [INFO] [stderr] Downloaded riscv-macros v0.3.0 [INFO] [stderr] Downloaded elf v0.8.0 [INFO] [stderr] Downloaded rustflags v0.1.7 [INFO] [stderr] Downloaded riscv v0.15.0 [INFO] [stderr] Downloaded uart16550 v0.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.102 [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.4 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4baf49317155a04d8e24d136120c463b34609a5d03d99a247e55eb130611bec [INFO] running `Command { std: "docker" "start" "-a" "e4baf49317155a04d8e24d136120c463b34609a5d03d99a247e55eb130611bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4baf49317155a04d8e24d136120c463b34609a5d03d99a247e55eb130611bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4baf49317155a04d8e24d136120c463b34609a5d03d99a247e55eb130611bec", kill_on_drop: false }` [INFO] [stdout] e4baf49317155a04d8e24d136120c463b34609a5d03d99a247e55eb130611bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70cb09f64f7fef6a9c79b51bd7c3e3197a80d5b3f4c3a08ae17b055d1ea2b35b [INFO] running `Command { std: "docker" "start" "-a" "70cb09f64f7fef6a9c79b51bd7c3e3197a80d5b3f4c3a08ae17b055d1ea2b35b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking riscv-pac v0.2.0 [INFO] [stderr] Compiling user_lib v0.1.0 (/opt/rustwide/workdir/user) [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling rustflags v0.1.7 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking elf v0.8.0 [INFO] [stderr] Checking uart16550 v0.0.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking sbi-spec v0.0.8 (https://github.com/rustsbi/rustsbi#babc1455) [INFO] [stderr] Checking buddy_system_allocator v0.11.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking sbi-rt v0.0.3 (https://github.com/rustsbi/rustsbi#babc1455) [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling PianoOS v0.1.0 (/opt/rustwide/workdir/os) [INFO] [stderr] warning: PianoOS@0.1.0: Compiler family detection failed due to error: ToolNotFound: failed to find tool "riscv64-none-elf-gcc": No such file or directory (os error 2) [INFO] [stderr] error: failed to run custom build command for `PianoOS v0.1.0 (/opt/rustwide/workdir/os)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/PianoOS-434f256895c03b75/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] [INFO] [stderr] Unsupported ARCH triple=x86_64-unknown-linux-gnu. [INFO] [stderr] Use 'riscv64gc-unknown-none-elf' or 'loongarch64-unknown-none' [INFO] [stderr] app_0: 00hello_world [INFO] [stderr] app_1: 01store_fault [INFO] [stderr] app_2: 02power [INFO] [stderr] app_3: 03priv_inst [INFO] [stderr] app_4: 04priv_csr [INFO] [stderr] app_5: 05task_id [INFO] [stderr] app_6: 06test1_write0 [INFO] [stderr] app_7: 07test1_write1 [INFO] [stderr] app_8: 08write_a [INFO] [stderr] app_9: 09write_b [INFO] [stderr] app_10: 10write_c [INFO] [stderr] app_11: 11power_3 [INFO] [stderr] app_12: 12power_5 [INFO] [stderr] app_13: 13power_7 [INFO] [stderr] app_14: 14sleep [INFO] [stderr] app_15: 15float [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/PianoOS-e3ce296e9cd5bde1/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] cargo:warning=Compiler family detection failed due to error: ToolNotFound: failed to find tool "riscv64-none-elf-gcc": No such file or directory (os error 2) [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] DEBUG = Some(true) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: failed to find tool "riscv64-none-elf-gcc": No such file or directory (os error 2) [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "70cb09f64f7fef6a9c79b51bd7c3e3197a80d5b3f4c3a08ae17b055d1ea2b35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cb09f64f7fef6a9c79b51bd7c3e3197a80d5b3f4c3a08ae17b055d1ea2b35b", kill_on_drop: false }` [INFO] [stdout] 70cb09f64f7fef6a9c79b51bd7c3e3197a80d5b3f4c3a08ae17b055d1ea2b35b