[INFO] cloning repository https://github.com/cola119/nand2tetris-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cola119/nand2tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcola119%2Fnand2tetris-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcola119%2Fnand2tetris-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4361a16d833802336d8552ec97594f56e41f7be [INFO] testing cola119/nand2tetris-rs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcola119%2Fnand2tetris-rs" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cola119/nand2tetris-rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cola119/nand2tetris-rs [INFO] finished tweaking git repo https://github.com/cola119/nand2tetris-rs [INFO] tweaked toml for git repo https://github.com/cola119/nand2tetris-rs written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/cola119/nand2tetris-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9890714a7cdf52218639279947172ed8befe0fe039bb763da0313a8b54d6bac8 [INFO] running `Command { std: "docker" "start" "-a" "9890714a7cdf52218639279947172ed8befe0fe039bb763da0313a8b54d6bac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9890714a7cdf52218639279947172ed8befe0fe039bb763da0313a8b54d6bac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9890714a7cdf52218639279947172ed8befe0fe039bb763da0313a8b54d6bac8", kill_on_drop: false }` [INFO] [stdout] 9890714a7cdf52218639279947172ed8befe0fe039bb763da0313a8b54d6bac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4030098bfc022107bced051f1b4e22ba37066ac99ff4da8aeb438ddcb409f42f [INFO] running `Command { std: "docker" "start" "-a" "4030098bfc022107bced051f1b4e22ba37066ac99ff4da8aeb438ddcb409f42f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling assembler v0.1.0 (/opt/rustwide/workdir/assembler) [INFO] [stderr] Compiling vm-translator v0.1.0 (/opt/rustwide/workdir/vm-translator) [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 29 - _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] 29 + _ => panic!("Unknown arg1: {}, arg2: {}", arg1, arg2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 80 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 83 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/parser.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 127 - _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] 127 + _ => panic!("unknown command: {}", command_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] 31 + _ => panic!("unknown comp key: {}", key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 - _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] 46 + _ => panic!("unknown dest key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 - _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] 62 + _ => panic!("unknown jump key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(format!("unknown command: {}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 211 - panic!(format!("unknown command: {}", str)); [INFO] [stdout] 211 + panic!("unknown command: {}", str); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 239 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 251 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 251 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hardware v0.1.0 (/opt/rustwide/workdir/hardware) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(&format!("couldn't parse {:?}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", &format!("couldn't parse {:?}", str)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!(&format!("unknown number {}", char_bits[i])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!("{}", &format!("unknown number {}", char_bits[i])), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(&format!("index {} is out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", &format!("index {} is out of range.", index)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/util.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | panic!(format!("Could't convert an empty string")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - panic!(format!("Could't convert an empty string")) [INFO] [stdout] 14 + panic!("Could't convert an empty string") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling integrate v0.1.0 (/opt/rustwide/workdir/integrate) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.72s [INFO] running `Command { std: "docker" "inspect" "4030098bfc022107bced051f1b4e22ba37066ac99ff4da8aeb438ddcb409f42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4030098bfc022107bced051f1b4e22ba37066ac99ff4da8aeb438ddcb409f42f", kill_on_drop: false }` [INFO] [stdout] 4030098bfc022107bced051f1b4e22ba37066ac99ff4da8aeb438ddcb409f42f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d9f6c1869a9f853db3944328f7c5f197b1761b55ef5dbff8e86591661686edf [INFO] running `Command { std: "docker" "start" "-a" "6d9f6c1869a9f853db3944328f7c5f197b1761b55ef5dbff8e86591661686edf", kill_on_drop: false }` [INFO] [stderr] Compiling assembler v0.1.0 (/opt/rustwide/workdir/assembler) [INFO] [stderr] Compiling vm-translator v0.1.0 (/opt/rustwide/workdir/vm-translator) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 29 - _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] 29 + _ => panic!("Unknown arg1: {}, arg2: {}", arg1, arg2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 80 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 83 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/parser.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 127 - _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] 127 + _ => panic!("unknown command: {}", command_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] 31 + _ => panic!("unknown comp key: {}", key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 - _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] 46 + _ => panic!("unknown dest key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 - _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] 62 + _ => panic!("unknown jump key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(format!("unknown command: {}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 211 - panic!(format!("unknown command: {}", str)); [INFO] [stdout] 211 + panic!("unknown command: {}", str); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 239 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 251 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 251 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hardware v0.1.0 (/opt/rustwide/workdir/hardware) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(&format!("couldn't parse {:?}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", &format!("couldn't parse {:?}", str)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!(&format!("unknown number {}", char_bits[i])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!("{}", &format!("unknown number {}", char_bits[i])), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(&format!("index {} is out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", &format!("index {} is out of range.", index)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/util.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | panic!(format!("Could't convert an empty string")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - panic!(format!("Could't convert an empty string")) [INFO] [stdout] 14 + panic!("Could't convert an empty string") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling integrate v0.1.0 (/opt/rustwide/workdir/integrate) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stdout] 31 + _ => panic!("unknown comp key: {}", key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 29 - _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stdout] 29 + _ => panic!("Unknown arg1: {}, arg2: {}", arg1, arg2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 - _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stdout] 46 + _ => panic!("unknown dest key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 80 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/code_writer.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] 83 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/code.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 - _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stdout] 62 + _ => panic!("unknown jump key: {}", str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(format!("unknown command: {}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 211 - panic!(format!("unknown command: {}", str)); [INFO] [stdout] 211 + panic!("unknown command: {}", str); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> vm-translator/src/parser.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 127 - _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stdout] 127 + _ => panic!("unknown command: {}", command_str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 239 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> assembler/src/parser.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 251 - panic!(format!("unknown command: {}", cmd)); [INFO] [stdout] 251 + panic!("unknown command: {}", cmd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(&format!("couldn't parse {:?}", str)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", &format!("couldn't parse {:?}", str)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!(&format!("unknown number {}", char_bits[i])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!("{}", &format!("unknown number {}", char_bits[i])), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/base/logic.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(&format!("index {} is out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", &format!("index {} is out of range.", index)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> hardware/src/util.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | panic!(format!("Could't convert an empty string")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - panic!(format!("Could't convert an empty string")) [INFO] [stdout] 14 + panic!("Could't convert an empty string") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> hardware/src/base/logic.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | Word::from("11"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> hardware/src/base/logic.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | Word::from("000000000000000a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "6d9f6c1869a9f853db3944328f7c5f197b1761b55ef5dbff8e86591661686edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9f6c1869a9f853db3944328f7c5f197b1761b55ef5dbff8e86591661686edf", kill_on_drop: false }` [INFO] [stdout] 6d9f6c1869a9f853db3944328f7c5f197b1761b55ef5dbff8e86591661686edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7949677e345a82a47e4aacfcde1f26de6e7617c93f6ad0652b1861a0b8936a12 [INFO] running `Command { std: "docker" "start" "-a" "7949677e345a82a47e4aacfcde1f26de6e7617c93f6ad0652b1861a0b8936a12", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> vm-translator/src/code_writer.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 29 - _ => panic!(format!("Unknown arg1: {}, arg2: {}", arg1, arg2)), [INFO] [stderr] 29 + _ => panic!("Unknown arg1: {}, arg2: {}", arg1, arg2), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> vm-translator/src/code_writer.rs:80:33 [INFO] [stderr] | [INFO] [stderr] 80 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 80 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stderr] 80 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> vm-translator/src/code_writer.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 83 - _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stderr] 83 + _ => panic!("Unknown operator: {}", operator_str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> vm-translator/src/parser.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 127 - _ => panic!(format!("unknown command: {}", command_str)), [INFO] [stderr] 127 + _ => panic!("unknown command: {}", command_str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/code.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 - _ => panic!(format!("unknown comp key: {}", key)), [INFO] [stderr] 31 + _ => panic!("unknown comp key: {}", key), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/code.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 46 - _ => panic!(format!("unknown dest key: {}", str)), [INFO] [stderr] 46 + _ => panic!("unknown dest key: {}", str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/code.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 62 - _ => panic!(format!("unknown jump key: {}", str)), [INFO] [stderr] 62 + _ => panic!("unknown jump key: {}", str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/parser.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | panic!(format!("unknown command: {}", str)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 211 - panic!(format!("unknown command: {}", str)); [INFO] [stderr] 211 + panic!("unknown command: {}", str); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/parser.rs:239:16 [INFO] [stderr] | [INFO] [stderr] 239 | panic!(format!("unknown command: {}", cmd)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 239 - panic!(format!("unknown command: {}", cmd)); [INFO] [stderr] 239 + panic!("unknown command: {}", cmd); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> assembler/src/parser.rs:251:16 [INFO] [stderr] | [INFO] [stderr] 251 | panic!(format!("unknown command: {}", cmd)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 251 - panic!(format!("unknown command: {}", cmd)); [INFO] [stderr] 251 + panic!("unknown command: {}", cmd); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `vm-translator` (lib) generated 4 warnings [INFO] [stderr] warning: `assembler` (lib) generated 6 warnings [INFO] [stderr] warning: `assembler` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `vm-translator` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> hardware/src/base/logic.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | panic!(&format!("couldn't parse {:?}", str)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 35 | panic!("{}", &format!("couldn't parse {:?}", str)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> hardware/src/base/logic.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | _ => panic!(&format!("unknown number {}", char_bits[i])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 42 | _ => panic!("{}", &format!("unknown number {}", char_bits[i])), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> hardware/src/base/logic.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | panic!(&format!("index {} is out of range.", index)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 76 | panic!("{}", &format!("index {} is out of range.", index)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> hardware/src/util.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | panic!(format!("Could't convert an empty string")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 14 - panic!(format!("Could't convert an empty string")) [INFO] [stderr] 14 + panic!("Could't convert an empty string") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `from` that must be used [INFO] [stderr] --> hardware/src/base/logic.rs:596:9 [INFO] [stderr] | [INFO] [stderr] 596 | Word::from("11"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `from` that must be used [INFO] [stderr] --> hardware/src/base/logic.rs:601:9 [INFO] [stderr] | [INFO] [stderr] 601 | Word::from("000000000000000a"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hardware` (lib) generated 4 warnings [INFO] [stderr] warning: `hardware` (lib test) generated 6 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assembler-ee79dd43f2498beb) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test parser::tests::for_parser_add ... ok [INFO] [stdout] test parser::tests::for_parser_max ... ok [INFO] [stdout] test parser::tests::for_parser_rect ... ok [INFO] [stdout] test symbol_table::tests::for_symbol_table1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hardware-49ee2993b872e4ba) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stderr] [INFO] [stderr] thread 'base::ram::tests::for_ram4k' has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stderr] error: test failed, to rerun pass '-p hardware --lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/hardware-49ee2993b872e4ba` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "7949677e345a82a47e4aacfcde1f26de6e7617c93f6ad0652b1861a0b8936a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7949677e345a82a47e4aacfcde1f26de6e7617c93f6ad0652b1861a0b8936a12", kill_on_drop: false }` [INFO] [stdout] 7949677e345a82a47e4aacfcde1f26de6e7617c93f6ad0652b1861a0b8936a12