[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] 62c97b7fb7998db2c186cd3a133a2f4c2ccc128d [INFO] testing harmless-tech/HT-Assembly against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharmless-tech%2FHT-Assembly" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harmless-tech/HT-Assembly on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.10.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Downloaded thread-id v4.0.0 [INFO] [stderr] Downloaded log4rs v1.1.1 [INFO] [stderr] Downloaded lazy-regex v2.3.0 [INFO] [stderr] Downloaded serde_yaml v0.8.24 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37e865959203b4f26d396907957ddf9533c3e0766e44a3ce7b309e7e643f29a [INFO] running `Command { std: "docker" "start" "-a" "f37e865959203b4f26d396907957ddf9533c3e0766e44a3ce7b309e7e643f29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37e865959203b4f26d396907957ddf9533c3e0766e44a3ce7b309e7e643f29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37e865959203b4f26d396907957ddf9533c3e0766e44a3ce7b309e7e643f29a", kill_on_drop: false }` [INFO] [stdout] f37e865959203b4f26d396907957ddf9533c3e0766e44a3ce7b309e7e643f29a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7af11bec36e9d575a72dbc0ff2669f62d3f58689b931104d77b97a177b82ef [INFO] running `Command { std: "docker" "start" "-a" "3e7af11bec36e9d575a72dbc0ff2669f62d3f58689b931104d77b97a177b82ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling lazy-regex v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling serde_yaml v0.8.24 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling hta_std v0.0.1 (/opt/rustwide/workdir/crates/hta_std) [INFO] [stderr] Compiling hta_shared v0.0.1 (/opt/rustwide/workdir/crates/hta_shared) [INFO] [stdout] warning: associated function `map` is never used [INFO] [stdout] --> crates/hta_shared/src/old/lib.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn map(data_type: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hta_compile v0.0.1 (/opt/rustwide/workdir/crates/hta_compile) [INFO] [stderr] Compiling hta_runtime v0.0.1 (/opt/rustwide/workdir/crates/hta_runtime) [INFO] [stdout] warning: unused variable: `dbg` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | dbg: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dbg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hta_compile/src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut entry = (hta_file_name.to_string(), ns, lines); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BINARY_PATH` is never used [INFO] [stdout] --> crates/hta_compile/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | static BINARY_PATH: &str = "build/bin/"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_binary` is never used [INFO] [stdout] --> crates/hta_compile/src/lib.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn write_binary( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> crates/hta_compile/src/compiler/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn compile() -> Result<(Vec, HashMap), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> crates/hta_compile/src/lib.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | build_data: (DEFAULT_BINARY_NAME.clone().to_string(), "".to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> crates/hta_compile/src/lib.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | let path = format!("{}/{}", hta_project_path.clone(), file.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log4rs v1.1.1 [INFO] [stderr] Compiling hta v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3e7af11bec36e9d575a72dbc0ff2669f62d3f58689b931104d77b97a177b82ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7af11bec36e9d575a72dbc0ff2669f62d3f58689b931104d77b97a177b82ef", kill_on_drop: false }` [INFO] [stdout] 3e7af11bec36e9d575a72dbc0ff2669f62d3f58689b931104d77b97a177b82ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed642e7dbcf017f67ce4a838280ab55f71c8e4f09f227a6cfeaba899a014903c [INFO] running `Command { std: "docker" "start" "-a" "ed642e7dbcf017f67ce4a838280ab55f71c8e4f09f227a6cfeaba899a014903c", kill_on_drop: false }` [INFO] [stdout] warning: associated function `map` is never used [INFO] [stdout] --> crates/hta_shared/src/old/lib.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn map(data_type: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg` [INFO] [stdout] --> crates/hta_compile/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | dbg: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dbg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/hta_compile/src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut entry = (hta_file_name.to_string(), ns, lines); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hta v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `BINARY_PATH` is never used [INFO] [stdout] --> crates/hta_compile/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | static BINARY_PATH: &str = "build/bin/"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_binary` is never used [INFO] [stdout] --> crates/hta_compile/src/lib.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn write_binary( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> crates/hta_compile/src/compiler/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn compile() -> Result<(Vec, HashMap), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> crates/hta_compile/src/lib.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | build_data: (DEFAULT_BINARY_NAME.clone().to_string(), "".to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> crates/hta_compile/src/lib.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | let path = format!("{}/{}", hta_project_path.clone(), file.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ed642e7dbcf017f67ce4a838280ab55f71c8e4f09f227a6cfeaba899a014903c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed642e7dbcf017f67ce4a838280ab55f71c8e4f09f227a6cfeaba899a014903c", kill_on_drop: false }` [INFO] [stdout] ed642e7dbcf017f67ce4a838280ab55f71c8e4f09f227a6cfeaba899a014903c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fec64b30e0a77ca51e8bb1df264ee1f2163be491328d5c7be4ba5b818a55e9b [INFO] running `Command { std: "docker" "start" "-a" "3fec64b30e0a77ca51e8bb1df264ee1f2163be491328d5c7be4ba5b818a55e9b", kill_on_drop: false }` [INFO] [stderr] warning: associated function `map` is never used [INFO] [stderr] --> crates/hta_shared/src/old/lib.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 171 | impl DataType { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 172 | fn map(data_type: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hta_shared` (lib) generated 1 warning [INFO] [stderr] warning: unused variable: `dbg` [INFO] [stderr] --> crates/hta_compile/src/lib.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | dbg: bool, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dbg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/hta_compile/src/lib.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | let mut entry = (hta_file_name.to_string(), ns, lines); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `BINARY_PATH` is never used [INFO] [stderr] --> crates/hta_compile/src/lib.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | static BINARY_PATH: &str = "build/bin/"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_binary` is never used [INFO] [stderr] --> crates/hta_compile/src/lib.rs:169:4 [INFO] [stderr] | [INFO] [stderr] 169 | fn write_binary( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile` is never used [INFO] [stderr] --> crates/hta_compile/src/compiler/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn compile() -> Result<(Vec, HashMap), String> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> crates/hta_compile/src/lib.rs:47:45 [INFO] [stderr] | [INFO] [stderr] 47 | build_data: (DEFAULT_BINARY_NAME.clone().to_string(), "".to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> crates/hta_compile/src/lib.rs:110:53 [INFO] [stderr] | [INFO] [stderr] 110 | let path = format!("{}/{}", hta_project_path.clone(), file.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `hta_compile` (lib) generated 7 warnings (run `cargo fix --lib -p hta_compile` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hta-5fe70540e509922a) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] running `Command { std: "docker" "inspect" "3fec64b30e0a77ca51e8bb1df264ee1f2163be491328d5c7be4ba5b818a55e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fec64b30e0a77ca51e8bb1df264ee1f2163be491328d5c7be4ba5b818a55e9b", kill_on_drop: false }` [INFO] [stdout] 3fec64b30e0a77ca51e8bb1df264ee1f2163be491328d5c7be4ba5b818a55e9b