[INFO] cloning repository https://github.com/1uigii/risk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1uigii/risk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1uigii%2Frisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1uigii%2Frisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfe3862ac9b2c295b3a83a1d6517310140688a6e [INFO] checking 1uigii/risk against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1uigii%2Frisk" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/1uigii/risk [INFO] finished tweaking git repo https://github.com/1uigii/risk [INFO] tweaked toml for git repo https://github.com/1uigii/risk written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/1uigii/risk on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/1uigii/risk 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb [INFO] running `Command { std: "docker" "start" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb", 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" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb", 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" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling scroll_derive v0.13.1 [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] Checking goblin v0.10.5 [INFO] [stderr] Checking risk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Uart` is never constructed [INFO] [stdout] --> src/hw/uart.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Uart {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_copcode_r` is never used [INFO] [stdout] --> src/i.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | bit::transmute! { fn enc_copcode_r((COPCODE)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_opcode_r` is never used [INFO] [stdout] --> src/i.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | bit::transmute! { fn enc_opcode_r((OPCODE)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rd_r` is never used [INFO] [stdout] --> src/i.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | bit::transmute! { fn enc_rd_r((RD)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs1_r` is never used [INFO] [stdout] --> src/i.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | bit::transmute! { fn enc_rs1_r((RS1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs2_r` is never used [INFO] [stdout] --> src/i.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | bit::transmute! { fn enc_rs2_r((RS2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs3_r` is never used [INFO] [stdout] --> src/i.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | bit::transmute! { fn enc_rs3_r((RS3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct7_r` is never used [INFO] [stdout] --> src/i.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | bit::transmute! { fn enc_funct7_r((FUNCT7)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct3_r` is never used [INFO] [stdout] --> src/i.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | bit::transmute! { fn enc_funct3_r((FUNCT3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct2_r` is never used [INFO] [stdout] --> src/i.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | bit::transmute! { fn enc_funct2_r((FUNCT2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct2_r` is never used [INFO] [stdout] --> src/i.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | bit::transmute! { fn enc_cfunct2_r((CFUNCT2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct3_r` is never used [INFO] [stdout] --> src/i.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | bit::transmute! { fn enc_cfunct3_r((CFUNCT3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct3_math_r` is never used [INFO] [stdout] --> src/i.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | bit::transmute! { fn enc_cfunct3_math_r((CFUNCT3_MATH1, CFUNCT3_MATH2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_iimm` is never used [INFO] [stdout] --> src/i.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | bit::transmute! { fn enc_iimm((I1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_simm` is never used [INFO] [stdout] --> src/i.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | bit::transmute! { fn enc_simm((S1, S2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_bimm` is never used [INFO] [stdout] --> src/i.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | bit::transmute! { fn enc_bimm((B1, B2, B3, B4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_uimm` is never used [INFO] [stdout] --> src/i.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | bit::transmute! { fn enc_uimm((U1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_jimm` is never used [INFO] [stdout] --> src/i.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | bit::transmute! { fn enc_jimm((J1, J2, J3, J4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_csr_r` is never used [INFO] [stdout] --> src/i.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | bit::transmute! { fn enc_csr_r((ZICSR)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ca4sp` is never used [INFO] [stdout] --> src/i.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | bit::transmute! { fn enc_ca4sp((CA4SP1, CA4SP2, CA4SP3, CA4SP4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ca16sp` is never used [INFO] [stdout] --> src/i.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | bit::transmute! { fn enc_ca16sp((CA16SP1, CA16SP2, CA16SP3, CA16SP4, CA16SP5)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clsw` is never used [INFO] [stdout] --> src/i.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | bit::transmute! { fn enc_clsw((CLSW1, CLSW2, CLSW3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clsd` is never used [INFO] [stdout] --> src/i.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | bit::transmute! { fn enc_clsd((CLSD1, CLSD2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clui` is never used [INFO] [stdout] --> src/i.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | bit::transmute! { fn enc_clui((CLUI1, CLUI2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cj` is never used [INFO] [stdout] --> src/i.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | bit::transmute! { fn enc_cj((CJ1, CJ2, CJ3, CJ4, CJ5, CJ6, CJ7, CJ8)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ci` is never used [INFO] [stdout] --> src/i.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | bit::transmute! { fn enc_ci((CI1, CI2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cb` is never used [INFO] [stdout] --> src/i.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | bit::transmute! { fn enc_cb((CB1, CB2, CB3, CB4, CB5)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clwsp` is never used [INFO] [stdout] --> src/i.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | bit::transmute! { fn enc_clwsp((CLWSP1, CLWSP2, CLWSP3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cldsp` is never used [INFO] [stdout] --> src/i.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | bit::transmute! { fn enc_cldsp((CLDSP1, CLDSP2, CLDSP3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cswsp` is never used [INFO] [stdout] --> src/i.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | bit::transmute! { fn enc_cswsp((CSWSP1, CSWSP2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_csdsp` is never used [INFO] [stdout] --> src/i.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | bit::transmute! { fn enc_csdsp((CSDSP1, CSDSP2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `mcause` [INFO] [stdout] --> src/hw/hart.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | self.mcause = cause.into(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 154 - self.mcause = cause.into(); [INFO] [stdout] 154 + self.mcause = cause; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 - self.mcause = cause.into(); [INFO] [stdout] 154 + self.mcause = >::into(cause); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `risk` (lib) due to 1 previous error; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Uart` is never constructed [INFO] [stdout] --> src/hw/uart.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Uart {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_copcode_r` is never used [INFO] [stdout] --> src/i.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | bit::transmute! { fn enc_copcode_r((COPCODE)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_opcode_r` is never used [INFO] [stdout] --> src/i.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | bit::transmute! { fn enc_opcode_r((OPCODE)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rd_r` is never used [INFO] [stdout] --> src/i.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | bit::transmute! { fn enc_rd_r((RD)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs1_r` is never used [INFO] [stdout] --> src/i.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | bit::transmute! { fn enc_rs1_r((RS1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs2_r` is never used [INFO] [stdout] --> src/i.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | bit::transmute! { fn enc_rs2_r((RS2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_rs3_r` is never used [INFO] [stdout] --> src/i.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | bit::transmute! { fn enc_rs3_r((RS3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct7_r` is never used [INFO] [stdout] --> src/i.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | bit::transmute! { fn enc_funct7_r((FUNCT7)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct3_r` is never used [INFO] [stdout] --> src/i.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | bit::transmute! { fn enc_funct3_r((FUNCT3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_funct2_r` is never used [INFO] [stdout] --> src/i.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | bit::transmute! { fn enc_funct2_r((FUNCT2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct2_r` is never used [INFO] [stdout] --> src/i.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | bit::transmute! { fn enc_cfunct2_r((CFUNCT2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct3_r` is never used [INFO] [stdout] --> src/i.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | bit::transmute! { fn enc_cfunct3_r((CFUNCT3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cfunct3_math_r` is never used [INFO] [stdout] --> src/i.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | bit::transmute! { fn enc_cfunct3_math_r((CFUNCT3_MATH1, CFUNCT3_MATH2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_iimm` is never used [INFO] [stdout] --> src/i.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | bit::transmute! { fn enc_iimm((I1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_simm` is never used [INFO] [stdout] --> src/i.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | bit::transmute! { fn enc_simm((S1, S2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_bimm` is never used [INFO] [stdout] --> src/i.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | bit::transmute! { fn enc_bimm((B1, B2, B3, B4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_uimm` is never used [INFO] [stdout] --> src/i.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | bit::transmute! { fn enc_uimm((U1)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_jimm` is never used [INFO] [stdout] --> src/i.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | bit::transmute! { fn enc_jimm((J1, J2, J3, J4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_csr_r` is never used [INFO] [stdout] --> src/i.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | bit::transmute! { fn enc_csr_r((ZICSR)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ca4sp` is never used [INFO] [stdout] --> src/i.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | bit::transmute! { fn enc_ca4sp((CA4SP1, CA4SP2, CA4SP3, CA4SP4)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ca16sp` is never used [INFO] [stdout] --> src/i.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | bit::transmute! { fn enc_ca16sp((CA16SP1, CA16SP2, CA16SP3, CA16SP4, CA16SP5)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clsw` is never used [INFO] [stdout] --> src/i.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | bit::transmute! { fn enc_clsw((CLSW1, CLSW2, CLSW3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clsd` is never used [INFO] [stdout] --> src/i.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | bit::transmute! { fn enc_clsd((CLSD1, CLSD2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clui` is never used [INFO] [stdout] --> src/i.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | bit::transmute! { fn enc_clui((CLUI1, CLUI2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cj` is never used [INFO] [stdout] --> src/i.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | bit::transmute! { fn enc_cj((CJ1, CJ2, CJ3, CJ4, CJ5, CJ6, CJ7, CJ8)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_ci` is never used [INFO] [stdout] --> src/i.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | bit::transmute! { fn enc_ci((CI1, CI2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cb` is never used [INFO] [stdout] --> src/i.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | bit::transmute! { fn enc_cb((CB1, CB2, CB3, CB4, CB5)) -> bit::b32; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_clwsp` is never used [INFO] [stdout] --> src/i.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | bit::transmute! { fn enc_clwsp((CLWSP1, CLWSP2, CLWSP3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cldsp` is never used [INFO] [stdout] --> src/i.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | bit::transmute! { fn enc_cldsp((CLDSP1, CLDSP2, CLDSP3)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_cswsp` is never used [INFO] [stdout] --> src/i.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | bit::transmute! { fn enc_cswsp((CSWSP1, CSWSP2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enc_csdsp` is never used [INFO] [stdout] --> src/i.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | bit::transmute! { fn enc_csdsp((CSDSP1, CSDSP2)) -> bit::b32; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `mcause` [INFO] [stdout] --> src/hw/hart.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | self.mcause = cause.into(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 154 - self.mcause = cause.into(); [INFO] [stdout] 154 + self.mcause = cause; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 - self.mcause = cause.into(); [INFO] [stdout] 154 + self.mcause = >::into(cause); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `risk` (lib test) due to 1 previous error; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb", kill_on_drop: false }` [INFO] [stdout] 816ce1a813bd2d6e75274e2630bb24b80af5202350231ab5b4cf0236694ef0eb