[INFO] cloning repository https://github.com/RustingRobot/lilac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustingRobot/lilac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustingRobot%2Flilac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustingRobot%2Flilac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0474d46294bb9ed096845334090008c4c81e41d5 [INFO] checking RustingRobot/lilac/0474d46294bb9ed096845334090008c4c81e41d5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustingRobot%2Flilac" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustingRobot/lilac on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RustingRobot/lilac [INFO] finished tweaking git repo https://github.com/RustingRobot/lilac [INFO] tweaked toml for git repo https://github.com/RustingRobot/lilac written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RustingRobot/lilac 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82af3745c399562d353540b9284c6bf4ed7a5c2083cc8fa564c499b7f194b0f2 [INFO] running `Command { std: "docker" "start" "-a" "82af3745c399562d353540b9284c6bf4ed7a5c2083cc8fa564c499b7f194b0f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82af3745c399562d353540b9284c6bf4ed7a5c2083cc8fa564c499b7f194b0f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82af3745c399562d353540b9284c6bf4ed7a5c2083cc8fa564c499b7f194b0f2", kill_on_drop: false }` [INFO] [stdout] 82af3745c399562d353540b9284c6bf4ed7a5c2083cc8fa564c499b7f194b0f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0f87404fe42097cd518053c2460ea9924e7afef77e0706e7b5d207433b926f2 [INFO] running `Command { std: "docker" "start" "-a" "c0f87404fe42097cd518053c2460ea9924e7afef77e0706e7b5d207433b926f2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking clap_builder v4.4.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.4.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking lilac v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/commands/run.rs (2 fixes) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", message); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 23 | process::exit(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/compiler/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let settings = settings::request_settings(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/compiler/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> SubsectionNode<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn contains(&self, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualize` is never used [INFO] [stdout] --> src/compiler/visualize.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visualize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn visualize(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_tokens` is never used [INFO] [stdout] --> src/compiler/visualize.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn visualize_tokens(tokens: &Vec, content: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast` is never used [INFO] [stdout] --> src/compiler/visualize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn visualize_ast(tokens: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast_layer` is never used [INFO] [stdout] --> src/compiler/visualize.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn visualize_ast_layer(tokens: &Vec, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bold` is never used [INFO] [stdout] --> src/compiler/visualize.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn bold(txt: &str) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/compiler/mod.rs (1 fix) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", message); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 23 | process::exit(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/compiler/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> SubsectionNode<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn contains(&self, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualize` is never used [INFO] [stdout] --> src/compiler/visualize.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visualize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn visualize(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_tokens` is never used [INFO] [stdout] --> src/compiler/visualize.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn visualize_tokens(tokens: &Vec, content: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast` is never used [INFO] [stdout] --> src/compiler/visualize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn visualize_ast(tokens: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast_layer` is never used [INFO] [stdout] --> src/compiler/visualize.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn visualize_ast_layer(tokens: &Vec, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bold` is never used [INFO] [stdout] --> src/compiler/visualize.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn bold(txt: &str) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> src/compiler/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_env` is never used [INFO] [stdout] --> src/compiler/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn init_env(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.77s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lilac v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", message); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 23 | process::exit(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | lexer::extract_commands("[[]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | lexer::extract_commands("[[shgloopy path/or/something]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | lexer::extract_commands("[[put]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | lexer::extract_commands("[[for path as n path]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `settings` [INFO] [stdout] --> src/compiler/mod.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let settings = settings::request_settings(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `settings` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::settings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | let tokens = lexer::extract_commands("\ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | Block(Span { start: 0, end: 15 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | Block(Span { start: 0, end: 15 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Put` in this scope [INFO] [stdout] --> src/compiler/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | Put(Span { start: 15, end: 39 }, LilacPath { path: "path/to/file.txt".into() }), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Put; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Put(Span { start: 15, end: 39 }, LilacPath { path: "path/to/file.txt".into() }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LilacPath` in this scope [INFO] [stdout] --> src/compiler/mod.rs:158:46 [INFO] [stdout] | [INFO] [stdout] 158 | Put(Span { start: 15, end: 39 }, LilacPath { path: "path/to/file.txt".into() }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer::LilacPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | Block(Span { start: 39, end: 54 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | Block(Span { start: 39, end: 54 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `For` in this scope [INFO] [stdout] --> src/compiler/mod.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | For(Span { start: 54, end: 83 }, LilacPath { path: "path/to/files".into() }, lexer::Iterator { iterator: "loop".into() }), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::For; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | For(Span { start: 54, end: 83 }, LilacPath { path: "path/to/files".into() }, lexer::Iterator { iterator: "loop".into() }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LilacPath` in this scope [INFO] [stdout] --> src/compiler/mod.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | For(Span { start: 54, end: 83 }, LilacPath { path: "path/to/files".into() }, lexer::Iterator { iterator: "loop".into() }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer::LilacPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:160:90 [INFO] [stdout] | [INFO] [stdout] 160 | For(Span { start: 54, end: 83 }, LilacPath { path: "path/to/files".into() }, lexer::Iterator { iterator: "loop".into() }), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Block(Span { start: 83, end: 98 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | Block(Span { start: 83, end: 98 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `End` in this scope [INFO] [stdout] --> src/compiler/mod.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | End(Span { start: 98, end: 105 }), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::End; [INFO] [stdout] | [INFO] [stdout] 104 + use std::io::SeekFrom::End; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | End(Span { start: 98, end: 105 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | Block(Span { start: 105, end: 120 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | Block(Span { start: 105, end: 120 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Run` in this scope [INFO] [stdout] --> src/compiler/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Run(Span { start: 120, end: 153 }, LilacPath { path: "scripts/printSomething.sh".into() }), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 104 + use crate::args::CmdType::Run; [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Run; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | Run(Span { start: 120, end: 153 }, LilacPath { path: "scripts/printSomething.sh".into() }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LilacPath` in this scope [INFO] [stdout] --> src/compiler/mod.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | Run(Span { start: 120, end: 153 }, LilacPath { path: "scripts/printSomething.sh".into() }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer::LilacPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | Block(Span { start: 153, end: 168 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | Block(Span { start: 153, end: 168 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Put` in this scope [INFO] [stdout] --> src/compiler/mod.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Put(Span { start: 168, end: 203 }, LilacPath { path: "path/to/file.txt:subsection".into() }), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Put; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | Put(Span { start: 168, end: 203 }, LilacPath { path: "path/to/file.txt:subsection".into() }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LilacPath` in this scope [INFO] [stdout] --> src/compiler/mod.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | Put(Span { start: 168, end: 203 }, LilacPath { path: "path/to/file.txt:subsection".into() }), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer::LilacPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Block(Span { start: 203, end: 218 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | Block(Span { start: 203, end: 218 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Put` in this scope [INFO] [stdout] --> src/compiler/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Put(Span { start: 218, end: 257 }, LilacPath { path: "path/to/file.txt:sub:subsection".into() })]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Put; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Put(Span { start: 218, end: 257 }, LilacPath { path: "path/to/file.txt:sub:subsection".into() })]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LilacPath` in this scope [INFO] [stdout] --> src/compiler/mod.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | Put(Span { start: 218, end: 257 }, LilacPath { path: "path/to/file.txt:sub:subsection".into() })]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer::LilacPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | lexer::extract_commands("[[put path/to:subsection/file]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | lexer::extract_commands("[[put :path/to/file]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | lexer::extract_commands("[[put this/file/does/not/exist]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | lexer::extract_commands("[[put path/to/file.txt:does_not_exist]]"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/compiler/mod.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | let tokens = lexer::extract_subsections("top level\n:one\nheader\n::one/one\ncontent\n:two\nheader\n::two/one\n:::two/one/one"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | Block(Span { start: 0, end: 10 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | Block(Span { start: 0, end: 10 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Subsection` in this scope [INFO] [stdout] --> src/compiler/mod.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | Subsection(Span { start: 10, end: 14 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Subsection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:206:28 [INFO] [stdout] | [INFO] [stdout] 206 | Subsection(Span { start: 10, end: 14 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Indent` in this scope [INFO] [stdout] --> src/compiler/mod.rs:206:57 [INFO] [stdout] | [INFO] [stdout] 206 | Subsection(Span { start: 10, end: 14 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Indent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Block(Span { start: 14, end: 22 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | Block(Span { start: 14, end: 22 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Subsection` in this scope [INFO] [stdout] --> src/compiler/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | Subsection(Span { start: 22, end: 31 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Subsection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | Subsection(Span { start: 22, end: 31 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Indent` in this scope [INFO] [stdout] --> src/compiler/mod.rs:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | Subsection(Span { start: 22, end: 31 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Indent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | Block(Span { start: 31, end: 40 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | Block(Span { start: 31, end: 40 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Subsection` in this scope [INFO] [stdout] --> src/compiler/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Subsection(Span { start: 40, end: 44 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Subsection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | Subsection(Span { start: 40, end: 44 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Indent` in this scope [INFO] [stdout] --> src/compiler/mod.rs:210:57 [INFO] [stdout] | [INFO] [stdout] 210 | Subsection(Span { start: 40, end: 44 }, Indent { count: 1 }), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Indent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | Block(Span { start: 44, end: 52 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | Block(Span { start: 44, end: 52 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Subsection` in this scope [INFO] [stdout] --> src/compiler/mod.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | Subsection(Span { start: 52, end: 61 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Subsection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | Subsection(Span { start: 52, end: 61 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Indent` in this scope [INFO] [stdout] --> src/compiler/mod.rs:212:57 [INFO] [stdout] | [INFO] [stdout] 212 | Subsection(Span { start: 52, end: 61 }, Indent { count: 2 }), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Indent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/compiler/mod.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | Block(Span { start: 61, end: 62 }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | Block(Span { start: 61, end: 62 }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Subsection` in this scope [INFO] [stdout] --> src/compiler/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Subsection(Span { start: 62, end: 76 }, Indent { count: 3 })]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Token::Subsection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/compiler/mod.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | Subsection(Span { start: 62, end: 76 }, Indent { count: 3 })]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Indent` in this scope [INFO] [stdout] --> src/compiler/mod.rs:214:57 [INFO] [stdout] | [INFO] [stdout] 214 | Subsection(Span { start: 62, end: 76 }, Indent { count: 3 })]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 104 + use crate::compiler::Indent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/compiler/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> SubsectionNode<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn contains(&self, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualize` is never used [INFO] [stdout] --> src/compiler/visualize.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visualize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn visualize(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_tokens` is never used [INFO] [stdout] --> src/compiler/visualize.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn visualize_tokens(tokens: &Vec, content: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast` is never used [INFO] [stdout] --> src/compiler/visualize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn visualize_ast(tokens: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_ast_layer` is never used [INFO] [stdout] --> src/compiler/visualize.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn visualize_ast_layer(tokens: &Vec, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bold` is never used [INFO] [stdout] --> src/compiler/visualize.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn bold(txt: &str) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> src/compiler/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_env` is never used [INFO] [stdout] --> src/compiler/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn init_env(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", message); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 23 | process::exit(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lilac` (bin "lilac" test) due to 67 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c0f87404fe42097cd518053c2460ea9924e7afef77e0706e7b5d207433b926f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0f87404fe42097cd518053c2460ea9924e7afef77e0706e7b5d207433b926f2", kill_on_drop: false }` [INFO] [stdout] c0f87404fe42097cd518053c2460ea9924e7afef77e0706e7b5d207433b926f2