[INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/shoham-z/vm2hack-nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoham-z/vm2hack-nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34a3cb084bba99023a6b94e55231478ad1af3636 [INFO] checking shoham-z/vm2hack-nand2tetris against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoham-z%2Fvm2hack-nand2tetris" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shoham-z/vm2hack-nand2tetris on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shoham-z/vm2hack-nand2tetris [INFO] finished tweaking git repo https://github.com/shoham-z/vm2hack-nand2tetris [INFO] tweaked toml for git repo https://github.com/shoham-z/vm2hack-nand2tetris written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shoham-z/vm2hack-nand2tetris 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f2fceb352f560feae8ced2e5114d25de3a02998a6efafd442d6556f58afb879 [INFO] running `Command { std: "docker" "start" "-a" "7f2fceb352f560feae8ced2e5114d25de3a02998a6efafd442d6556f58afb879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f2fceb352f560feae8ced2e5114d25de3a02998a6efafd442d6556f58afb879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2fceb352f560feae8ced2e5114d25de3a02998a6efafd442d6556f58afb879", kill_on_drop: false }` [INFO] [stdout] 7f2fceb352f560feae8ced2e5114d25de3a02998a6efafd442d6556f58afb879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bfd65d6328e1056b51ba1b61e13d65f8a154c2fedf0d8e3dd970daabc9ccc36 [INFO] running `Command { std: "docker" "start" "-a" "2bfd65d6328e1056b51ba1b61e13d65f8a154c2fedf0d8e3dd970daabc9ccc36", kill_on_drop: false }` [INFO] [stderr] Checking vm2hack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `STATIC_BASE` [INFO] [stdout] --> src/stack.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FILE_NAME, STATIC_BASE, TEMP_BASE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/function_call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FILE_NAME` [INFO] [stdout] --> src/function_call.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{FILE_NAME, FUNC_LABEL_NUM, push}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATIC_BASE` [INFO] [stdout] --> src/stack.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FILE_NAME, STATIC_BASE, TEMP_BASE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/function_call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FILE_NAME` [INFO] [stdout] --> src/function_call.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{FILE_NAME, FUNC_LABEL_NUM, push}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATIC_BASE` is never used [INFO] [stdout] --> src/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub static STATIC_BASE: i64 = 5; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATIC_BASE` is never used [INFO] [stdout] --> src/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub static STATIC_BASE: i64 = 5; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THAT` is never used [INFO] [stdout] --> src/constants.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static THAT: &str = "THAT"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THAT` is never used [INFO] [stdout] --> src/constants.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static THAT: &str = "THAT"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THIS` is never used [INFO] [stdout] --> src/constants.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub static THIS: &str = "THIS"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THIS` is never used [INFO] [stdout] --> src/constants.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub static THIS: &str = "THIS"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARGUMENT` is never used [INFO] [stdout] --> src/constants.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static ARGUMENT: &str = "ARG"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARGUMENT` is never used [INFO] [stdout] --> src/constants.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static ARGUMENT: &str = "ARG"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCAL` is never used [INFO] [stdout] --> src/constants.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub static LOCAL: &str = "LCL"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARTH_JUMP_FLAG` is never used [INFO] [stdout] --> src/constants.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub static mut ARTH_JUMP_FLAG: i64 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCAL` is never used [INFO] [stdout] --> src/constants.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub static LOCAL: &str = "LCL"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARTH_JUMP_FLAG` is never used [INFO] [stdout] --> src/constants.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub static mut ARTH_JUMP_FLAG: i64 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | write!(asm_file, "@256\nD=A\n@SP\nM=D\n{}", sys_init()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | write!(asm_file, "@256\nD=A\n@SP\nM=D\n{}", sys_init()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | write!(asm_file, "//{}\n\n{}\n\n",line, parse(line.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | write!(asm_file, "//{}\n\n{}\n\n",line, parse(line.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_FILE_NAME` should have a snake case name [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn update_FILE_NAME(ptr: *const u8, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_FILE_NAME` should have a snake case name [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn update_FILE_NAME(ptr: *const u8, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let label_num = LABEL_NUM.to_string().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let label_num = LABEL_NUM.to_string().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/function_call.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | return "@".to_string() + func + ".ReturnAddress" + FUNC_LABEL_NUM.to_string().as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/function_call.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | return "@".to_string() + func + ".ReturnAddress" + FUNC_LABEL_NUM.to_string().as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/function_call.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | "(" + func + ".ReturnAddress" + FUNC_LABEL_NUM.to_string().as_str() + ")\n" // label return-address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/function_call.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | "(" + func + ".ReturnAddress" + FUNC_LABEL_NUM.to_string().as_str() + ")\n" // label return-address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "2bfd65d6328e1056b51ba1b61e13d65f8a154c2fedf0d8e3dd970daabc9ccc36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfd65d6328e1056b51ba1b61e13d65f8a154c2fedf0d8e3dd970daabc9ccc36", kill_on_drop: false }` [INFO] [stdout] 2bfd65d6328e1056b51ba1b61e13d65f8a154c2fedf0d8e3dd970daabc9ccc36