[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 master#69a5d2481e856a5a18885390b8cf6950b9ff8dd3 for pr-96376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftw666%2Friscv-simulator" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tw666/riscv-simulator on toolchain 69a5d2481e856a5a18885390b8cf6950b9ff8dd3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-71/source/Cargo.toml [INFO] crate git repo https://github.com/tw666/riscv-simulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "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 linkme-impl v0.2.5 [INFO] [stderr] Downloaded linkme v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18459f12f13fa314e1a29f1e327bdf2bb3dfd733e0de58a11bb6b7dbba14da36 [INFO] running `Command { std: "docker" "start" "-a" "18459f12f13fa314e1a29f1e327bdf2bb3dfd733e0de58a11bb6b7dbba14da36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18459f12f13fa314e1a29f1e327bdf2bb3dfd733e0de58a11bb6b7dbba14da36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18459f12f13fa314e1a29f1e327bdf2bb3dfd733e0de58a11bb6b7dbba14da36", kill_on_drop: false }` [INFO] [stdout] 18459f12f13fa314e1a29f1e327bdf2bb3dfd733e0de58a11bb6b7dbba14da36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acf94f295f5c69ed7680847b4a0352a8f1496211750e748021490bcb965abca8 [INFO] running `Command { std: "docker" "start" "-a" "acf94f295f5c69ed7680847b4a0352a8f1496211750e748021490bcb965abca8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] Compiling quote v1.0.9 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Compiling linkme-impl v0.2.5 [INFO] [stderr] Checking linkme v0.2.5 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling 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 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: 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 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: 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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [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 | [(); ::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: use `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): From<&[u8]>` is not satisfied [INFO] [stdout] --> src/device/memory.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .try_into() [INFO] [stdout] | ^^^^^^^^ the trait `From<&[u8]>` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<()>` for `&[u8]` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<&[u8]>` for `()` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto<()>` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): From<&[u8]>` is not satisfied [INFO] [stdout] --> src/device/memory.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .try_into() [INFO] [stdout] | ^^^^^^^^ the trait `From<&[u8]>` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<()>` for `&[u8]` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom<&[u8]>` for `()` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto<()>` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `riscv-emulator` due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `riscv-emulator` due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "acf94f295f5c69ed7680847b4a0352a8f1496211750e748021490bcb965abca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf94f295f5c69ed7680847b4a0352a8f1496211750e748021490bcb965abca8", kill_on_drop: false }` [INFO] [stdout] acf94f295f5c69ed7680847b4a0352a8f1496211750e748021490bcb965abca8