[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiagodeliberali/jack_compiler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-9/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e3844e9c0086e8bae37cbc1e30d469ecaf23e4e0e80b3a2bb00ca66607f56fd [INFO] running `Command { std: "docker" "start" "-a" "6e3844e9c0086e8bae37cbc1e30d469ecaf23e4e0e80b3a2bb00ca66607f56fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e3844e9c0086e8bae37cbc1e30d469ecaf23e4e0e80b3a2bb00ca66607f56fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3844e9c0086e8bae37cbc1e30d469ecaf23e4e0e80b3a2bb00ca66607f56fd", kill_on_drop: false }` [INFO] [stdout] 6e3844e9c0086e8bae37cbc1e30d469ecaf23e4e0e80b3a2bb00ca66607f56fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f29f31f73ca60172600e4ae13e866b0446dc9635c08b8349292bb30b236f9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "98f29f31f73ca60172600e4ae13e866b0446dc9635c08b8349292bb30b236f9c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.23 [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.77s [INFO] running `Command { std: "docker" "inspect" "98f29f31f73ca60172600e4ae13e866b0446dc9635c08b8349292bb30b236f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f29f31f73ca60172600e4ae13e866b0446dc9635c08b8349292bb30b236f9c", kill_on_drop: false }` [INFO] [stdout] 98f29f31f73ca60172600e4ae13e866b0446dc9635c08b8349292bb30b236f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5f7457acdbb243a27a870a63119e6f75ef89a09cf3181ed88f2fc5726a3b97a [INFO] running `Command { std: "docker" "start" "-a" "f5f7457acdbb243a27a870a63119e6f75ef89a09cf3181ed88f2fc5726a3b97a", 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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "f5f7457acdbb243a27a870a63119e6f75ef89a09cf3181ed88f2fc5726a3b97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f7457acdbb243a27a870a63119e6f75ef89a09cf3181ed88f2fc5726a3b97a", kill_on_drop: false }` [INFO] [stdout] f5f7457acdbb243a27a870a63119e6f75ef89a09cf3181ed88f2fc5726a3b97a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1880dd47ed419ed0524d0d977465887a2bea5c795f4d12d0be8f617a968ed3cf [INFO] running `Command { std: "docker" "start" "-a" "1880dd47ed419ed0524d0d977465887a2bea5c795f4d12d0be8f617a968ed3cf", kill_on_drop: false }` [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jack_compiler-2ace8de0a4f826a4) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test builder::tests::clean_line_with_simple_comment ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_identifier_and_symbol ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_call_method_with_string ... ok [INFO] [stdout] test tokenizer::tests::test_build_token_symbol ... ok [INFO] [stdout] test parser::tests::build_subroutine_with_argumants_and_vars ... ok [INFO] [stdout] test tokenizer::tests::test_retrieve_type ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_sum_two_numbers ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_symbol ... ok [INFO] [stdout] test builder::tests::clean_line_with_special_comment ... ok [INFO] [stdout] test parser::tests::build_list_of_subroutines ... ok [INFO] [stdout] test builder::tests::clean_line_with_spaces ... ok [INFO] [stdout] test parser::tests::build_root_node ... ok [INFO] [stdout] test parser::tests::build_class_var_dec_list ... ok [INFO] [stdout] test builder::tests::test_clear_special_coments ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_keyword ... ok [INFO] [stdout] test tokenizer::tests::test_process_code_long_command ... ok [INFO] [stdout] test writer::tests::build_if ... 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_constructor ... ok [INFO] [stdout] test writer::tests::build_expression_with_constants ... ok [INFO] [stdout] test writer::tests::build_expression_with_parenthesis ... ok [INFO] [stdout] test writer::tests::build_function_with_os ... ok [INFO] [stdout] test writer::tests::build_function_with_instance ... ok [INFO] [stdout] test writer::tests::build_function ... ok [INFO] [stdout] test writer::tests::build_let_with_string ... ok [INFO] [stdout] test writer::tests::build_call_let_with_local_method_call ... ok [INFO] [stdout] test writer::tests::build_call_with_local_method_call ... ok [INFO] [stdout] test writer::tests::build_if_else ... ok [INFO] [stdout] test writer::tests::build_let_with_array ... 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_two_arrays ... ok [INFO] [stdout] test writer::tests::build_method ... ok [INFO] [stdout] test writer::tests::build_return_false ... ok [INFO] [stdout] test writer::tests::build_return_void ... ok [INFO] [stdout] test writer::tests::build_while ... 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] 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_process_code_invalid_quote - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1880dd47ed419ed0524d0d977465887a2bea5c795f4d12d0be8f617a968ed3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1880dd47ed419ed0524d0d977465887a2bea5c795f4d12d0be8f617a968ed3cf", kill_on_drop: false }` [INFO] [stdout] 1880dd47ed419ed0524d0d977465887a2bea5c795f4d12d0be8f617a968ed3cf