[INFO] fetching crate riscy 0.3.0... [INFO] testing riscy-0.3.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate riscy 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate riscy 0.3.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate riscy 0.3.0 [INFO] finished tweaking crates.io crate riscy 0.3.0 [INFO] tweaked toml for crates.io crate riscy 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate riscy 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b67daceb2a90e49f6afcbd40b2fb63fa0b788691710605337ba5b95d86902d1a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b67daceb2a90e49f6afcbd40b2fb63fa0b788691710605337ba5b95d86902d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b67daceb2a90e49f6afcbd40b2fb63fa0b788691710605337ba5b95d86902d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67daceb2a90e49f6afcbd40b2fb63fa0b788691710605337ba5b95d86902d1a", kill_on_drop: false }` [INFO] [stdout] b67daceb2a90e49f6afcbd40b2fb63fa0b788691710605337ba5b95d86902d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a856da11bd4a246e8affc722c8de23afb720f0ae58e982c2592cda6ecf14c6b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a856da11bd4a246e8affc722c8de23afb720f0ae58e982c2592cda6ecf14c6b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling scroll_derive v0.10.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.3.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling riscy v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 480 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 480 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 483 - 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] 483 + 0b110 => panic!("Can't lwu in rv32i."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 484 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 484 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 498 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 498 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 499 - 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 499 + 0b100 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 500 | 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 500 - 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 500 + 0b101 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 501 - 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 501 + 0b110 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 502 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 502 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.48s [INFO] running `Command { std: "docker" "inspect" "a856da11bd4a246e8affc722c8de23afb720f0ae58e982c2592cda6ecf14c6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a856da11bd4a246e8affc722c8de23afb720f0ae58e982c2592cda6ecf14c6b5", kill_on_drop: false }` [INFO] [stdout] a856da11bd4a246e8affc722c8de23afb720f0ae58e982c2592cda6ecf14c6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89505faa5665a661936bac1082bd5e0652c687e2f2e7ad9f5f2f1e08b302123 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c89505faa5665a661936bac1082bd5e0652c687e2f2e7ad9f5f2f1e08b302123", kill_on_drop: false }` [INFO] [stderr] Compiling riscy v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 480 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 480 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 483 - 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] 483 + 0b110 => panic!("Can't lwu in rv32i."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 484 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 484 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 498 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 498 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 499 - 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 499 + 0b100 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 500 | 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 500 - 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 500 + 0b101 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 501 - 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 501 + 0b110 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 502 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 502 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 480 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 480 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 483 - 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stdout] 483 + 0b110 => panic!("Can't lwu in rv32i."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 484 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 484 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 498 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 498 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 499 - 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 499 + 0b100 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 500 | 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 500 - 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 500 + 0b101 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 501 - 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 501 + 0b110 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/decode.rs:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 502 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] 502 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "c89505faa5665a661936bac1082bd5e0652c687e2f2e7ad9f5f2f1e08b302123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89505faa5665a661936bac1082bd5e0652c687e2f2e7ad9f5f2f1e08b302123", kill_on_drop: false }` [INFO] [stdout] c89505faa5665a661936bac1082bd5e0652c687e2f2e7ad9f5f2f1e08b302123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2fce09543a93beb5a6d9c0cc3fbd0a1ceae4d23ca3d5daf95cd2681b7775eae1 [INFO] running `Command { std: "docker" "start" "-a" "2fce09543a93beb5a6d9c0cc3fbd0a1ceae4d23ca3d5daf95cd2681b7775eae1", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/decode.rs:480:25 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 480 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 480 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 480 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:483:25 [INFO] [stderr] | [INFO] [stderr] 483 | 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 483 - 0b110 => panic!(format!("Can't lwu in rv32i.")), [INFO] [stderr] 483 + 0b110 => panic!("Can't lwu in rv32i."), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:484:25 [INFO] [stderr] | [INFO] [stderr] 484 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 484 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 484 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:498:25 [INFO] [stderr] | [INFO] [stderr] 498 | 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 498 - 0b011 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 498 + 0b011 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:499:25 [INFO] [stderr] | [INFO] [stderr] 499 | 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 499 - 0b100 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 499 + 0b100 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:500:25 [INFO] [stderr] | [INFO] [stderr] 500 | 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 500 - 0b101 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 500 + 0b101 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:501:25 [INFO] [stderr] | [INFO] [stderr] 501 | 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 501 - 0b110 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 501 + 0b110 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/decode.rs:502:25 [INFO] [stderr] | [INFO] [stderr] 502 | 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 502 - 0b111 => panic!(format!("Bad funct7 for store: {}", funct3(instruction))), [INFO] [stderr] 502 + 0b111 => panic!("Bad funct7 for store: {}", funct3(instruction)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `riscy` (lib) generated 8 warnings [INFO] [stderr] warning: `riscy` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/riscy-9a0a88af50db447d) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/riscy-6a8aad0365dc4973) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests riscy [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/addr.rs - addr::Addr (line 28) ... FAILED [INFO] [stdout] test src/reg.rs - reg::RegVal (line 40) ... FAILED [INFO] [stdout] test src/reg.rs - reg::RegVal (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - RiscV::reg (line 392) ... FAILED [INFO] [stdout] test src/lib.rs - RiscV::set_reg (line 380) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 4 | $ vim hello.c [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/addr.rs - addr::Addr (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RegVal` [INFO] [stdout] --> src/addr.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 3 | let value = RegVal::from_u32(0x2000_0000); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use riscy::RegVal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Addr` in this scope [INFO] [stdout] --> src/addr.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 4 | let addr: Addr = value.into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use riscy::Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reg.rs - reg::RegVal (line 40) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/reg.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reg_rs_40_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 13 | println!("value1 << value2 = {}", u32::from(value1.shift_left_logical(value2)); [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 14 | } _doctest_main_src_reg_rs_40_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/reg.rs:51:79 [INFO] [stdout] | [INFO] [stdout] 13 | println!("value1 << value2 = {}", u32::from(value1.shift_left_logical(value2)); [INFO] [stdout] | ^ expected one of `,`, `.`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RegVal` [INFO] [stdout] --> src/reg.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 3 | let value1 = RegVal::from_u32(2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use riscy::RegVal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RegVal` [INFO] [stdout] --> src/reg.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 4 | let value2 = RegVal::from_u32(3); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use riscy::RegVal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reg.rs - reg::RegVal (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `riscv` in this scope [INFO] [stdout] --> src/reg.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 4 | let value = riscv.reg(10); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RiscV::reg (line 392) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `riscv` in this scope [INFO] [stdout] --> src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 4 | riscv.reg(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RiscV::set_reg (line 380) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `riscv` in this scope [INFO] [stdout] --> src/lib.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 4 | riscv.set_reg(2, 0x2000_0000.into()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/addr.rs - addr::Addr (line 28) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - RiscV::reg (line 392) [INFO] [stdout] src/lib.rs - RiscV::set_reg (line 380) [INFO] [stdout] src/reg.rs - reg::RegVal (line 30) [INFO] [stdout] src/reg.rs - reg::RegVal (line 40) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2fce09543a93beb5a6d9c0cc3fbd0a1ceae4d23ca3d5daf95cd2681b7775eae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fce09543a93beb5a6d9c0cc3fbd0a1ceae4d23ca3d5daf95cd2681b7775eae1", kill_on_drop: false }` [INFO] [stdout] 2fce09543a93beb5a6d9c0cc3fbd0a1ceae4d23ca3d5daf95cd2681b7775eae1