[INFO] cloning repository https://github.com/tw666/riscv-simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tw666/riscv-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftw666%2Friscv-simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftw666%2Friscv-simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ff2fdc44581416322afeefe0a23afdf355e82ca5
[INFO] checking tw666/riscv-simulator against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftw666%2Friscv-simulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tw666/riscv-simulator
[INFO] finished tweaking git repo https://github.com/tw666/riscv-simulator
[INFO] tweaked toml for git repo https://github.com/tw666/riscv-simulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tw666/riscv-simulator on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tw666/riscv-simulator 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" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af
[INFO] running `Command { std: "docker" "start" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking lru v0.6.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling linkme-impl v0.2.5
[INFO] [stderr]     Checking linkme v0.2.5
[INFO] [stderr]     Checking macros v0.1.0 (/opt/rustwide/workdir/macros)
[INFO] [stderr]     Checking proc_macros v0.1.0 (/opt/rustwide/workdir/proc_macros)
[INFO] [stderr]     Checking riscv-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_generics, const_evaluatable_checked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.56.0; see <https://github.com/rust-lang/rust/pull/88369> for more information
[INFO] [stdout]   = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_generics, const_evaluatable_checked)]
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.56.0; see <https://github.com/rust-lang/rust/pull/88369> for more information
[INFO] [stdout]   = note: renamed to `generic_const_exprs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_generics, const_evaluatable_checked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.56.0; see <https://github.com/rust-lang/rust/pull/88369> for more information
[INFO] [stdout]   = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_generics, const_evaluatable_checked)]
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.56.0; see <https://github.com/rust-lang/rust/pull/88369> for more information
[INFO] [stdout]   = note: renamed to `generic_const_exprs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/bus.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/bus.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let bytes: [u8; T::SIZE] = bytes[bytes.len() - T::SIZE..]
[INFO] [stdout]    |                         ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/memory.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/memory.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/plic.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/plic.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/uart.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/uart.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:282:15
[INFO] [stdout]     |
[INFO] [stdout] 282 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let bytes: [u8; T::SIZE] = bytes[bytes.len() - T::SIZE..]
[INFO] [stdout]     |                         ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:324:15
[INFO] [stdout]     |
[INFO] [stdout] 324 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |         [(); <T as Data>::SIZE]: Sized;
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |         [(); <T as Data>::SIZE]: Sized;
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn from_bytes(bytes: [u8; Self::SIZE]) -> Self;
[INFO] [stdout]    |                               ^^^^ cannot perform const operation using `Self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn to_bytes(self) -> [u8; Self::SIZE];
[INFO] [stdout]    |                               ^^^^ cannot perform const operation using `Self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/mmu.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/mmu.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/bus.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/bus.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let bytes: [u8; T::SIZE] = bytes[bytes.len() - T::SIZE..]
[INFO] [stdout]    |                         ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/clint.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/memory.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/memory.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/plic.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/plic.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/uart.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/uart.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:282:15
[INFO] [stdout]     |
[INFO] [stdout] 282 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let bytes: [u8; T::SIZE] = bytes[bytes.len() - T::SIZE..]
[INFO] [stdout]     |                         ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/device/virtio.rs:324:15
[INFO] [stdout]     |
[INFO] [stdout] 324 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]     |               ^ cannot perform const operation using `T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: type parameters may not be used in const expressions
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]     = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |         [(); <T as Data>::SIZE]: Sized;
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |         [(); <T as Data>::SIZE]: Sized;
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn from_bytes(bytes: [u8; Self::SIZE]) -> Self;
[INFO] [stdout]    |                               ^^^^ cannot perform const operation using `Self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/device/mod.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn to_bytes(self) -> [u8; Self::SIZE];
[INFO] [stdout]    |                               ^^^^ cannot perform const operation using `Self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/mmu.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]   --> src/mmu.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |         [(); <T as Data>::SIZE]: Sized,
[INFO] [stdout]    |               ^ cannot perform const operation using `T`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type parameters may not be used in const expressions
[INFO] [stdout]    = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout]    = help: alternatively, you can use `#![feature(generic_const_args)]` and extract the expression into a `type const` item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `riscv-emulator` (bin "riscv-emulator") due to 22 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `riscv-emulator` (bin "riscv-emulator" test) due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af", kill_on_drop: false }`
[INFO] [stdout] 1faef0a984ad8edba04918c2f98e22317d824ec4597ab629319f5ae9fd7617af
