[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] checking harmless-tech/HT-Assembly against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharmless-tech%2FHT-Assembly" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harmless-tech/HT-Assembly on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-3-tc2/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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80966f7bab49ecb54ed008453b8423406a126302837fb3be6159ee92e116c212 [INFO] running `Command { std: "docker" "start" "-a" "80966f7bab49ecb54ed008453b8423406a126302837fb3be6159ee92e116c212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80966f7bab49ecb54ed008453b8423406a126302837fb3be6159ee92e116c212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80966f7bab49ecb54ed008453b8423406a126302837fb3be6159ee92e116c212", kill_on_drop: false }` [INFO] [stdout] 80966f7bab49ecb54ed008453b8423406a126302837fb3be6159ee92e116c212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da8e69a762b3aa7740325188a26bf1d81ffadf348dbcff2e13384e6debded1ab [INFO] running `Command { std: "docker" "start" "-a" "da8e69a762b3aa7740325188a26bf1d81ffadf348dbcff2e13384e6debded1ab", 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 syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [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 log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking thread-id v4.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking lazy-regex v2.3.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.24 [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] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hta_runtime v0.0.1 (/opt/rustwide/workdir/crates/hta_runtime) [INFO] [stderr] Checking hta_compile v0.0.1 (/opt/rustwide/workdir/crates/hta_compile) [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: 1 warning emitted [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] [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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hta_compile` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hta_compile` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da8e69a762b3aa7740325188a26bf1d81ffadf348dbcff2e13384e6debded1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8e69a762b3aa7740325188a26bf1d81ffadf348dbcff2e13384e6debded1ab", kill_on_drop: false }` [INFO] [stdout] da8e69a762b3aa7740325188a26bf1d81ffadf348dbcff2e13384e6debded1ab