[INFO] cloning repository https://github.com/tiagodeliberali/jack_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiagodeliberali/jack_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 173bcd7147348d806919bf6219e045dc7e4aca69 [INFO] building tiagodeliberali/jack_compiler against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiagodeliberali/jack_compiler on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tiagodeliberali/jack_compiler [INFO] finished tweaking git repo https://github.com/tiagodeliberali/jack_compiler [INFO] tweaked toml for git repo https://github.com/tiagodeliberali/jack_compiler written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tiagodeliberali/jack_compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4f68cb35292a4ff6a6ea728063614adfb53a06b6538b613bd4d81f53ae55c0 [INFO] running `Command { std: "docker" "start" "-a" "5a4f68cb35292a4ff6a6ea728063614adfb53a06b6538b613bd4d81f53ae55c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4f68cb35292a4ff6a6ea728063614adfb53a06b6538b613bd4d81f53ae55c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4f68cb35292a4ff6a6ea728063614adfb53a06b6538b613bd4d81f53ae55c0", kill_on_drop: false }` [INFO] [stdout] 5a4f68cb35292a4ff6a6ea728063614adfb53a06b6538b613bd4d81f53ae55c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0460c6260e507e6ae8ad04d0cca472c3d523e6c107fef103a6ea3b2aa87e96d [INFO] running `Command { std: "docker" "start" "-a" "c0460c6260e507e6ae8ad04d0cca472c3d523e6c107fef103a6ea3b2aa87e96d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling jack_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | v => panic!(format!("Invalid symbol type: {}", v)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 158 - v => panic!(format!("Invalid symbol type: {}", v)), [INFO] [stdout] 158 + v => panic!("Invalid symbol type: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | panic!(format!("Symbol already exists on symbol table: {}", name)); [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] 162 - panic!(format!("Symbol already exists on symbol table: {}", name)); [INFO] [stdout] 162 + panic!("Symbol already exists on symbol table: {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [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] 325 - value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [INFO] [stdout] 325 + value => panic!("Expecting ',' or ';', but retrieved '{}'", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 439 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 440 | | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 441 | | next_token.get_type(), [INFO] [stdout] 442 | | next_token.get_value() [INFO] [stdout] 443 | | )); [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] 439 ~ panic!( [INFO] [stdout] 440 | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 441 | next_token.get_type(), [INFO] [stdout] 442 | next_token.get_value() [INFO] [stdout] 443 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | value => panic!(format!("Invalid statement value: {}", value)), [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] 452 - value => panic!(format!("Invalid statement value: {}", value)), [INFO] [stdout] 452 + value => panic!("Invalid statement value: {}", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 93 | | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stdout] 94 | | type_keywords, [INFO] [stdout] 95 | | token.get_value() [INFO] [stdout] 96 | | )); [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] 92 ~ panic!( [INFO] [stdout] 93 | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stdout] 94 | type_keywords, [INFO] [stdout] 95 | token.get_value() [INFO] [stdout] 96 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 109 | | "Invalid op. Expected {:?}, but found {}", [INFO] [stdout] 110 | | OP_SYMBOLS, token_value [INFO] [stdout] 111 | | )); [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] 108 ~ panic!( [INFO] [stdout] 109 | "Invalid op. Expected {:?}, but found {}", [INFO] [stdout] 110 | OP_SYMBOLS, token_value [INFO] [stdout] 111 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 188 | | "Invalid presence of \" inside a {:?}", [INFO] [stdout] 189 | | current_type [INFO] [stdout] 190 | | )), [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] 187 ~ _ => panic!( [INFO] [stdout] 188 | "Invalid presence of \" inside a {:?}", [INFO] [stdout] 189 | current_type [INFO] [stdout] 190 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 306 | | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stdout] 307 | | value [INFO] [stdout] 308 | | )); [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] 305 ~ panic!( [INFO] [stdout] 306 | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stdout] 307 | value [INFO] [stdout] 308 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 324 | | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stdout] 325 | | value [INFO] [stdout] 326 | | )); [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] 323 ~ panic!( [INFO] [stdout] 324 | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stdout] 325 | value [INFO] [stdout] 326 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | value => panic!(format!("Unexpected token: {}", value)), [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] 96 - value => panic!(format!("Unexpected token: {}", value)), [INFO] [stdout] 96 + value => panic!("Unexpected token: {}", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | v => panic!(format!("Invalid routine type: {}", v)), [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] 191 - v => panic!(format!("Invalid routine type: {}", v)), [INFO] [stdout] 191 + v => panic!("Invalid routine type: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | v => panic!(format!("Invalid op on expression build: {}", v)), [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] 399 - v => panic!(format!("Invalid op on expression build: {}", v)), [INFO] [stdout] 399 + v => panic!("Invalid op on expression build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:463:33 [INFO] [stdout] | [INFO] [stdout] 463 | v => panic!(format!("Invalid keywork on term build: {}", v)), [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] 463 - v => panic!(format!("Invalid keywork on term build: {}", v)), [INFO] [stdout] 463 + v => panic!("Invalid keywork on term build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:484:33 [INFO] [stdout] | [INFO] [stdout] 484 | v => panic!(format!("Invalid symbol on term build: {}", v)), [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] 484 - v => panic!(format!("Invalid symbol on term build: {}", v)), [INFO] [stdout] 484 + v => panic!("Invalid symbol on term build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | v => panic!(format!("Unexpected term type: {:?}", v)), [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] 487 - v => panic!(format!("Unexpected term type: {:?}", v)), [INFO] [stdout] 487 + v => panic!("Unexpected term type: {:?}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:704:20 [INFO] [stdout] | [INFO] [stdout] 704 | panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [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] 704 - panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [INFO] [stdout] 704 + panic!("Missing name on TokenTreeItem. Expected {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:709:20 [INFO] [stdout] | [INFO] [stdout] 709 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 710 | | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 711 | | name, item_name [INFO] [stdout] 712 | | )); [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] 709 ~ panic!( [INFO] [stdout] 710 | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 711 | name, item_name [INFO] [stdout] 712 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.57s [INFO] running `Command { std: "docker" "inspect" "c0460c6260e507e6ae8ad04d0cca472c3d523e6c107fef103a6ea3b2aa87e96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0460c6260e507e6ae8ad04d0cca472c3d523e6c107fef103a6ea3b2aa87e96d", kill_on_drop: false }` [INFO] [stdout] c0460c6260e507e6ae8ad04d0cca472c3d523e6c107fef103a6ea3b2aa87e96d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f1dbe270080fd3f7581e45a7199ea7e50bf4585b634b4db3de87abcfe97d32e [INFO] running `Command { std: "docker" "start" "-a" "0f1dbe270080fd3f7581e45a7199ea7e50bf4585b634b4db3de87abcfe97d32e", kill_on_drop: false }` [INFO] [stderr] Compiling jack_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | v => panic!(format!("Invalid symbol type: {}", v)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 158 - v => panic!(format!("Invalid symbol type: {}", v)), [INFO] [stdout] 158 + v => panic!("Invalid symbol type: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | panic!(format!("Symbol already exists on symbol table: {}", name)); [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] 162 - panic!(format!("Symbol already exists on symbol table: {}", name)); [INFO] [stdout] 162 + panic!("Symbol already exists on symbol table: {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [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] 325 - value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [INFO] [stdout] 325 + value => panic!("Expecting ',' or ';', but retrieved '{}'", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 439 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 440 | | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 441 | | next_token.get_type(), [INFO] [stdout] 442 | | next_token.get_value() [INFO] [stdout] 443 | | )); [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] 439 ~ panic!( [INFO] [stdout] 440 | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 441 | next_token.get_type(), [INFO] [stdout] 442 | next_token.get_value() [INFO] [stdout] 443 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | value => panic!(format!("Invalid statement value: {}", value)), [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] 452 - value => panic!(format!("Invalid statement value: {}", value)), [INFO] [stdout] 452 + value => panic!("Invalid statement value: {}", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 93 | | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stdout] 94 | | type_keywords, [INFO] [stdout] 95 | | token.get_value() [INFO] [stdout] 96 | | )); [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] 92 ~ panic!( [INFO] [stdout] 93 | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stdout] 94 | type_keywords, [INFO] [stdout] 95 | token.get_value() [INFO] [stdout] 96 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 109 | | "Invalid op. Expected {:?}, but found {}", [INFO] [stdout] 110 | | OP_SYMBOLS, token_value [INFO] [stdout] 111 | | )); [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] 108 ~ panic!( [INFO] [stdout] 109 | "Invalid op. Expected {:?}, but found {}", [INFO] [stdout] 110 | OP_SYMBOLS, token_value [INFO] [stdout] 111 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 188 | | "Invalid presence of \" inside a {:?}", [INFO] [stdout] 189 | | current_type [INFO] [stdout] 190 | | )), [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] 187 ~ _ => panic!( [INFO] [stdout] 188 | "Invalid presence of \" inside a {:?}", [INFO] [stdout] 189 | current_type [INFO] [stdout] 190 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 306 | | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stdout] 307 | | value [INFO] [stdout] 308 | | )); [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] 305 ~ panic!( [INFO] [stdout] 306 | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stdout] 307 | value [INFO] [stdout] 308 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 324 | | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stdout] 325 | | value [INFO] [stdout] 326 | | )); [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] 323 ~ panic!( [INFO] [stdout] 324 | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stdout] 325 | value [INFO] [stdout] 326 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | value => panic!(format!("Unexpected token: {}", value)), [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] 96 - value => panic!(format!("Unexpected token: {}", value)), [INFO] [stdout] 96 + value => panic!("Unexpected token: {}", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | v => panic!(format!("Invalid routine type: {}", v)), [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] 191 - v => panic!(format!("Invalid routine type: {}", v)), [INFO] [stdout] 191 + v => panic!("Invalid routine type: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:399:25 [INFO] [stdout] | [INFO] [stdout] 399 | v => panic!(format!("Invalid op on expression build: {}", v)), [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] 399 - v => panic!(format!("Invalid op on expression build: {}", v)), [INFO] [stdout] 399 + v => panic!("Invalid op on expression build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:463:33 [INFO] [stdout] | [INFO] [stdout] 463 | v => panic!(format!("Invalid keywork on term build: {}", v)), [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] 463 - v => panic!(format!("Invalid keywork on term build: {}", v)), [INFO] [stdout] 463 + v => panic!("Invalid keywork on term build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:484:33 [INFO] [stdout] | [INFO] [stdout] 484 | v => panic!(format!("Invalid symbol on term build: {}", v)), [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] 484 - v => panic!(format!("Invalid symbol on term build: {}", v)), [INFO] [stdout] 484 + v => panic!("Invalid symbol on term build: {}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | v => panic!(format!("Unexpected term type: {:?}", v)), [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] 487 - v => panic!(format!("Unexpected term type: {:?}", v)), [INFO] [stdout] 487 + v => panic!("Unexpected term type: {:?}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:704:20 [INFO] [stdout] | [INFO] [stdout] 704 | panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [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] 704 - panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [INFO] [stdout] 704 + panic!("Missing name on TokenTreeItem. Expected {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/writer.rs:709:20 [INFO] [stdout] | [INFO] [stdout] 709 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 710 | | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 711 | | name, item_name [INFO] [stdout] 712 | | )); [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] 709 ~ panic!( [INFO] [stdout] 710 | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 711 | name, item_name [INFO] [stdout] 712 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "0f1dbe270080fd3f7581e45a7199ea7e50bf4585b634b4db3de87abcfe97d32e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1dbe270080fd3f7581e45a7199ea7e50bf4585b634b4db3de87abcfe97d32e", kill_on_drop: false }` [INFO] [stdout] 0f1dbe270080fd3f7581e45a7199ea7e50bf4585b634b4db3de87abcfe97d32e