[INFO] cloning repository https://github.com/Txythread/smiscasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Txythread/smiscasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTxythread%2Fsmiscasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTxythread%2Fsmiscasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5479888ab9a2dd7f7b7b7b89ed85a67e79a725c5 [INFO] testing Txythread/smiscasm against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTxythread%2Fsmiscasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Txythread/smiscasm [INFO] finished tweaking git repo https://github.com/Txythread/smiscasm [INFO] tweaked toml for git repo https://github.com/Txythread/smiscasm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Txythread/smiscasm on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Txythread/smiscasm 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded scraper v0.20.0 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded trpl v0.2.0 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded colorize v0.1.0 [INFO] [stderr] Downloaded document-features v0.2.11 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Downloaded lazy-regex v3.4.1 [INFO] [stderr] Downloaded signal-hook-registry v1.4.6 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded clap_derive v4.5.47 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded crokey v1.2.0 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] [stderr] Downloaded coolor v1.1.0 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded minimad v0.13.1 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded crokey-proc_macros v1.2.0 [INFO] [stderr] Downloaded strict v0.2.0 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded termimad v0.33.0 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 341dd4a16246c181e28c589af63902245944a1fbe47c520c50cc2fbe8d99b679 [INFO] running `Command { std: "docker" "start" "-a" "341dd4a16246c181e28c589af63902245944a1fbe47c520c50cc2fbe8d99b679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341dd4a16246c181e28c589af63902245944a1fbe47c520c50cc2fbe8d99b679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341dd4a16246c181e28c589af63902245944a1fbe47c520c50cc2fbe8d99b679", kill_on_drop: false }` [INFO] [stdout] 341dd4a16246c181e28c589af63902245944a1fbe47c520c50cc2fbe8d99b679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6faf5736aea2a76e4957efbd27f65160b465a35ef24135d70d1273748de9a4d7 [INFO] running `Command { std: "docker" "start" "-a" "6faf5736aea2a76e4957efbd27f65160b465a35ef24135d70d1273748de9a4d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling colorize v0.1.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling coolor v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling crokey-proc_macros v1.2.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crokey v1.2.0 [INFO] [stderr] Compiling termimad v0.33.0 [INFO] [stderr] Compiling scraper v0.20.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling trpl v0.2.0 [INFO] [stderr] Compiling smiscasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/assembler.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut value_repl_result = replace_values_in_code(value_gen_result.0, value_gen_result.1); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_map` [INFO] [stdout] --> src/instruction/instruction.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let output_map: Vec = OUTPUT_MAP_STRING.clone().into_iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token_start` is never read [INFO] [stdout] --> src/assembler/splitter.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | current_token_start = current_char_count + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/util/line_mapping.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct LineInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 166 | pub contents: String, // The contents (without leading & trailing whitespaces) [INFO] [stdout] 167 | indent: u32, // The indent (in spaces) this line has (for formatting) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "6faf5736aea2a76e4957efbd27f65160b465a35ef24135d70d1273748de9a4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6faf5736aea2a76e4957efbd27f65160b465a35ef24135d70d1273748de9a4d7", kill_on_drop: false }` [INFO] [stdout] 6faf5736aea2a76e4957efbd27f65160b465a35ef24135d70d1273748de9a4d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35caaf4c00436cd5bff5c3759b53c0c8b16845cf2302e27e019f7c6f8f07f26c [INFO] running `Command { std: "docker" "start" "-a" "35caaf4c00436cd5bff5c3759b53c0c8b16845cf2302e27e019f7c6f8f07f26c", kill_on_drop: false }` [INFO] [stderr] Compiling smiscasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LineInfo` [INFO] [stdout] --> src/assembler/valuegen.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | use crate::util::line_mapping::{LineInfo, LineMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/assembler.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut value_repl_result = replace_values_in_code(value_gen_result.0, value_gen_result.1); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_map` [INFO] [stdout] --> src/instruction/instruction.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let output_map: Vec = OUTPUT_MAP_STRING.clone().into_iter().map(|s| s.to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token_start` is never read [INFO] [stdout] --> src/assembler/splitter.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | current_token_start = current_char_count + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/util/line_mapping.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct LineInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 166 | pub contents: String, // The contents (without leading & trailing whitespaces) [INFO] [stdout] 167 | indent: u32, // The indent (in spaces) this line has (for formatting) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "35caaf4c00436cd5bff5c3759b53c0c8b16845cf2302e27e019f7c6f8f07f26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35caaf4c00436cd5bff5c3759b53c0c8b16845cf2302e27e019f7c6f8f07f26c", kill_on_drop: false }` [INFO] [stdout] 35caaf4c00436cd5bff5c3759b53c0c8b16845cf2302e27e019f7c6f8f07f26c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0c5fdf3e075b5d743f4cd66a48714dfa880f2a0376e43615be7882b58404928 [INFO] running `Command { std: "docker" "start" "-a" "d0c5fdf3e075b5d743f4cd66a48714dfa880f2a0376e43615be7882b58404928", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `LineInfo` [INFO] [stderr] --> src/assembler/valuegen.rs:364:37 [INFO] [stderr] | [INFO] [stderr] 364 | use crate::util::line_mapping::{LineInfo, LineMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/assembler/assembler.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut value_repl_result = replace_values_in_code(value_gen_result.0, value_gen_result.1); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_map` [INFO] [stderr] --> src/instruction/instruction.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | let output_map: Vec = OUTPUT_MAP_STRING.clone().into_iter().map(|s| s.to_string()).collect(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `current_token_start` is never read [INFO] [stderr] --> src/assembler/splitter.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | current_token_start = current_char_count + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `indent` is never read [INFO] [stderr] --> src/util/line_mapping.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 165 | pub struct LineInfo { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 166 | pub contents: String, // The contents (without leading & trailing whitespaces) [INFO] [stderr] 167 | indent: u32, // The indent (in spaces) this line has (for formatting) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LineInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `smiscasm` (bin "smiscasm" test) generated 5 warnings (run `cargo fix --bin "smiscasm" -p smiscasm --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/smiscasm-34981c4b535eb1c2) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test assembler::valuegen::tests::test_gen_values ... ok [INFO] [stdout] test assembler::splitter::tests::test_splitting ... ok [INFO] [stdout] test assembler::valuerepl::tests::test_replace_values_in_code ... ok [INFO] [stdout] test assembler::preprocesser::tests::test_preprocesser ... ok [INFO] [stdout] test instruction::instruction::tests::test_get_all_instructions ... ok [INFO] [stdout] test util::math::tests::test_resolve_argument ... ok [INFO] [stdout] test assembler::tokenizer::tests::test_tokenize ... ok [INFO] [stdout] test assembler::assembler::tests::test_assemble ... ok [INFO] [stdout] test util::math::tests::test_resolve_string_resolving_replacements ... ok [INFO] [stdout] test util::math::tests::test_resolve_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0c5fdf3e075b5d743f4cd66a48714dfa880f2a0376e43615be7882b58404928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c5fdf3e075b5d743f4cd66a48714dfa880f2a0376e43615be7882b58404928", kill_on_drop: false }` [INFO] [stdout] d0c5fdf3e075b5d743f4cd66a48714dfa880f2a0376e43615be7882b58404928