[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcola119%2Fnand2tetris-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cola119/nand2tetris-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 444d95048bf41561d0280e85520f4eb5afd3ad04c95c90fc2dcbcf7b5541da1e [INFO] running `Command { std: "docker" "start" "-a" "444d95048bf41561d0280e85520f4eb5afd3ad04c95c90fc2dcbcf7b5541da1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "444d95048bf41561d0280e85520f4eb5afd3ad04c95c90fc2dcbcf7b5541da1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444d95048bf41561d0280e85520f4eb5afd3ad04c95c90fc2dcbcf7b5541da1e", kill_on_drop: false }` [INFO] [stdout] 444d95048bf41561d0280e85520f4eb5afd3ad04c95c90fc2dcbcf7b5541da1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85bef57614afb6fd8da6f9ce383190b4e82e85c5922c5eba1ff9818e9074d8a5 [INFO] running `Command { std: "docker" "start" "-a" "85bef57614afb6fd8da6f9ce383190b4e82e85c5922c5eba1ff9818e9074d8a5", 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 serde v1.0.119 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [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 generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.3.1 [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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hardware v0.1.0 (/opt/rustwide/workdir/hardware) [INFO] [stderr] Compiling tungstenite v0.11.1 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.79s [INFO] running `Command { std: "docker" "inspect" "85bef57614afb6fd8da6f9ce383190b4e82e85c5922c5eba1ff9818e9074d8a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85bef57614afb6fd8da6f9ce383190b4e82e85c5922c5eba1ff9818e9074d8a5", kill_on_drop: false }` [INFO] [stdout] 85bef57614afb6fd8da6f9ce383190b4e82e85c5922c5eba1ff9818e9074d8a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efa539a69b91842a2e1580617f999d84e80e79e196c86ee56e1f90b5f16a3a33 [INFO] running `Command { std: "docker" "start" "-a" "efa539a69b91842a2e1580617f999d84e80e79e196c86ee56e1f90b5f16a3a33", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] --> 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] [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] [stderr] Compiling hardware v0.1.0 (/opt/rustwide/workdir/hardware) [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] --> 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: 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] --> 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: 6 warnings emitted [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "efa539a69b91842a2e1580617f999d84e80e79e196c86ee56e1f90b5f16a3a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa539a69b91842a2e1580617f999d84e80e79e196c86ee56e1f90b5f16a3a33", kill_on_drop: false }` [INFO] [stdout] efa539a69b91842a2e1580617f999d84e80e79e196c86ee56e1f90b5f16a3a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 651a810ce516f23b05815908ebf1af10837198718be0633ac70b19bb8166a7fd [INFO] running `Command { std: "docker" "start" "-a" "651a810ce516f23b05815908ebf1af10837198718be0633ac70b19bb8166a7fd", kill_on_drop: false }` [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: 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: `assembler` (lib) generated 6 warnings [INFO] [stderr] warning: `vm-translator` (lib) generated 4 warnings [INFO] [stderr] warning: `vm-translator` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `assembler` (lib test) generated 6 warnings (6 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assembler-b846ef11dee9c2c6) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test symbol_table::tests::for_symbol_table1 ... ok [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] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hardware-f9ec02bfd3b42f15) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test base::arithmetic::tests::for_full_adder ... ok [INFO] [stdout] test base::arithmetic::tests::for_add16 ... ok [INFO] [stdout] test base::arithmetic::tests::for_inc ... ok [INFO] [stdout] test base::arithmetic::tests::for_half_adder ... ok [INFO] [stdout] test base::alu::test::for_alu ... ok [INFO] [stdout] test base::arithmetic::tests::for_inc16 ... ok [INFO] [stdout] test base::dff::tests::for_clock ... ok [INFO] [stdout] test base::dff::tests::for_dff ... ok [INFO] [stdout] test base::logic::tests::for_and ... ok [INFO] [stderr] [INFO] [stderr] thread 'computer::tests::for_computer_max2' 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-f9ec02bfd3b42f15` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "651a810ce516f23b05815908ebf1af10837198718be0633ac70b19bb8166a7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "651a810ce516f23b05815908ebf1af10837198718be0633ac70b19bb8166a7fd", kill_on_drop: false }` [INFO] [stdout] 651a810ce516f23b05815908ebf1af10837198718be0633ac70b19bb8166a7fd