[INFO] cloning repository https://github.com/foophoof/rvasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foophoof/rvasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoophoof%2Frvasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoophoof%2Frvasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9604c16baad6eac294f4c31d5b3c0127bad1bae [INFO] checking foophoof/rvasm against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoophoof%2Frvasm" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foophoof/rvasm on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foophoof/rvasm [INFO] finished tweaking git repo https://github.com/foophoof/rvasm [INFO] tweaked toml for git repo https://github.com/foophoof/rvasm written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/foophoof/rvasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 990ff0d8c49a4ab5d0312eb1967c2add3d7a7554b11858c9b8ce244d6bcdeec3 [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" "990ff0d8c49a4ab5d0312eb1967c2add3d7a7554b11858c9b8ce244d6bcdeec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "990ff0d8c49a4ab5d0312eb1967c2add3d7a7554b11858c9b8ce244d6bcdeec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990ff0d8c49a4ab5d0312eb1967c2add3d7a7554b11858c9b8ce244d6bcdeec3", kill_on_drop: false }` [INFO] [stdout] 990ff0d8c49a4ab5d0312eb1967c2add3d7a7554b11858c9b8ce244d6bcdeec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e949ba09398dbc093cb67893f3783676395269c09f1098fda0acba764c30ded [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" "1e949ba09398dbc093cb67893f3783676395269c09f1098fda0acba764c30ded", kill_on_drop: false }` [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking rvasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/parser.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::{IResult, space, digit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/parser.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::{IResult, space, digit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `R` [INFO] [stdout] --> src/encoding.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct R { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/encoding.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct S { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SB` [INFO] [stdout] --> src/encoding.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SB { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `U` [INFO] [stdout] --> src/encoding.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct U { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UJ` [INFO] [stdout] --> src/encoding.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct UJ { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode` [INFO] [stdout] --> src/encoding.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_opcode(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rd` [INFO] [stdout] --> src/encoding.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_rd(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rs1` [INFO] [stdout] --> src/encoding.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_rs1(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rs2` [INFO] [stdout] --> src/encoding.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_rs2(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_rs2` [INFO] [stdout] --> src/encoding.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set_rs2(rs2: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_funct3` [INFO] [stdout] --> src/encoding.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_funct3(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_funct7` [INFO] [stdout] --> src/encoding.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_funct7(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_funct7` [INFO] [stdout] --> src/encoding.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_funct7(funct7: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(instruction: u32) -> R { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parse(instruction: u32) -> I { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(instruction: u32) -> S { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn parse(instruction: u32) -> SB { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn parse(instruction: u32) -> U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn parse(instruction: u32) -> UJ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `R` [INFO] [stdout] --> src/encoding.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct R { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/encoding.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct S { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SB` [INFO] [stdout] --> src/encoding.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SB { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `U` [INFO] [stdout] --> src/encoding.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct U { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UJ` [INFO] [stdout] --> src/encoding.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct UJ { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode` [INFO] [stdout] --> src/encoding.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_opcode(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rd` [INFO] [stdout] --> src/encoding.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_rd(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rs1` [INFO] [stdout] --> src/encoding.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_rs1(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rs2` [INFO] [stdout] --> src/encoding.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_rs2(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_rs2` [INFO] [stdout] --> src/encoding.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set_rs2(rs2: u8) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_funct3` [INFO] [stdout] --> src/encoding.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_funct3(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_funct7` [INFO] [stdout] --> src/encoding.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_funct7(instruction: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_funct7` [INFO] [stdout] --> src/encoding.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_funct7(funct7: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse(instruction: u32) -> R { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parse(instruction: u32) -> I { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(instruction: u32) -> S { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn parse(instruction: u32) -> SB { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn parse(instruction: u32) -> U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/encoding.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn parse(instruction: u32) -> UJ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/encoding.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_raw(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "1e949ba09398dbc093cb67893f3783676395269c09f1098fda0acba764c30ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e949ba09398dbc093cb67893f3783676395269c09f1098fda0acba764c30ded", kill_on_drop: false }` [INFO] [stdout] 1e949ba09398dbc093cb67893f3783676395269c09f1098fda0acba764c30ded