[INFO] cloning repository https://github.com/jonay2000/laurelin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonay2000/laurelin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Flaurelin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Flaurelin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e65808b895687122cf8197d212be1d11c06a7153 [INFO] testing jonay2000/laurelin against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonay2000%2Flaurelin" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jonay2000/laurelin [INFO] finished tweaking git repo https://github.com/jonay2000/laurelin [INFO] tweaked toml for git repo https://github.com/jonay2000/laurelin written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonay2000/laurelin on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonay2000/laurelin 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e99959117b69d219bbe2662a8497b0d90b71374f9d14605b20caf6d7dfce926 [INFO] running `Command { std: "docker" "start" "-a" "3e99959117b69d219bbe2662a8497b0d90b71374f9d14605b20caf6d7dfce926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e99959117b69d219bbe2662a8497b0d90b71374f9d14605b20caf6d7dfce926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e99959117b69d219bbe2662a8497b0d90b71374f9d14605b20caf6d7dfce926", kill_on_drop: false }` [INFO] [stdout] 3e99959117b69d219bbe2662a8497b0d90b71374f9d14605b20caf6d7dfce926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdbdf460510f0aea73c051bb0fa9b10e71baff1debab02c328ef0cf4eb0a8209 [INFO] running `Command { std: "docker" "start" "-a" "bdbdf460510f0aea73c051bb0fa9b10e71baff1debab02c328ef0cf4eb0a8209", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling laurelin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `define`, `output`, and `pic` are never used [INFO] [stdout] --> build/file.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn define(mut self, key: impl Into, value: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn output(mut self, name: &'static str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn pic(mut self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `laurelin v0.1.0 (/opt/rustwide/workdir)` [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/laurelin-3449316da73e1f4a/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/asm/entry.S,linker/link.ld,build/build.rs [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_riscv64gc-unknown-none-elf = None [INFO] [stderr] CC_riscv64gc_unknown_none_elf = None [INFO] [stderr] TARGET_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] CFLAGS_riscv64gc-unknown-none-elf = None [INFO] [stderr] CFLAGS_riscv64gc_unknown_none_elf = None [INFO] [stderr] TARGET_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "riscv64-unknown-elf-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-march=rv64gc" "-mabi=lp64" "-mcmodel=medany" "-Wall" "-Wextra" "-mabi=lp64" "-o" "/opt/rustwide/target/debug/build/laurelin-b769e58ebf47366f/out/src/asm/entry.o" "-c" "src/asm/entry.S" [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Failed to find tool. Is `riscv64-unknown-elf-gcc` installed? [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bdbdf460510f0aea73c051bb0fa9b10e71baff1debab02c328ef0cf4eb0a8209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbdf460510f0aea73c051bb0fa9b10e71baff1debab02c328ef0cf4eb0a8209", kill_on_drop: false }` [INFO] [stdout] bdbdf460510f0aea73c051bb0fa9b10e71baff1debab02c328ef0cf4eb0a8209