[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoophoof%2Frvasm" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foophoof/rvasm on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da1d5beaaafbc2332ace714a99220e4c42b7310e1c5cb0545b61c794cf45922c [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" "da1d5beaaafbc2332ace714a99220e4c42b7310e1c5cb0545b61c794cf45922c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da1d5beaaafbc2332ace714a99220e4c42b7310e1c5cb0545b61c794cf45922c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1d5beaaafbc2332ace714a99220e4c42b7310e1c5cb0545b61c794cf45922c", kill_on_drop: false }` [INFO] [stdout] da1d5beaaafbc2332ace714a99220e4c42b7310e1c5cb0545b61c794cf45922c [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 607d4c1987a474dd37b66fa05ffeca0720f0c977f9084588214cd390422334ec [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" "607d4c1987a474dd37b66fa05ffeca0720f0c977f9084588214cd390422334ec", 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 3.57s [INFO] running `Command { std: "docker" "inspect" "607d4c1987a474dd37b66fa05ffeca0720f0c977f9084588214cd390422334ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607d4c1987a474dd37b66fa05ffeca0720f0c977f9084588214cd390422334ec", kill_on_drop: false }` [INFO] [stdout] 607d4c1987a474dd37b66fa05ffeca0720f0c977f9084588214cd390422334ec