[INFO] cloning repository https://github.com/hanako-eo/peanut [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanako-eo/peanut" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84cc74e7982eaad0ccff0e4275bf7cf6a263d5a0 [INFO] checking hanako-eo/peanut against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanako-eo/peanut on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanako-eo/peanut [INFO] finished tweaking git repo https://github.com/hanako-eo/peanut [INFO] tweaked toml for git repo https://github.com/hanako-eo/peanut written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanako-eo/peanut 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a [INFO] running `Command { std: "docker" "start" "-a" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] [stdout] e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c [INFO] running `Command { std: "docker" "start" "-a" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] [stderr] Checking peanut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/frontend/parser.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | errors::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `Expr`, `Op`, `Stmt`, `UnaryOp` [INFO] [stdout] --> src/frontend/parser.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | errors::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 398 | frontend::ast::{Expr, Op, Stmt, UnaryOp}, [INFO] [stdout] | ^^^^ ^^ ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Parser` [INFO] [stdout] --> src/frontend/parser.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | use super::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/errors.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn kind(&self) -> &ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `In` and `Dot` are never constructed [INFO] [stdout] --> src/frontend/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `For` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | For(String, Expr, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos` and `len` are never used [INFO] [stdout] --> src/frontend/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/memory/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context<'a, T: Eq> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | parent: Weak>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_parent`, `create`, `delete`, `free`, and `get` are never used [INFO] [stdout] --> src/memory/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, T: Eq> Context<'a, T> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(garbage: Rc>>) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_parent( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn create(&mut self, key: &'a str, value: T) -> GarbageBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn free(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get(&self, key: &'a str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/memory/gc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GarbageCollector { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, ref_value: GarbageBox) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/ptr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GarbageBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: T) -> GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/memory/ptr.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl WeakRef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/memory/ptr.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&GBoxInner` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/errors.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn kind(&self) -> &ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `In` and `Dot` are never constructed [INFO] [stdout] --> src/frontend/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `For` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | For(String, Expr, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos` and `len` are never used [INFO] [stdout] --> src/frontend/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/memory/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context<'a, T: Eq> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | parent: Weak>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_parent`, `create`, `delete`, `free`, and `get` are never used [INFO] [stdout] --> src/memory/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, T: Eq> Context<'a, T> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(garbage: Rc>>) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_parent( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn create(&mut self, key: &'a str, value: T) -> GarbageBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn free(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get(&self, key: &'a str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/memory/gc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GarbageCollector { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, ref_value: GarbageBox) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/ptr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GarbageBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: T) -> GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/memory/ptr.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl WeakRef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/memory/ptr.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&GBoxInner` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] [stdout] bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c [INFO] checking hanako-eo/peanut against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanako-eo/peanut on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanako-eo/peanut [INFO] finished tweaking git repo https://github.com/hanako-eo/peanut [INFO] tweaked toml for git repo https://github.com/hanako-eo/peanut written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hanako-eo/peanut 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2710243f649d7e82b3234bdfcea148bb125d371ad5adc6b3bf883f8202f6512 [INFO] running `Command { std: "docker" "start" "-a" "e2710243f649d7e82b3234bdfcea148bb125d371ad5adc6b3bf883f8202f6512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2710243f649d7e82b3234bdfcea148bb125d371ad5adc6b3bf883f8202f6512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2710243f649d7e82b3234bdfcea148bb125d371ad5adc6b3bf883f8202f6512", kill_on_drop: false }` [INFO] [stdout] e2710243f649d7e82b3234bdfcea148bb125d371ad5adc6b3bf883f8202f6512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4e5e5db8669a38f0171a5a9709dc13f3c781d21ae6b29b47e625cb43e426e4 [INFO] running `Command { std: "docker" "start" "-a" "5a4e5e5db8669a38f0171a5a9709dc13f3c781d21ae6b29b47e625cb43e426e4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking peanut v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/frontend/parser.rs (2 fixes) [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/errors.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn kind(&self) -> &ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `In` and `Dot` are never constructed [INFO] [stdout] --> src/frontend/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `For` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | For(String, Expr, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos` and `len` are never used [INFO] [stdout] --> src/frontend/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/memory/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context<'a, T: Eq> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | parent: Weak>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_parent`, `create`, `delete`, `free`, and `get` are never used [INFO] [stdout] --> src/memory/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, T: Eq> Context<'a, T> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(garbage: Rc>>) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_parent( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn create(&mut self, key: &'a str, value: T) -> GarbageBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn free(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get(&self, key: &'a str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/memory/gc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GarbageCollector { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, ref_value: GarbageBox) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/ptr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GarbageBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: T) -> GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/memory/ptr.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl WeakRef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/memory/ptr.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&GBoxInner` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 402 | let ast = Parser::parse("let a = 0\nconst a = 0"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | Ok(Stmt::Program(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | Stmt::VarDeclaration { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | value: Expr::NumberLiteral(0.), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | Stmt::VarDeclaration { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | value: Expr::NumberLiteral(0.), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | let ast = Parser::parse("(-a + 2 * 4) / 2 + (b : 2) - (c % 2)"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:427:50 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | Op::Subtract, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:431:30 [INFO] [stdout] | [INFO] [stdout] 431 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | Op::Divide, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:433:34 [INFO] [stdout] | [INFO] [stdout] 433 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:434:29 [INFO] [stdout] | [INFO] [stdout] 434 | ... Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:435:38 [INFO] [stdout] | [INFO] [stdout] 435 | ... Box::new(Expr::UnaryOp( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnaryOp` [INFO] [stdout] --> src/frontend/parser.rs:436:33 [INFO] [stdout] | [INFO] [stdout] 436 | ... UnaryOp::Negate, [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnaryOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::UnaryOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:437:42 [INFO] [stdout] | [INFO] [stdout] 437 | ... Box::new(Expr::Identifier("a".into())) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:439:38 [INFO] [stdout] | [INFO] [stdout] 439 | ... Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | ... Op::Multiply, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:441:42 [INFO] [stdout] | [INFO] [stdout] 441 | ... Box::new(Expr::NumberLiteral(2.0)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:442:42 [INFO] [stdout] | [INFO] [stdout] 442 | ... Box::new(Expr::NumberLiteral(4.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:445:34 [INFO] [stdout] | [INFO] [stdout] 445 | Box::new(Expr::NumberLiteral(2.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:447:30 [INFO] [stdout] | [INFO] [stdout] 447 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | Op::QuotDiv, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:449:34 [INFO] [stdout] | [INFO] [stdout] 449 | Box::new(Expr::Identifier("b".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | Box::new(Expr::NumberLiteral(2.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:453:26 [INFO] [stdout] | [INFO] [stdout] 453 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | Op::ModDiv, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | Box::new(Expr::Identifier("c".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | Box::new(Expr::NumberLiteral(2.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | let ast = Parser::parse("func test() {}"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:468:35 [INFO] [stdout] | [INFO] [stdout] 468 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | let ast = Parser::parse("func test() {0}"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:480:16 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:480:35 [INFO] [stdout] | [INFO] [stdout] 480 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:484:28 [INFO] [stdout] | [INFO] [stdout] 484 | body: vec![Stmt::ExprStmt(Expr::NumberLiteral(0.))] [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:484:43 [INFO] [stdout] | [INFO] [stdout] 484 | body: vec![Stmt::ExprStmt(Expr::NumberLiteral(0.))] [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:488:19 [INFO] [stdout] | [INFO] [stdout] 488 | let ast = Parser::parse("func test(a string) {}"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:492:35 [INFO] [stdout] | [INFO] [stdout] 492 | Ok(Stmt::Program(vec![Stmt::FunctionDefinition { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | let ast = Parser::parse("while 2 1"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:507:16 [INFO] [stdout] | [INFO] [stdout] 507 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::While( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::While( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:507:50 [INFO] [stdout] | [INFO] [stdout] 507 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::While( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | Box::new(Expr::NumberLiteral(2.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:509:26 [INFO] [stdout] | [INFO] [stdout] 509 | Box::new(Expr::NumberLiteral(1.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:516:19 [INFO] [stdout] | [INFO] [stdout] 516 | let ast = Parser::parse("if 2 1"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:520:35 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:520:50 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:521:22 [INFO] [stdout] | [INFO] [stdout] 521 | Some(Expr::NumberLiteral(2.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Box::new(Expr::NumberLiteral(1.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | let ast = Parser::parse("if 2 1 else if 4 3"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:530:35 [INFO] [stdout] | [INFO] [stdout] 530 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:530:50 [INFO] [stdout] | [INFO] [stdout] 530 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | Some(Expr::NumberLiteral(2.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:533:30 [INFO] [stdout] | [INFO] [stdout] 533 | Box::new(Expr::NumberLiteral(1.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:536:26 [INFO] [stdout] | [INFO] [stdout] 536 | Some(Expr::NumberLiteral(4.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:537:30 [INFO] [stdout] | [INFO] [stdout] 537 | Box::new(Expr::NumberLiteral(3.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | let ast = Parser::parse("if 2 1 else 3"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:546:16 [INFO] [stdout] | [INFO] [stdout] 546 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:546:35 [INFO] [stdout] | [INFO] [stdout] 546 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:546:50 [INFO] [stdout] | [INFO] [stdout] 546 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::If(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:548:26 [INFO] [stdout] | [INFO] [stdout] 548 | Some(Expr::NumberLiteral(2.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:549:30 [INFO] [stdout] | [INFO] [stdout] 549 | Box::new(Expr::NumberLiteral(1.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:551:33 [INFO] [stdout] | [INFO] [stdout] 551 | (None, Box::new(Expr::NumberLiteral(3.))) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | let ast = Parser::parse("a = 1"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:562:35 [INFO] [stdout] | [INFO] [stdout] 562 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:562:50 [INFO] [stdout] | [INFO] [stdout] 562 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:563:26 [INFO] [stdout] | [INFO] [stdout] 563 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:564:26 [INFO] [stdout] | [INFO] [stdout] 564 | Box::new(Expr::NumberLiteral(1.)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | let ast = Parser::parse("a += 1"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:572:35 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:572:50 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Assign( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:573:26 [INFO] [stdout] | [INFO] [stdout] 573 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:574:26 [INFO] [stdout] | [INFO] [stdout] 574 | Box::new(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 575 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:576:30 [INFO] [stdout] | [INFO] [stdout] 576 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | Box::new(Expr::NumberLiteral(1.)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | let ast = Parser::parse("a()"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:589:16 [INFO] [stdout] | [INFO] [stdout] 589 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:589:35 [INFO] [stdout] | [INFO] [stdout] 589 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:589:50 [INFO] [stdout] | [INFO] [stdout] 589 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:590:26 [INFO] [stdout] | [INFO] [stdout] 590 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | let ast = Parser::parse("a(1)"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:599:16 [INFO] [stdout] | [INFO] [stdout] 599 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:599:35 [INFO] [stdout] | [INFO] [stdout] 599 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:599:50 [INFO] [stdout] | [INFO] [stdout] 599 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:600:26 [INFO] [stdout] | [INFO] [stdout] 600 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:601:22 [INFO] [stdout] | [INFO] [stdout] 601 | vec![Expr::NumberLiteral(1.)], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:605:19 [INFO] [stdout] | [INFO] [stdout] 605 | let ast = Parser::parse("a()(1)"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:609:16 [INFO] [stdout] | [INFO] [stdout] 609 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:609:35 [INFO] [stdout] | [INFO] [stdout] 609 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:609:50 [INFO] [stdout] | [INFO] [stdout] 609 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:610:26 [INFO] [stdout] | [INFO] [stdout] 610 | Box::new(Expr::Call(Box::new(Expr::Identifier("a".into())), vec![],)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:610:46 [INFO] [stdout] | [INFO] [stdout] 610 | Box::new(Expr::Call(Box::new(Expr::Identifier("a".into())), vec![],)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:611:22 [INFO] [stdout] | [INFO] [stdout] 611 | vec![Expr::NumberLiteral(1.)], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | let ast = Parser::parse("a(n-1) + a(n-2)"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:622:16 [INFO] [stdout] | [INFO] [stdout] 622 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:622:50 [INFO] [stdout] | [INFO] [stdout] 622 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | Op::Add, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:624:26 [INFO] [stdout] | [INFO] [stdout] 624 | Box::new(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:625:30 [INFO] [stdout] | [INFO] [stdout] 625 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:626:26 [INFO] [stdout] | [INFO] [stdout] 626 | vec![Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:627:25 [INFO] [stdout] | [INFO] [stdout] 627 | Op::Subtract, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:628:34 [INFO] [stdout] | [INFO] [stdout] 628 | Box::new(Expr::Identifier("n".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:629:34 [INFO] [stdout] | [INFO] [stdout] 629 | Box::new(Expr::NumberLiteral(1.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:632:26 [INFO] [stdout] | [INFO] [stdout] 632 | Box::new(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:633:30 [INFO] [stdout] | [INFO] [stdout] 633 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:634:26 [INFO] [stdout] | [INFO] [stdout] 634 | vec![Expr::Op( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/frontend/parser.rs:635:25 [INFO] [stdout] | [INFO] [stdout] 635 | Op::Subtract, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::ast::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:636:34 [INFO] [stdout] | [INFO] [stdout] 636 | Box::new(Expr::Identifier("n".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:637:34 [INFO] [stdout] | [INFO] [stdout] 637 | Box::new(Expr::NumberLiteral(2.0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/frontend/parser.rs:646:19 [INFO] [stdout] | [INFO] [stdout] 646 | let ast = Parser::parse("-a(1)"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:650:16 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::UnaryOp( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> src/frontend/parser.rs:650:35 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::UnaryOp( [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:650:50 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(Stmt::Program(vec![Stmt::ExprStmt(Expr::UnaryOp( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnaryOp` [INFO] [stdout] --> src/frontend/parser.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | UnaryOp::Negate, [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnaryOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::UnaryOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:652:26 [INFO] [stdout] | [INFO] [stdout] 652 | Box::new(Expr::Call( [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `peanut` (bin "peanut" test) due to 130 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | Box::new(Expr::Identifier("a".into())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/frontend/parser.rs:654:26 [INFO] [stdout] | [INFO] [stdout] 654 | vec![Expr::NumberLiteral(1.0)] [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 400 + use crate::frontend::parser::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] [stdout] error: aborting due to 129 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a4e5e5db8669a38f0171a5a9709dc13f3c781d21ae6b29b47e625cb43e426e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4e5e5db8669a38f0171a5a9709dc13f3c781d21ae6b29b47e625cb43e426e4", kill_on_drop: false }` [INFO] [stdout] 5a4e5e5db8669a38f0171a5a9709dc13f3c781d21ae6b29b47e625cb43e426e4