[INFO] cloning repository https://github.com/MarkusAkesson/rost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarkusAkesson/rost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb5b1ff855a75b137d283e970274f42cbe373f67 [INFO] checking MarkusAkesson/rost/fb5b1ff855a75b137d283e970274f42cbe373f67 against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MarkusAkesson/rost [INFO] finished tweaking git repo https://github.com/MarkusAkesson/rost [INFO] tweaked toml for git repo https://github.com/MarkusAkesson/rost written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarkusAkesson/rost on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "generate-lockfile" "--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/rust-embedded/riscv.git` [INFO] [stderr] Updating git repository `https://github.com/rust-embedded/riscv-rt.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.5) [INFO] [stderr] Adding spin v0.5.2 (available: v0.10.0) [INFO] [stderr] Adding volatile v0.2.7 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv v0.10.1 [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded regex v1.12.2 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded aho-corasick v1.1.4 [INFO] [stderr] Downloaded regex-syntax v0.8.8 [INFO] [stderr] Downloaded regex-automata v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f0b73265733709dbee1c5dba74a97404a329db93b4372d49dffc2dca659bb72 [INFO] running `Command { std: "docker" "start" "-a" "5f0b73265733709dbee1c5dba74a97404a329db93b4372d49dffc2dca659bb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f0b73265733709dbee1c5dba74a97404a329db93b4372d49dffc2dca659bb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0b73265733709dbee1c5dba74a97404a329db93b4372d49dffc2dca659bb72", kill_on_drop: false }` [INFO] [stdout] 5f0b73265733709dbee1c5dba74a97404a329db93b4372d49dffc2dca659bb72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7911feede1d7a34b3b9ef16f08a2860428c6b278e38a9195748f463ee8ec3431 [INFO] running `Command { std: "docker" "start" "-a" "7911feede1d7a34b3b9ef16f08a2860428c6b278e38a9195748f463ee8ec3431", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rost v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking riscv-pac v0.2.0 (https://github.com/rust-embedded/riscv.git#8499f1a1) [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling riscv-macros v0.3.0 (https://github.com/rust-embedded/riscv.git#8499f1a1) [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking riscv v0.15.0 (https://github.com/rust-embedded/riscv.git#8499f1a1) [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv-rt v0.11.0 (https://github.com/rust-embedded/riscv-rt.git#f7b4f6ec) [INFO] [stderr] Compiling riscv-rt-macros v0.2.0 (https://github.com/rust-embedded/riscv-rt.git#f7b4f6ec) [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/clint.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | mtvec::write(timervec as usize, stvec::TrapMode::Direct); [INFO] [stdout] | ^^^^^^^^^^^^ ----------------- ----------------------- unexpected argument #2 of type `TrapMode` [INFO] [stdout] | | [INFO] [stdout] | expected `Mtvec`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-e5c4809301ffb4ef/8499f1a/riscv/src/register/mtvec.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / read_write_csr! { [INFO] [stdout] 9 | | /// mtvec register [INFO] [stdout] 10 | | Mtvec: 0x305, [INFO] [stdout] 11 | | mask: MASK, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `$crate::write_csr_as` which comes from the expansion of the macro `read_write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 58 - mtvec::write(timervec as usize, stvec::TrapMode::Direct); [INFO] [stdout] 58 + mtvec::write(/* Mtvec */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/trap.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | register::stvec::write(_start_trap as usize, register::stvec::TrapMode::Direct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ -------------------- --------------------------------- unexpected argument #2 of type `TrapMode` [INFO] [stdout] | | [INFO] [stdout] | expected `Stvec`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-e5c4809301ffb4ef/8499f1a/riscv/src/register/stvec.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / read_write_csr! { [INFO] [stdout] 9 | | /// stvec register [INFO] [stdout] 10 | | Stvec: 0x105, [INFO] [stdout] 11 | | mask: usize::MAX, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `$crate::write_csr_as` which comes from the expansion of the macro `read_write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 142 - register::stvec::write(_start_trap as usize, register::stvec::TrapMode::Direct); [INFO] [stdout] 142 + register::stvec::write(/* Stvec */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/arch/riscv.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 20 | | println!("hart {} aborting: ", arch::riscv::thread_pointer()); [INFO] [stdout] 21 | | if let Some(p) = info.location() { [INFO] [stdout] 22 | | println!("line {}, file {}: {}", p.line(), p.file(), info.message()); [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [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/f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib [INFO] [stdout] = note: second definition in the local crate (`rost`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `riscv::register::sepc::write` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/trap.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | register::sepc::write(epc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rost` (lib test) due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0061, E0133. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rost` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7911feede1d7a34b3b9ef16f08a2860428c6b278e38a9195748f463ee8ec3431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7911feede1d7a34b3b9ef16f08a2860428c6b278e38a9195748f463ee8ec3431", kill_on_drop: false }` [INFO] [stdout] 7911feede1d7a34b3b9ef16f08a2860428c6b278e38a9195748f463ee8ec3431