[INFO] cloning repository https://github.com/tiago-vargas/rust-lox-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiago-vargas/rust-lox-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiago-vargas%2Frust-lox-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiago-vargas%2Frust-lox-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7a950adbd3f882565c497e0ddfe15c4f2f6d844 [INFO] checking tiago-vargas/rust-lox-interpreter against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiago-vargas%2Frust-lox-interpreter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tiago-vargas/rust-lox-interpreter [INFO] finished tweaking git repo https://github.com/tiago-vargas/rust-lox-interpreter [INFO] tweaked toml for git repo https://github.com/tiago-vargas/rust-lox-interpreter written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiago-vargas/rust-lox-interpreter on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tiago-vargas/rust-lox-interpreter 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" "+df1b9bf194c9183fb7c0604484171064069ce232" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 469647c25e082415a600a3427ae1f7f7c3622b23fa821a2c00e594fde07cc412 [INFO] running `Command { std: "docker" "start" "-a" "469647c25e082415a600a3427ae1f7f7c3622b23fa821a2c00e594fde07cc412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "469647c25e082415a600a3427ae1f7f7c3622b23fa821a2c00e594fde07cc412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "469647c25e082415a600a3427ae1f7f7c3622b23fa821a2c00e594fde07cc412", kill_on_drop: false }` [INFO] [stdout] 469647c25e082415a600a3427ae1f7f7c3622b23fa821a2c00e594fde07cc412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d88738b46b242ff428d613fd0afa0103935cf6ec07865956ee02ca555978bee9 [INFO] running `Command { std: "docker" "start" "-a" "d88738b46b242ff428d613fd0afa0103935cf6ec07865956ee02ca555978bee9", kill_on_drop: false }` [INFO] [stderr] Checking rust-lox-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> src/interpreter.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | Token { r#type: Error(Error::UnterminatedString) }, [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:435:55 [INFO] [stdout] | [INFO] [stdout] 435 | Token { r#type: NumberLiteral(NumberLiteral::Integer(123)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:449:55 [INFO] [stdout] | [INFO] [stdout] 449 | Token { r#type: NumberLiteral(NumberLiteral::Integer(0)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:451:55 [INFO] [stdout] | [INFO] [stdout] 451 | Token { r#type: NumberLiteral(NumberLiteral::Integer(123)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:453:55 [INFO] [stdout] | [INFO] [stdout] 453 | Token { r#type: NumberLiteral(NumberLiteral::Integer(1)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:471:55 [INFO] [stdout] | [INFO] [stdout] 471 | Token { r#type: NumberLiteral(NumberLiteral::Float(12.3)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:485:55 [INFO] [stdout] | [INFO] [stdout] 485 | Token { r#type: NumberLiteral(NumberLiteral::Integer(0)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:487:55 [INFO] [stdout] | [INFO] [stdout] 487 | Token { r#type: NumberLiteral(NumberLiteral::Float(12.3)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:489:55 [INFO] [stdout] | [INFO] [stdout] 489 | Token { r#type: NumberLiteral(NumberLiteral::Integer(5)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:504:51 [INFO] [stdout] | [INFO] [stdout] 504 | Token { r#type: NumberLiteral(NumberLiteral::Integer(0)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:506:51 [INFO] [stdout] | [INFO] [stdout] 506 | Token { r#type: NumberLiteral(NumberLiteral::Float(12.3)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:508:51 [INFO] [stdout] | [INFO] [stdout] 508 | Token { r#type: NumberLiteral(NumberLiteral::Float(5.77)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:543:45 [INFO] [stdout] | [INFO] [stdout] 543 | Token { r#type: Keyword(Keyword::And) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:544:45 [INFO] [stdout] | [INFO] [stdout] 544 | Token { r#type: Keyword(Keyword::Class) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:545:45 [INFO] [stdout] | [INFO] [stdout] 545 | Token { r#type: Keyword(Keyword::Else) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:546:45 [INFO] [stdout] | [INFO] [stdout] 546 | Token { r#type: Keyword(Keyword::False) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:547:45 [INFO] [stdout] | [INFO] [stdout] 547 | Token { r#type: Keyword(Keyword::For) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:548:45 [INFO] [stdout] | [INFO] [stdout] 548 | Token { r#type: Keyword(Keyword::Fun) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:549:45 [INFO] [stdout] | [INFO] [stdout] 549 | Token { r#type: Keyword(Keyword::If) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:550:45 [INFO] [stdout] | [INFO] [stdout] 550 | Token { r#type: Keyword(Keyword::Nil) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:551:45 [INFO] [stdout] | [INFO] [stdout] 551 | Token { r#type: Keyword(Keyword::Or) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:552:45 [INFO] [stdout] | [INFO] [stdout] 552 | Token { r#type: Keyword(Keyword::Print) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:553:45 [INFO] [stdout] | [INFO] [stdout] 553 | Token { r#type: Keyword(Keyword::Return) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:554:45 [INFO] [stdout] | [INFO] [stdout] 554 | Token { r#type: Keyword(Keyword::Super) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:555:45 [INFO] [stdout] | [INFO] [stdout] 555 | Token { r#type: Keyword(Keyword::This) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:556:45 [INFO] [stdout] | [INFO] [stdout] 556 | Token { r#type: Keyword(Keyword::True) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:557:45 [INFO] [stdout] | [INFO] [stdout] 557 | Token { r#type: Keyword(Keyword::Var) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:558:45 [INFO] [stdout] | [INFO] [stdout] 558 | Token { r#type: Keyword(Keyword::While) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:572:45 [INFO] [stdout] | [INFO] [stdout] 572 | Token { r#type: Keyword(Keyword::Fun) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:573:45 [INFO] [stdout] | [INFO] [stdout] 573 | Token { r#type: Keyword(Keyword::Var) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:591:45 [INFO] [stdout] | [INFO] [stdout] 591 | Token { r#type: Keyword(Keyword::Var) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:594:51 [INFO] [stdout] | [INFO] [stdout] 594 | Token { r#type: NumberLiteral(NumberLiteral::Integer(5)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:609:45 [INFO] [stdout] | [INFO] [stdout] 609 | Token { r#type: Keyword(Keyword::Var) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `NumberLiteral` is ambiguous [INFO] [stdout] --> src/interpreter.rs:612:51 [INFO] [stdout] | [INFO] [stdout] 612 | Token { r#type: NumberLiteral(NumberLiteral::Integer(5)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NumberLiteral` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] note: `NumberLiteral` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NumberLiteral` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:631:45 [INFO] [stdout] | [INFO] [stdout] 631 | Token { r#type: Keyword(Keyword::Fun) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Keyword` is ambiguous [INFO] [stdout] --> src/interpreter.rs:639:45 [INFO] [stdout] | [INFO] [stdout] 639 | Token { r#type: Keyword(Keyword::Return) }, [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Keyword` could refer to the enum imported here [INFO] [stdout] --> src/interpreter.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::interpreter::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] note: `Keyword` could also refer to the variant imported here [INFO] [stdout] --> src/interpreter.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::token::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Keyword` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/interpreter.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scanner<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interpreter.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scanner<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | fn new(source: &str) -> Scanner { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn scan_tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn current_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn next_byte(&self) -> Option<&u8> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn seek(&mut self, byte: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn skip_current_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn identify_token_type(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn treat_string(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn treat_number(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn treat_word(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn measure_string(&mut self) -> RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn measure_number(&mut self) -> (bool, RangeInclusive) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn measure_word(&mut self) -> RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn advance_until_not_ascii_digit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn decide_token_type(&mut self, simple_type: Type, compound_type: (Type, &[u8])) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/interpreter/token.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/interpreter/token.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NumberLiteral` is never used [INFO] [stdout] --> src/interpreter/token.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) enum NumberLiteral { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keyword` is never used [INFO] [stdout] --> src/interpreter/token.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum Keyword { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/interpreter/token.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(source: &str) -> Scanner { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(source: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lox-interpreter` (lib test) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d88738b46b242ff428d613fd0afa0103935cf6ec07865956ee02ca555978bee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88738b46b242ff428d613fd0afa0103935cf6ec07865956ee02ca555978bee9", kill_on_drop: false }` [INFO] [stdout] d88738b46b242ff428d613fd0afa0103935cf6ec07865956ee02ca555978bee9