[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#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarkusAkesson/rost on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.4) [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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d3ef3284d3270707314d535935b566a1450a7cc122aad2f7bf71f49d1b8683 [INFO] running `Command { std: "docker" "start" "-a" "e3d3ef3284d3270707314d535935b566a1450a7cc122aad2f7bf71f49d1b8683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d3ef3284d3270707314d535935b566a1450a7cc122aad2f7bf71f49d1b8683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d3ef3284d3270707314d535935b566a1450a7cc122aad2f7bf71f49d1b8683", kill_on_drop: false }` [INFO] [stdout] e3d3ef3284d3270707314d535935b566a1450a7cc122aad2f7bf71f49d1b8683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04227c977f2128443a96af58a706dd3bba377a41959d8620779ee47754b08cba [INFO] running `Command { std: "docker" "start" "-a" "04227c977f2128443a96af58a706dd3bba377a41959d8620779ee47754b08cba", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling rost v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking riscv-pac v0.2.0 (https://github.com/rust-embedded/riscv.git#73635b89) [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling riscv-macros v0.2.0 (https://github.com/rust-embedded/riscv.git#73635b89) [INFO] [stderr] Checking riscv v0.14.0 (https://github.com/rust-embedded/riscv.git#73635b89) [INFO] [stderr] Compiling regex v1.11.1 [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 proc-macro-crate v1.3.1 [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[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/f21fbac535ab2c3bc50db20547f4d48477357103/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54e42b35ab65fe3c.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] [stderr] error: could not compile `rost` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/73635b8/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/73635b8/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)]` on by default [INFO] [stdout] [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] [stdout] Some errors have detailed explanations: E0061, E0133. [INFO] [stdout] [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" "04227c977f2128443a96af58a706dd3bba377a41959d8620779ee47754b08cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04227c977f2128443a96af58a706dd3bba377a41959d8620779ee47754b08cba", kill_on_drop: false }` [INFO] [stdout] 04227c977f2128443a96af58a706dd3bba377a41959d8620779ee47754b08cba