[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] 92c3918f38ba80be2e48a143bb91538ccef523c7 [INFO] checking tiagodeliberali/jack_compiler against try#99a443d6903f71d521237d8acb5a3016b534d17b for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagodeliberali%2Fjack_compiler" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiagodeliberali/jack_compiler on toolchain 99a443d6903f71d521237d8acb5a3016b534d17b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "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-4/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" "+99a443d6903f71d521237d8acb5a3016b534d17b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b165e5684602992bcbbde9298922ad1cf52fbcb67fd455afd792460309859ac5 [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" "b165e5684602992bcbbde9298922ad1cf52fbcb67fd455afd792460309859ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b165e5684602992bcbbde9298922ad1cf52fbcb67fd455afd792460309859ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b165e5684602992bcbbde9298922ad1cf52fbcb67fd455afd792460309859ac5", kill_on_drop: false }` [INFO] [stdout] b165e5684602992bcbbde9298922ad1cf52fbcb67fd455afd792460309859ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ddad2c69f9c5c90e856d16b67daba824174f7a4a9a6f3440e16564193eb5d17 [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" "5ddad2c69f9c5c90e856d16b67daba824174f7a4a9a6f3440e16564193eb5d17", kill_on_drop: false }` [INFO] [stderr] Checking jack_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_symbol_table` [INFO] [stdout] --> src/parser.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_symbol_table(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_symbol_table` [INFO] [stdout] --> src/writer.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn set_symbol_table(&mut self, symbol_table: SymbolTable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class_name` [INFO] [stdout] --> src/writer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_class_name(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | v => panic!(format!("Invalid symbol type: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 146 | 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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | panic!(format!("Symbol already exists on symbol table: {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 150 | 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:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 304 | 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:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 419 | | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 420 | | next_token.get_type(), [INFO] [stdout] 421 | | next_token.get_value() [INFO] [stdout] 422 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 418 | panic!( [INFO] [stdout] 419 | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 420 | next_token.get_type(), [INFO] [stdout] 421 | next_token.get_value() [INFO] [stdout] 422 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | value => panic!(format!("Invalid statement value: {}", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 431 | 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | value => panic!(format!("Unexpected token: {}", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 67 | 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:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | v => panic!(format!("Invalid op on expression build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 105 | 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:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | v => panic!(format!("Invalid keywork on term build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 157 | 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:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | v => panic!(format!("Invalid symbol on term build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 178 | 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:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | v => panic!(format!("Unexpected term type: {:?}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 181 | 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:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 369 | 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:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 375 | | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 376 | | name, item_name [INFO] [stdout] 377 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 374 | panic!( [INFO] [stdout] 375 | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 376 | name, item_name [INFO] [stdout] 377 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | v => panic!(format!("Invalid symbol type: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 146 | 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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | panic!(format!("Symbol already exists on symbol table: {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 150 | 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:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | value => panic!(format!("Expecting ',' or ';', but retrieved '{}'", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 304 | 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:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 419 | | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 420 | | next_token.get_type(), [INFO] [stdout] 421 | | next_token.get_value() [INFO] [stdout] 422 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 418 | panic!( [INFO] [stdout] 419 | "Invalid token type on build of statement: {:?} ({})", [INFO] [stdout] 420 | next_token.get_type(), [INFO] [stdout] 421 | next_token.get_value() [INFO] [stdout] 422 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | value => panic!(format!("Invalid statement value: {}", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 431 | 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | value => panic!(format!("Unexpected token: {}", value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 67 | 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:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | v => panic!(format!("Invalid op on expression build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 105 | 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:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | v => panic!(format!("Invalid keywork on term build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 157 | 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:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | v => panic!(format!("Invalid symbol on term build: {}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 178 | 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:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | v => panic!(format!("Unexpected term type: {:?}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 181 | 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:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | panic!(format!("Missing name on TokenTreeItem. Expected {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 369 | 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:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 375 | | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 376 | | name, item_name [INFO] [stdout] 377 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 374 | panic!( [INFO] [stdout] 375 | "Invalid name on TokenTreeItem. Expected {}. Found {}.", [INFO] [stdout] 376 | name, item_name [INFO] [stdout] 377 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "5ddad2c69f9c5c90e856d16b67daba824174f7a4a9a6f3440e16564193eb5d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ddad2c69f9c5c90e856d16b67daba824174f7a4a9a6f3440e16564193eb5d17", kill_on_drop: false }` [INFO] [stdout] 5ddad2c69f9c5c90e856d16b67daba824174f7a4a9a6f3440e16564193eb5d17