[INFO] cloning repository https://github.com/sebwyn/seb_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebwyn/seb_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebwyn%2Fseb_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebwyn%2Fseb_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c654b995724cf4b9591f2c84e30bae261abccd5b [INFO] checking sebwyn/seb_lang against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebwyn%2Fseb_lang" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebwyn/seb_lang on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebwyn/seb_lang [INFO] finished tweaking git repo https://github.com/sebwyn/seb_lang [INFO] tweaked toml for git repo https://github.com/sebwyn/seb_lang written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sebwyn/seb_lang 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a47b0f86da068e72e5f8ee8d6f20e1931484879a290a22c2fbed3906fa0fa21 [INFO] running `Command { std: "docker" "start" "-a" "2a47b0f86da068e72e5f8ee8d6f20e1931484879a290a22c2fbed3906fa0fa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a47b0f86da068e72e5f8ee8d6f20e1931484879a290a22c2fbed3906fa0fa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a47b0f86da068e72e5f8ee8d6f20e1931484879a290a22c2fbed3906fa0fa21", kill_on_drop: false }` [INFO] [stdout] 2a47b0f86da068e72e5f8ee8d6f20e1931484879a290a22c2fbed3906fa0fa21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0946057aec48a45de864b782c967483272b20ac45c876b9a3879c901a375f30e [INFO] running `Command { std: "docker" "start" "-a" "0946057aec48a45de864b782c967483272b20ac45c876b9a3879c901a375f30e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking seb_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/dot_visualizer.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, error::Error, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/dot_visualizer.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, error::Error, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/dot_visualizer.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | if let Sym::Var((name, kind)) = &node.sym { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/dot_visualizer.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | if let Sym::Var((name, kind)) = &node.sym { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/parser.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/parser.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/parser.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | Sym::Token(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Sym::Var(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/parser.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/parser.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> src/parser.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | Sym::Token(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Sym::Var(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/parser.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/parser.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> src/parser.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/parser.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut text = text; [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: unused variable: `rule` [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rule = rules.get(rule).expect(&format!("Parsing with undefined rule: {}!", rule)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut text = text; [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: unused variable: `rule` [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rule = rules.get(rule).expect(&format!("Parsing with undefined rule: {}!", rule)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYM` is never used [INFO] [stdout] --> src/parser_lang.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SYM: &str = r"\s*(?:([^\s]+))"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Object` is never constructed [INFO] [stdout] --> src/parser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_array` is never used [INFO] [stdout] --> src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_token` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_reg` is never used [INFO] [stdout] --> src/parser.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_int` is never used [INFO] [stdout] --> src/parser.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_children` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_with_rule` is never used [INFO] [stdout] --> src/parser.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYM` is never used [INFO] [stdout] --> src/parser_lang.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SYM: &str = r"\s*(?:([^\s]+))"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Object` is never constructed [INFO] [stdout] --> src/parser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_array` is never used [INFO] [stdout] --> src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_token` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_reg` is never used [INFO] [stdout] --> src/parser.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_int` is never used [INFO] [stdout] --> src/parser.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_children` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_with_rule` is never used [INFO] [stdout] --> src/parser.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "0946057aec48a45de864b782c967483272b20ac45c876b9a3879c901a375f30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0946057aec48a45de864b782c967483272b20ac45c876b9a3879c901a375f30e", kill_on_drop: false }` [INFO] [stdout] 0946057aec48a45de864b782c967483272b20ac45c876b9a3879c901a375f30e [INFO] checking sebwyn/seb_lang against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebwyn%2Fseb_lang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebwyn/seb_lang on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebwyn/seb_lang [INFO] finished tweaking git repo https://github.com/sebwyn/seb_lang [INFO] tweaked toml for git repo https://github.com/sebwyn/seb_lang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sebwyn/seb_lang 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2853889be9d875a5c2d318ca7715868df4a878213fc90f5ab4c350e0bc5fbf81 [INFO] running `Command { std: "docker" "start" "-a" "2853889be9d875a5c2d318ca7715868df4a878213fc90f5ab4c350e0bc5fbf81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2853889be9d875a5c2d318ca7715868df4a878213fc90f5ab4c350e0bc5fbf81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2853889be9d875a5c2d318ca7715868df4a878213fc90f5ab4c350e0bc5fbf81", kill_on_drop: false }` [INFO] [stdout] 2853889be9d875a5c2d318ca7715868df4a878213fc90f5ab4c350e0bc5fbf81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af74facbfa28c490bac3e7fd47dac051a3d31781711146e8b91bb7debb73dff0 [INFO] running `Command { std: "docker" "start" "-a" "af74facbfa28c490bac3e7fd47dac051a3d31781711146e8b91bb7debb73dff0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking seb_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/dot_visualizer.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, error::Error, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/dot_visualizer.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, error::Error, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/dot_visualizer.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | if let Sym::Var((name, kind)) = &node.sym { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/dot_visualizer.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | if let Sym::Var((name, kind)) = &node.sym { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/parser.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/parser.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/parser.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | Sym::Token(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Sym::Var(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/parser.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/parser.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> src/parser.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/parser.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/parser.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | Sym::Token(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/parser.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Sym::Var(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/parser.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> src/parser.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some((remaining, value)) = parse_node(text, node, rules) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut text = text; [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: unused variable: `object` [INFO] [stdout] --> src/parser.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rule = rules.get(rule).expect(&format!("Parsing with undefined rule: {}!", rule)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut text = text; [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: unused variable: `rule` [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let rule = rules.get(rule).expect(&format!("Parsing with undefined rule: {}!", rule)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYM` is never used [INFO] [stdout] --> src/parser_lang.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SYM: &str = r"\s*(?:([^\s]+))"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Object` is never constructed [INFO] [stdout] --> src/parser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_array` is never used [INFO] [stdout] --> src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_token` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_reg` is never used [INFO] [stdout] --> src/parser.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_int` is never used [INFO] [stdout] --> src/parser.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_children` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_with_rule` is never used [INFO] [stdout] --> src/parser.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 43 | let (s, sym) = consume_token(source); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let (s, sym) = consume_var(source); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYM` is never used [INFO] [stdout] --> src/parser_lang.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SYM: &str = r"\s*(?:([^\s]+))"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 57 | let non_object = Regex::new(r"^\s*(?:([^\s]+))").unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Object` is never constructed [INFO] [stdout] --> src/parser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 79 | let var = Regex::new(r"^\s*\$(?:([^\s^\(]+))").unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_array` is never used [INFO] [stdout] --> src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn consume_array<'a>(stream: &'a str, kind: &Box, sep: &str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_token` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn consume_token<'a>(stream: &'a str, token: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_reg` is never used [INFO] [stdout] --> src/parser.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn consume_reg<'a>(stream: &'a str, reg: &Regex) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 102 | let type_decorator = Regex::new(r"^\s*%").unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let builtin = Regex::new(r"^\s*%(?:([^\s]+))").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let reg = Regex::new(r"^\s*!(?:([^\s]+))").unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | (text, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_int` is never used [INFO] [stdout] --> src/parser.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_int<'a>(stream: &'a str) -> Option<(&'a str, Value)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_node<'a>(text: &str, node: &SymNode, rules: &RuleMap) -> Option<(&'a str, Option<(String, Value)>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_children` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_children<'a>(text: &str, object: &mut Object, children: &[SymNode], rules: &RuleMap) -> Option<(&'a str, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_with_rule` is never used [INFO] [stdout] --> src/parser.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_with_rule<'a>(text: &str, rule: &str, rules: &RuleMap) -> Option<(&'a str, Object)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_structs.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 90 | fn new(sym: Sym) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | children: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 43 | let (s, sym) = consume_token(source); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let (s, sym) = consume_var(source); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 57 | let non_object = Regex::new(r"^\s*(?:([^\s]+))").unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 79 | let var = Regex::new(r"^\s*\$(?:([^\s^\(]+))").unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | (source, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_lang.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 102 | let type_decorator = Regex::new(r"^\s*%").unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let builtin = Regex::new(r"^\s*%(?:([^\s]+))").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let reg = Regex::new(r"^\s*!(?:([^\s]+))").unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | (text, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser_structs.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 90 | fn new(sym: Sym) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | children: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `seb_lang` (lib) due to 6 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `seb_lang` (lib test) due to 6 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "af74facbfa28c490bac3e7fd47dac051a3d31781711146e8b91bb7debb73dff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af74facbfa28c490bac3e7fd47dac051a3d31781711146e8b91bb7debb73dff0", kill_on_drop: false }` [INFO] [stdout] af74facbfa28c490bac3e7fd47dac051a3d31781711146e8b91bb7debb73dff0