[INFO] cloning repository https://github.com/Gonanf/lykoi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gonanf/lykoi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Flykoi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Flykoi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5679d08b96c07c3004a07e52c0f3c6c040d58d54 [INFO] building Gonanf/lykoi against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Flykoi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gonanf/lykoi on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gonanf/lykoi [INFO] finished tweaking git repo https://github.com/Gonanf/lykoi [INFO] tweaked toml for git repo https://github.com/Gonanf/lykoi written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Gonanf/lykoi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4233d81d23355f6be286ec29028397e35d110457bfe53d76ecb9301e584965c7 [INFO] running `Command { std: "docker" "start" "-a" "4233d81d23355f6be286ec29028397e35d110457bfe53d76ecb9301e584965c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4233d81d23355f6be286ec29028397e35d110457bfe53d76ecb9301e584965c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4233d81d23355f6be286ec29028397e35d110457bfe53d76ecb9301e584965c7", kill_on_drop: false }` [INFO] [stdout] 4233d81d23355f6be286ec29028397e35d110457bfe53d76ecb9301e584965c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eba75d060b994361012677c112af742f913e9264d543d745465f85ea104051ba [INFO] running `Command { std: "docker" "start" "-a" "eba75d060b994361012677c112af742f913e9264d543d745465f85ea104051ba", kill_on_drop: false }` [INFO] [stderr] Compiling lykoi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `token` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum token { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `digits` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | digits(u8), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Digits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `literal_char` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | literal_char(u8), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LiteralChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `literal_dec` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | literal_dec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LiteralDec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `space` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | space, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `newline` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | newline, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Newline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equal` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | equal, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Equal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `minor` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | minor, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mayor` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mayor, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Mayor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `minus` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | minus, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `plus` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | plus, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mult` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mult, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `div` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | div, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left_bracket` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | left_bracket, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right_bracket` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | right_bracket, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left_par` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | left_par, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LeftPar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right_par` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | right_par, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RightPar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/compiler/tokenizer.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match (token_var) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - match (token_var) { [INFO] [stdout] 28 + match token_var { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `names` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum names { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `variable` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | variable(Vec, u32, u32), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `literal` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | literal(Vec, u32, u32), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `digits` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | digits(Vec, u32, u32), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Digits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `operation` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | operation(Vec, u32, u32), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Operation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left_bracket` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | left_bracket(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right_bracket` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | right_bracket(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left_par` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | left_par(u32, u32), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LeftPar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `right_par` should have an upper camel case name [INFO] [stdout] --> src/compiler/tokenizer.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | right_par(u32, u32), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RightPar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/tokenizer.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | if (buffered_token != token::space && buffered_token != token::newline) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - if (buffered_token != token::space && buffered_token != token::newline) { [INFO] [stdout] 124 + if buffered_token != token::space && buffered_token != token::newline { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/tokenizer.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | if (buffered_token != token::space && buffered_token != token::newline) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - if (buffered_token != token::space && buffered_token != token::newline) { [INFO] [stdout] 137 + if buffered_token != token::space && buffered_token != token::newline { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/compiler/parser.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use super::tokenizer::{self, names, token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AST_parser` should have an upper camel case name [INFO] [stdout] --> src/compiler/parser.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AST_parser { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AstParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AST_Errors` should have an upper camel case name [INFO] [stdout] --> src/compiler/parser.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum AST_Errors { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AstErrors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sintaxis` should have an upper camel case name [INFO] [stdout] --> src/compiler/parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | sintaxis(String, String), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sintaxis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `env::var`, `f32::consts::E`, `fmt::Display`, `fs::read`, and `iter::repeat` [INFO] [stdout] --> src/compiler/interpreter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, borrow::Borrow, env::var, f32::consts::E, fmt, fmt::Display, fs::read, iter::repeat, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `variables` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct variables { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `values` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum values { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bool` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | bool(bool), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `string` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | string(String), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `integer` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | integer(i32), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | none, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `interpreter` should have an upper camel case name [INFO] [stdout] --> src/compiler/interpreter.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct interpreter { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Interpreter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types` [INFO] [stdout] --> src/compiler/codegen.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nodes::{node, types::node_type, types}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::AST_parser` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parser::AST_parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/compiler.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | tokens.push(match (tokenizer::token::search_token(i as u8)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - tokens.push(match (tokenizer::token::search_token(i as u8)) { [INFO] [stdout] 18 + tokens.push(match tokenizer::token::search_token(i as u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::node_type` [INFO] [stdout] --> src/nodes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use types::node_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types` [INFO] [stdout] --> src/nodes/data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::types; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node_type` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum node_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `variable` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | variable(Vec), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `expression` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | expression(expresions), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `return_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | return_node(node), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReturnNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `statement` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | statement(statement), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `block` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | block(Vec), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `statement` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum statement { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `if_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | if_node(node, node, Vec, Option), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `IfNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `elif_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | elif_node(node, node), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ElifNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `else_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | else_node(node), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ElseNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `for_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | for_node(node, Option, Option, node), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ForNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `while_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | while_node(node, node), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `WhileNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `break_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | break_node, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BreakNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `continue_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | continue_node, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ContinueNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `assignment` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | assignment(node, node), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Assignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `binops` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum binops { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Binops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `in_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | in_node, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `InNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `assign` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assign, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `plus` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | plus, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `minus` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | minus, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `div` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | div, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mult` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mult, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mayor` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | mayor, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Mayor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `minor` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | minor, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mayor_equal` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | mayor_equal, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MayorEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `minor_equal` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | minor_equal, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MinorEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equal` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | equal, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Equal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `or` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | or, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `and` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | and, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `unops` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum unops { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `negative` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | negative, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Negative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `not_node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | not_node, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NotNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expresions` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum expresions { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Expresions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `binop` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | binop(node, binops, node), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Binop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unop` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | unop(unops, node), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `true_exp` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | true_exp, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TrueExp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `false_exp` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | false_exp, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `FalseExp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none_exp` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | none_exp, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NoneExp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `digits` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | digits(Vec), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Digits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `literal` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | literal(Vec), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `node` should have an upper camel case name [INFO] [stdout] --> src/nodes/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | node(node), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node` should have an upper camel case name [INFO] [stdout] --> src/nodes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct node { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/compiler/parser.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let exp = self.tokens.pop().expect("EOF"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/compiler/parser.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let statement = self.tokens.pop().expect("EOF"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/compiler/parser.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let statement = self.clone().tokens.pop().expect("EOF"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/compiler/parser.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | a => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/compiler/parser.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some(val) = binops::is_reserved(&next_token.clone().value()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/compiler/interpreter.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | for (index, value) in vec.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb147 [INFO] [stdout] --> src/compiler/interpreter.rs:348:6 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x703827181caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x703827813cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x703828728e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x703827181b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x703827183ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x703827183e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7038262eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7038271847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x70382632a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x70382631f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x70382631f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7038263342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x703826884fdc - ::span_bug:: [INFO] [stderr] 13: 0x70382690a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7038268f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7038268efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x703824d34437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7038281d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x7038281cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x703827807714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x7038278076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x703827a953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x703827a94f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x703824867185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x7038280e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x7038280e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7038280e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x703827c9bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x70382872cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x70382872cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x70382877b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x70382877b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x7038287701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x7038287dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x7038286f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x7038286f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x7038286f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x703829e21ac3 - [INFO] [stderr] 38: 0x703829eb2a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-12-31T20_36_26-9.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `compiler::interpreter::::interpretate_statement` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `compiler::interpreter::::interpretate_statement` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/compiler/codegen.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | node_type::block(vec) => Self::codegen_block(self), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/codegen.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | fn codegen_expression(block: node) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/codegen.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn codegen_return(block: node) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/codegen.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn codegen_statement(block: node) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/codegen.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn codegen_variable(block: node) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut buffer = String::from("a = 10 if a + 2 == 15 { b = 30 } else { b = 20 } b"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut parser = parser::AST_parser::new_from(tokens); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/nodes/implementations.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | node_type::block(vec) => b"{}".to_vec(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | node_type::return_node(node) => b"return".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/nodes/implementations.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | node_type::block(vec) => b"block".to_vec(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/nodes/implementations.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | node_type::statement(statement) => b"statement".to_vec(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | node_type::expression(node) => b"expression".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/nodes/implementations.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | node_type::variable(vec) => b"variable".to_vec(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | statement::if_node(node, node1, node2, node3) => b"if".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | statement::if_node(node, node1, node2, node3) => b"if".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node2` [INFO] [stdout] --> src/nodes/implementations.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | statement::if_node(node, node1, node2, node3) => b"if".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node3` [INFO] [stdout] --> src/nodes/implementations.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | statement::if_node(node, node1, node2, node3) => b"if".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | statement::elif_node(node, node1) => b"elif".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | statement::elif_node(node, node1) => b"elif".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | statement::else_node(node) => b"else".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | statement::while_node(node, _) => b"while".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | statement::assignment(node, node1) => b"=".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | statement::assignment(node, node1) => b"=".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | statement::assignment(node, node1) => b"assignment".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | statement::assignment(node, node1) => b"assignment".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | expresions::binop(node, binops, node1) => binops.value(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:162:45 [INFO] [stdout] | [INFO] [stdout] 162 | expresions::binop(node, binops, node1) => binops.value(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | expresions::unop(unops, node) => unops.value(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | expresions::binop(node, binops, node1) => b"Binary operation".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binops` [INFO] [stdout] --> src/nodes/implementations.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | expresions::binop(node, binops, node1) => b"Binary operation".to_vec(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> src/nodes/implementations.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | expresions::binop(node, binops, node1) => b"Binary operation".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unops` [INFO] [stdout] --> src/nodes/implementations.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | expresions::unop(unops, node) => b"Unary operation".to_vec(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_unops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/implementations.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | expresions::unop(unops, node) => b"Unary operation".to_vec(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/nodes/implementations.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | expresions::digits(vec) => b"digits".to_vec(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/nodes/implementations.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | expresions::literal(a) => b"literal".to_vec(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lykoi` (bin "lykoi"); 129 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name lykoi --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=eebc5725e47f9f91 -C extra-filename=-cf73279d0f0116ef --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "eba75d060b994361012677c112af742f913e9264d543d745465f85ea104051ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba75d060b994361012677c112af742f913e9264d543d745465f85ea104051ba", kill_on_drop: false }` [INFO] [stdout] eba75d060b994361012677c112af742f913e9264d543d745465f85ea104051ba