[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] testing tiagodeliberali/jack_compiler against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiagodeliberali/jack_compiler on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 153865483a7ccbc02ea193f328782f6f7e1ad9a3dc71ec849d72dd0265be0220 [INFO] running `Command { std: "docker" "start" "-a" "153865483a7ccbc02ea193f328782f6f7e1ad9a3dc71ec849d72dd0265be0220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153865483a7ccbc02ea193f328782f6f7e1ad9a3dc71ec849d72dd0265be0220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153865483a7ccbc02ea193f328782f6f7e1ad9a3dc71ec849d72dd0265be0220", kill_on_drop: false }` [INFO] [stdout] 153865483a7ccbc02ea193f328782f6f7e1ad9a3dc71ec849d72dd0265be0220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315d4e1f5e2b540ebe4bfbdfbd7b692a008797f6d9b3cbcdf7034853a58a71b4 [INFO] running `Command { std: "docker" "start" "-a" "315d4e1f5e2b540ebe4bfbdfbd7b692a008797f6d9b3cbcdf7034853a58a71b4", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 6.31s [INFO] running `Command { std: "docker" "inspect" "315d4e1f5e2b540ebe4bfbdfbd7b692a008797f6d9b3cbcdf7034853a58a71b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315d4e1f5e2b540ebe4bfbdfbd7b692a008797f6d9b3cbcdf7034853a58a71b4", kill_on_drop: false }` [INFO] [stdout] 315d4e1f5e2b540ebe4bfbdfbd7b692a008797f6d9b3cbcdf7034853a58a71b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bc0ce54c86d3f3845f45602a1b0759a1b989fb7f677fc089d5d83f91e9e7250 [INFO] running `Command { std: "docker" "start" "-a" "1bc0ce54c86d3f3845f45602a1b0759a1b989fb7f677fc089d5d83f91e9e7250", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.22s [INFO] running `Command { std: "docker" "inspect" "1bc0ce54c86d3f3845f45602a1b0759a1b989fb7f677fc089d5d83f91e9e7250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc0ce54c86d3f3845f45602a1b0759a1b989fb7f677fc089d5d83f91e9e7250", kill_on_drop: false }` [INFO] [stdout] 1bc0ce54c86d3f3845f45602a1b0759a1b989fb7f677fc089d5d83f91e9e7250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f63a1dc6ca6f2080febb698df8a43ebcf1219d06fd0481bf61fffcbdf7bc954 [INFO] running `Command { std: "docker" "start" "-a" "2f63a1dc6ca6f2080febb698df8a43ebcf1219d06fd0481bf61fffcbdf7bc954", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | v => panic!(format!("Invalid symbol type: {}", v)), [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 158 - v => panic!(format!("Invalid symbol type: {}", v)), [INFO] [stderr] 158 + v => panic!("Invalid symbol type: {}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:162:20 [INFO] [stderr] | [INFO] [stderr] 162 | panic!(format!("Symbol already exists on symbol table: {}", name)); [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] 162 - panic!(format!("Symbol already exists on symbol table: {}", name)); [INFO] [stderr] 162 + panic!("Symbol already exists on symbol table: {}", name); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:325:33 [INFO] [stderr] | [INFO] [stderr] 325 | value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [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] 325 - value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [INFO] [stderr] 325 + value => panic!("Expecting ',' or ';', but retrieved '{}'", value), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:439:20 [INFO] [stderr] | [INFO] [stderr] 439 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 440 | | "Invalid token type on build of statement: {:?} ({})", [INFO] [stderr] 441 | | next_token.get_type(), [INFO] [stderr] 442 | | next_token.get_value() [INFO] [stderr] 443 | | )); [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] 439 ~ panic!( [INFO] [stderr] 440 | "Invalid token type on build of statement: {:?} ({})", [INFO] [stderr] 441 | next_token.get_type(), [INFO] [stderr] 442 | next_token.get_value() [INFO] [stderr] 443 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:452:29 [INFO] [stderr] | [INFO] [stderr] 452 | value => panic!(format!("Invalid statement value: {}", value)), [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] 452 - value => panic!(format!("Invalid statement value: {}", value)), [INFO] [stderr] 452 + value => panic!("Invalid statement value: {}", value), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tokenizer.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 93 | | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stderr] 94 | | type_keywords, [INFO] [stderr] 95 | | token.get_value() [INFO] [stderr] 96 | | )); [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] 92 ~ panic!( [INFO] [stderr] 93 | "Invalid keywork. Expected {:?}, but found {}", [INFO] [stderr] 94 | type_keywords, [INFO] [stderr] 95 | token.get_value() [INFO] [stderr] 96 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tokenizer.rs:108:20 [INFO] [stderr] | [INFO] [stderr] 108 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 109 | | "Invalid op. Expected {:?}, but found {}", [INFO] [stderr] 110 | | OP_SYMBOLS, token_value [INFO] [stderr] 111 | | )); [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] 108 ~ panic!( [INFO] [stderr] 109 | "Invalid op. Expected {:?}, but found {}", [INFO] [stderr] 110 | OP_SYMBOLS, token_value [INFO] [stderr] 111 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tokenizer.rs:187:29 [INFO] [stderr] | [INFO] [stderr] 187 | _ => panic!(format!( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 188 | | "Invalid presence of \" inside a {:?}", [INFO] [stderr] 189 | | current_type [INFO] [stderr] 190 | | )), [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] 187 ~ _ => panic!( [INFO] [stderr] 188 | "Invalid presence of \" inside a {:?}", [INFO] [stderr] 189 | current_type [INFO] [stderr] 190 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tokenizer.rs:305:16 [INFO] [stderr] | [INFO] [stderr] 305 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 306 | | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stderr] 307 | | value [INFO] [stderr] 308 | | )); [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] 305 ~ panic!( [INFO] [stderr] 306 | "Incomplete string: '{}' starts with \" but not ends with \"", [INFO] [stderr] 307 | value [INFO] [stderr] 308 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tokenizer.rs:323:16 [INFO] [stderr] | [INFO] [stderr] 323 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 324 | | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stderr] 325 | | value [INFO] [stderr] 326 | | )); [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] 323 ~ panic!( [INFO] [stderr] 324 | "Invalid numeric value: {}. Failed to parse to i16", [INFO] [stderr] 325 | value [INFO] [stderr] 326 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:96:29 [INFO] [stderr] | [INFO] [stderr] 96 | value => panic!(format!("Unexpected token: {}", value)), [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] 96 - value => panic!(format!("Unexpected token: {}", value)), [INFO] [stderr] 96 + value => panic!("Unexpected token: {}", value), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:191:25 [INFO] [stderr] | [INFO] [stderr] 191 | v => panic!(format!("Invalid routine type: {}", v)), [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] 191 - v => panic!(format!("Invalid routine type: {}", v)), [INFO] [stderr] 191 + v => panic!("Invalid routine type: {}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:399:25 [INFO] [stderr] | [INFO] [stderr] 399 | v => panic!(format!("Invalid op on expression build: {}", v)), [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] 399 - v => panic!(format!("Invalid op on expression build: {}", v)), [INFO] [stderr] 399 + v => panic!("Invalid op on expression build: {}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:463:33 [INFO] [stderr] | [INFO] [stderr] 463 | v => panic!(format!("Invalid keywork on term build: {}", v)), [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] 463 - v => panic!(format!("Invalid keywork on term build: {}", v)), [INFO] [stderr] 463 + v => panic!("Invalid keywork on term build: {}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:484:33 [INFO] [stderr] | [INFO] [stderr] 484 | v => panic!(format!("Invalid symbol on term build: {}", v)), [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] 484 - v => panic!(format!("Invalid symbol on term build: {}", v)), [INFO] [stderr] 484 + v => panic!("Invalid symbol on term build: {}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:487:25 [INFO] [stderr] | [INFO] [stderr] 487 | v => panic!(format!("Unexpected term type: {:?}", v)), [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] 487 - v => panic!(format!("Unexpected term type: {:?}", v)), [INFO] [stderr] 487 + v => panic!("Unexpected term type: {:?}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:704:20 [INFO] [stderr] | [INFO] [stderr] 704 | panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [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] 704 - panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [INFO] [stderr] 704 + panic!("Missing name on TokenTreeItem. Expected {}", name); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/writer.rs:709:20 [INFO] [stderr] | [INFO] [stderr] 709 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 710 | | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stderr] 711 | | name, item_name [INFO] [stderr] 712 | | )); [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] 709 ~ panic!( [INFO] [stderr] 710 | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stderr] 711 | name, item_name [INFO] [stderr] 712 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `jack_compiler` (bin "jack_compiler" test) generated 18 warnings (run `cargo fix --bin "jack_compiler" --tests` to apply 18 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jack_compiler-30e425dfaff8e533) [INFO] [stdout] test builder::tests::clean_line_with_simple_comment ... ok [INFO] [stdout] test builder::tests::clean_line_with_spaces ... ok [INFO] [stdout] test builder::tests::clean_line_with_special_comment ... ok [INFO] [stdout] test builder::tests::test_clear_special_coments ... ok [INFO] [stdout] test parser::tests::build_class_var_dec_list ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_call_method_with_string ... ok [INFO] [stdout] test parser::tests::build_subroutine_with_argumants_and_vars ... ok [INFO] [stdout] test tokenizer::tests::test_build_token_symbol ... ok [INFO] [stdout] test parser::tests::build_list_of_subroutines ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_identifier_and_symbol ... ok [INFO] [stdout] test parser::tests::build_root_node ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_long_command ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_keyword ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_symbol ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_sum_two_numbers ... ok [INFO] [stdout] test writer::tests::build_call_with_local_method_call ... ok [INFO] [stdout] test writer::tests::build_do_this ... ok [INFO] [stdout] test writer::tests::build_do_with_args ... ok [INFO] [stdout] test writer::tests::build_function ... ok [INFO] [stdout] test writer::tests::build_function_with_os ... ok [INFO] [stdout] test writer::tests::build_if ... ok [INFO] [stdout] test writer::tests::build_let_with_array ... ok [INFO] [stdout] test writer::tests::build_if_else ... ok [INFO] [stdout] test writer::tests::build_constructor ... ok [INFO] [stdout] test writer::tests::build_let_with_constants ... ok [INFO] [stdout] test writer::tests::build_let_with_constants_both_sides ... ok [INFO] [stdout] test writer::tests::build_let_with_string ... ok [INFO] [stdout] test writer::tests::build_return_void ... ok [INFO] [stdout] test writer::tests::build_function_with_instance ... ok [INFO] [stdout] test writer::tests::build_let_with_two_arrays ... ok [INFO] [stdout] test writer::tests::build_return_false ... ok [INFO] [stdout] test writer::tests::build_expression_with_constants ... ok [INFO] [stdout] test writer::tests::build_method ... ok [INFO] [stdout] test writer::tests::build_while ... ok [INFO] [stdout] test writer::tests::build_call_let_with_local_method_call ... ok [INFO] [stdout] test writer::tests::build_expression_with_parenthesis ... ok [INFO] [stdout] test tokenizer::tests::test_retrieve_type ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_invalid_quote - should panic ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_number_too_big - should panic ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_number_with_invalid_char - should panic ... ok [INFO] [stdout] test tokenizer::tests::test_retrieve_invalid_type - should panic ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_with_invalid_string - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f63a1dc6ca6f2080febb698df8a43ebcf1219d06fd0481bf61fffcbdf7bc954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f63a1dc6ca6f2080febb698df8a43ebcf1219d06fd0481bf61fffcbdf7bc954", kill_on_drop: false }` [INFO] [stdout] 2f63a1dc6ca6f2080febb698df8a43ebcf1219d06fd0481bf61fffcbdf7bc954