[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f560c89c61899251fbceaf4b94a6d7f4c6634b1e605c79fd8ebc8b6aa7de743e [INFO] running `Command { std: "docker" "start" "-a" "f560c89c61899251fbceaf4b94a6d7f4c6634b1e605c79fd8ebc8b6aa7de743e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f560c89c61899251fbceaf4b94a6d7f4c6634b1e605c79fd8ebc8b6aa7de743e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f560c89c61899251fbceaf4b94a6d7f4c6634b1e605c79fd8ebc8b6aa7de743e", kill_on_drop: false }` [INFO] [stdout] f560c89c61899251fbceaf4b94a6d7f4c6634b1e605c79fd8ebc8b6aa7de743e [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b061979928cd76db86194129585f449af694eae3129a521360712eaff749fcf [INFO] running `Command { std: "docker" "start" "-a" "1b061979928cd76db86194129585f449af694eae3129a521360712eaff749fcf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [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 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] --> 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tungstenite v0.11.1 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.42s [INFO] running `Command { std: "docker" "inspect" "1b061979928cd76db86194129585f449af694eae3129a521360712eaff749fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b061979928cd76db86194129585f449af694eae3129a521360712eaff749fcf", kill_on_drop: false }` [INFO] [stdout] 1b061979928cd76db86194129585f449af694eae3129a521360712eaff749fcf [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 565c8b8cb0e436bba0557e0a9fe3e21ccc6b70397d7fc332391ea48924396bfc [INFO] running `Command { std: "docker" "start" "-a" "565c8b8cb0e436bba0557e0a9fe3e21ccc6b70397d7fc332391ea48924396bfc", kill_on_drop: false }` [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] [stderr] Compiling assembler v0.1.0 (/opt/rustwide/workdir/assembler) [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] --> 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] --> 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] --> 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] --> 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: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] [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/assembler-0de83fe5961c75e0) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hardware-2412385dcfbb9890) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/integrate-37d0d840916c0fbd) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/vm_translator-e31377e8cc391f29) [INFO] running `Command { std: "docker" "inspect" "565c8b8cb0e436bba0557e0a9fe3e21ccc6b70397d7fc332391ea48924396bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565c8b8cb0e436bba0557e0a9fe3e21ccc6b70397d7fc332391ea48924396bfc", kill_on_drop: false }` [INFO] [stdout] 565c8b8cb0e436bba0557e0a9fe3e21ccc6b70397d7fc332391ea48924396bfc [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1297e2bbf809beeee1dd430ba97b7b1614925794e5dd87f320a72849b65b86e1 [INFO] running `Command { std: "docker" "start" "-a" "1297e2bbf809beeee1dd430ba97b7b1614925794e5dd87f320a72849b65b86e1", 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] [stdout] [INFO] [stderr] --> vm-translator/src/code_writer.rs:80:33 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test parser::tests::for_parser_add ... ok [INFO] [stderr] 80 | _ => panic!(format!("Unknown operator: {}", operator_str)), [INFO] [stdout] test parser::tests::for_parser_rect ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test symbol_table::tests::for_symbol_table1 ... ok [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: `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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/assembler-0de83fe5961c75e0) [INFO] [stdout] test parser::tests::for_parser_max ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hardware-2412385dcfbb9890) [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] [stdout] [INFO] [stdout] running 47 tests [INFO] [stderr] [INFO] [stdout] test base::arithmetic::tests::for_inc ... ok [INFO] [stderr] thread 'base::ram::tests::for_ram4k' has overflowed its stack [INFO] [stdout] test base::arithmetic::tests::for_inc16 ... ok [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stdout] test base::dff::tests::for_dff ... ok [INFO] [stderr] [INFO] [stdout] test base::cpu::tests::for_cpu ... ok [INFO] [stderr] thread 'base::rom::tests::for_rom_load' has overflowed its stack [INFO] [stdout] test base::arithmetic::tests::for_full_adder ... ok [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stdout] test base::alu::test::for_alu ... ok [INFO] [stdout] test base::arithmetic::tests::for_half_adder ... ok [INFO] [stdout] test base::dff::tests::for_clock ... ok [INFO] [stdout] test base::arithmetic::tests::for_add16 ... ok [INFO] [stdout] test base::logic::tests::for_dmux4way ... ok [INFO] [stdout] test base::logic::tests::for_dmux8way ... ok [INFO] [stdout] test base::logic::tests::for_and ... ok [INFO] [stdout] test base::logic::tests::for_mux16 ... ok [INFO] [stdout] test base::ram::tests::for_ram64 ... ok [INFO] [stdout] test base::register::tests::for_bit ... ok [INFO] [stdout] test base::register::tests::for_bit2 ... ok [INFO] [stdout] test base::logic::tests::for_mux ... ok [INFO] [stdout] test base::logic::tests::for_dmux ... ok [INFO] [stdout] test base::logic::tests::for_or8way ... ok [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-2412385dcfbb9890` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "1297e2bbf809beeee1dd430ba97b7b1614925794e5dd87f320a72849b65b86e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1297e2bbf809beeee1dd430ba97b7b1614925794e5dd87f320a72849b65b86e1", kill_on_drop: false }` [INFO] [stdout] 1297e2bbf809beeee1dd430ba97b7b1614925794e5dd87f320a72849b65b86e1