[INFO] cloning repository https://github.com/harmless-tech/HT-Assembly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harmless-tech/HT-Assembly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharmless-tech%2FHT-Assembly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharmless-tech%2FHT-Assembly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 714cdab5b25c64c9d49b5265bcecc9d0663d73a3 [INFO] checking harmless-tech/HT-Assembly against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharmless-tech%2FHT-Assembly" "/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/harmless-tech/HT-Assembly 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/harmless-tech/HT-Assembly [INFO] finished tweaking git repo https://github.com/harmless-tech/HT-Assembly [INFO] tweaked toml for git repo https://github.com/harmless-tech/HT-Assembly written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/harmless-tech/HT-Assembly 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex_static v0.1.0 [INFO] [stderr] Downloaded regex_static_impl v0.1.0 [INFO] [stderr] Downloaded regex_static_macro v0.1.0 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46e76cba786dc83eaf1851206515d621d8ba8aaf24a1348bbab047f0d0e631c5 [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" "46e76cba786dc83eaf1851206515d621d8ba8aaf24a1348bbab047f0d0e631c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46e76cba786dc83eaf1851206515d621d8ba8aaf24a1348bbab047f0d0e631c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e76cba786dc83eaf1851206515d621d8ba8aaf24a1348bbab047f0d0e631c5", kill_on_drop: false }` [INFO] [stdout] 46e76cba786dc83eaf1851206515d621d8ba8aaf24a1348bbab047f0d0e631c5 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d88d5527d640d5f4c7d3b17e8602561dfe40741baa0ba5f1f7b9d64a1e739da6 [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" "d88d5527d640d5f4c7d3b17e8602561dfe40741baa0ba5f1f7b9d64a1e739da6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex_static_impl v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling regex_static_macro v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking regex_static v0.1.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking hta_shared v0.0.1 (/opt/rustwide/workdir/crates/hta_shared) [INFO] [stderr] Checking hta_std v0.0.1 (/opt/rustwide/workdir/crates/hta_std) [INFO] [stderr] Checking hta_compile v0.0.1 (/opt/rustwide/workdir/crates/hta_compile) [INFO] [stderr] Checking hta_runtime v0.0.1 (/opt/rustwide/workdir/crates/hta_runtime) [INFO] [stdout] warning: unused import: `hfs::error` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | hfs, hfs::error, traits::EnumWithU8, DataType, DebugData, Instructions, MetaData, Program, Tag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, `ops::Deref` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | any::{Any, TypeId}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace`, `warn` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hfs::error` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | hfs, hfs::error, traits::EnumWithU8, DataType, DebugData, Instructions, MetaData, Program, Tag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, `ops::Deref` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | any::{Any, TypeId}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace`, `warn` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler_version` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let compiler_version = match parse_version_str(option_env!("CARGO_PKG_VERSION").unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compile(hta_file: &str, dbg: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dbg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_slash` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut comment_first_slash = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_slash` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut comment_first_slash = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_star` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut comment_first_star = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_dat` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | Instructions::Assert(op_dat) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_dat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `header` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn header(file: &mut File, header: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `version` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn version(file: &mut File, v: (u64, u64, u64)) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_data` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn debug_data(file: &mut File, data: &DebugData) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `metadata` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn metadata(file: &mut File, data: &MetaData) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `program` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn program(file: &mut File, data: &Program) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tags` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn tags(file: &mut File, data: &HashMap) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn instructions(file: &mut File, data: &Vec>) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_type` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn data_type(file: &mut File, data: &DataType) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_char` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn write_char(file: &mut File, data: char) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_string` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn write_string(file: &mut File, data: &String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i8` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn write_i8(file: &mut File, data: i8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i16` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn write_i16(file: &mut File, data: i16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn write_i32(file: &mut File, data: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn write_i64(file: &mut File, data: i64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i128` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn write_i128(file: &mut File, data: i128) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u8` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn write_u8(file: &mut File, data: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u16` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn write_u16(file: &mut File, data: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn write_u32(file: &mut File, data: u32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn write_u64(file: &mut File, data: u64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u128` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn write_u128(file: &mut File, data: u128) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_f32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_f32(file: &mut File, data: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_f64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_f64(file: &mut File, data: f64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_bool` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn write_bool(file: &mut File, data: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BINARY_PATH` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | static BINARY_PATH: &str = "build/bin/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DEFAULT_FILE_NAME` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | static DEFAULT_FILE_NAME: &str = "main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WriteData` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct WriteData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_binary` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_binary(data: &WriteData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler_version` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let compiler_version = match parse_version_str(option_env!("CARGO_PKG_VERSION").unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compile(hta_file: &str, dbg: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dbg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_slash` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut comment_first_slash = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_slash` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut comment_first_slash = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comment_first_star` is never read [INFO] [stdout] --> crates/hta_compile/src/compiler.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut comment_first_star = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_dat` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | Instructions::Assert(op_dat) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_dat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `header` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn header(file: &mut File, header: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `version` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn version(file: &mut File, v: (u64, u64, u64)) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_data` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn debug_data(file: &mut File, data: &DebugData) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `metadata` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn metadata(file: &mut File, data: &MetaData) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `program` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn program(file: &mut File, data: &Program) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tags` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn tags(file: &mut File, data: &HashMap) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn instructions(file: &mut File, data: &Vec>) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_type` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn data_type(file: &mut File, data: &DataType) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_char` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn write_char(file: &mut File, data: char) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_string` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn write_string(file: &mut File, data: &String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i8` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn write_i8(file: &mut File, data: i8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i16` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn write_i16(file: &mut File, data: i16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn write_i32(file: &mut File, data: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn write_i64(file: &mut File, data: i64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_i128` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn write_i128(file: &mut File, data: i128) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u8` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn write_u8(file: &mut File, data: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u16` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn write_u16(file: &mut File, data: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn write_u32(file: &mut File, data: u32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn write_u64(file: &mut File, data: u64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_u128` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn write_u128(file: &mut File, data: u128) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_f32` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_f32(file: &mut File, data: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_f64` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_f64(file: &mut File, data: f64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_bool` [INFO] [stdout] --> crates/hta_compile/src/writer.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn write_bool(file: &mut File, data: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BINARY_PATH` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | static BINARY_PATH: &str = "build/bin/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DEFAULT_FILE_NAME` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | static DEFAULT_FILE_NAME: &str = "main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WriteData` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct WriteData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_binary` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_binary(data: &WriteData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking log4rs v1.0.0 [INFO] [stderr] Checking hta v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/main.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "d88d5527d640d5f4c7d3b17e8602561dfe40741baa0ba5f1f7b9d64a1e739da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88d5527d640d5f4c7d3b17e8602561dfe40741baa0ba5f1f7b9d64a1e739da6", kill_on_drop: false }` [INFO] [stdout] d88d5527d640d5f4c7d3b17e8602561dfe40741baa0ba5f1f7b9d64a1e739da6