[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcola119%2Fnand2tetris-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cola119/nand2tetris-rs on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fc6aaa5a14872b25936854804c596a9b30e339e38a421f49590a2e5b57015b6 [INFO] running `Command { std: "docker" "start" "-a" "8fc6aaa5a14872b25936854804c596a9b30e339e38a421f49590a2e5b57015b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fc6aaa5a14872b25936854804c596a9b30e339e38a421f49590a2e5b57015b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc6aaa5a14872b25936854804c596a9b30e339e38a421f49590a2e5b57015b6", kill_on_drop: false }` [INFO] [stdout] 8fc6aaa5a14872b25936854804c596a9b30e339e38a421f49590a2e5b57015b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bda3dd52d49030d1988ca05b16488b1c0b7913519364c01d9a1faaed4888aad [INFO] running `Command { std: "docker" "start" "-a" "4bda3dd52d49030d1988ca05b16488b1c0b7913519364c01d9a1faaed4888aad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling log v0.4.13 [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 openssl-sys v0.9.60 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [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 serde_json v1.0.61 [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 22.72s [INFO] running `Command { std: "docker" "inspect" "4bda3dd52d49030d1988ca05b16488b1c0b7913519364c01d9a1faaed4888aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bda3dd52d49030d1988ca05b16488b1c0b7913519364c01d9a1faaed4888aad", kill_on_drop: false }` [INFO] [stdout] 4bda3dd52d49030d1988ca05b16488b1c0b7913519364c01d9a1faaed4888aad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bf90b0cca6cfe813452bf3c5dcc16dc7576677e92463b6879514c59aa6a6435 [INFO] running `Command { std: "docker" "start" "-a" "3bf90b0cca6cfe813452bf3c5dcc16dc7576677e92463b6879514c59aa6a6435", kill_on_drop: false }` [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] --> 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] --> 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 hardware v0.1.0 (/opt/rustwide/workdir/hardware) [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] --> 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "3bf90b0cca6cfe813452bf3c5dcc16dc7576677e92463b6879514c59aa6a6435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf90b0cca6cfe813452bf3c5dcc16dc7576677e92463b6879514c59aa6a6435", kill_on_drop: false }` [INFO] [stdout] 3bf90b0cca6cfe813452bf3c5dcc16dc7576677e92463b6879514c59aa6a6435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec33eef6ba0d2c4c3ee278aac99dca2d35ad679862b06b460f7fc89aec7d4f05 [INFO] running `Command { std: "docker" "start" "-a" "ec33eef6ba0d2c4c3ee278aac99dca2d35ad679862b06b460f7fc89aec7d4f05", kill_on_drop: false }` [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: `vm-translator` (lib) generated 4 warnings [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: `assembler` (lib) generated 6 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: `hardware` (lib) generated 4 warnings [INFO] [stderr] warning: `hardware` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assembler-0de83fe5961c75e0) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test parser::tests::for_parser_add ... ok [INFO] [stdout] test parser::tests::for_parser_max ... ok [INFO] [stdout] test parser::tests::for_parser_rect ... ok [INFO] [stdout] test symbol_table::tests::for_symbol_table1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hardware-0a6a631aca5cbb4c) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test base::alu::test::for_alu ... ok [INFO] [stdout] test base::dff::tests::for_clock ... ok [INFO] [stdout] test base::arithmetic::tests::for_inc ... ok [INFO] [stdout] test base::arithmetic::tests::for_half_adder ... ok [INFO] [stdout] test base::arithmetic::tests::for_add16 ... ok [INFO] [stdout] test base::logic::tests::for_and16 ... ok [INFO] [stdout] test base::logic::tests::for_dmux ... ok [INFO] [stdout] test base::arithmetic::tests::for_inc16 ... ok [INFO] [stdout] test base::logic::tests::for_and ... ok [INFO] [stdout] test base::logic::tests::for_mux16 ... ok [INFO] [stdout] test base::logic::tests::for_not16 ... ok [INFO] [stdout] test base::cpu::tests::for_cpu ... ok [INFO] [stdout] test base::logic::tests::for_mux8way16 ... ok [INFO] [stdout] test base::dff::tests::for_dff ... ok [INFO] [stdout] test base::arithmetic::tests::for_full_adder ... ok [INFO] [stdout] test base::logic::tests::for_dmux4way ... ok [INFO] [stdout] test base::logic::tests::for_not ... ok [INFO] [stdout] test base::logic::tests::for_or ... ok [INFO] [stdout] test base::logic::tests::for_mux4way16 ... ok [INFO] [stdout] test base::logic::tests::for_mux ... ok [INFO] [stdout] test base::logic::tests::for_mux2 ... ok [INFO] [stdout] test base::logic::tests::for_nand ... ok [INFO] [stdout] test base::logic::tests::for_dmux8way ... ok [INFO] [stdout] test base::logic::tests::for_or16 ... ok [INFO] [stdout] test base::logic::tests::for_xor ... ok [INFO] [stdout] test base::logic::tests::for_word_from ... ok [INFO] [stdout] test base::logic::tests::for_or8way ... ok [INFO] [stdout] test base::ram::tests::for_ram8_2 ... ok [INFO] [stderr] [INFO] [stderr] thread 'base::ram::tests::for_ram4k' has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow [INFO] [stderr] error: test failed, to rerun pass '-p hardware --lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/hardware-0a6a631aca5cbb4c` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "ec33eef6ba0d2c4c3ee278aac99dca2d35ad679862b06b460f7fc89aec7d4f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec33eef6ba0d2c4c3ee278aac99dca2d35ad679862b06b460f7fc89aec7d4f05", kill_on_drop: false }` [INFO] [stdout] ec33eef6ba0d2c4c3ee278aac99dca2d35ad679862b06b460f7fc89aec7d4f05