[INFO] cloning repository https://github.com/compiler-errors/adelaide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/compiler-errors/adelaide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d011926c1a513af24ace48f6d7671efcca3870fd [INFO] checking compiler-errors/adelaide against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compiler-errors/adelaide on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/compiler-errors/adelaide [INFO] removed path dependency proc from git repo https://github.com/compiler-errors/adelaide [INFO] finished tweaking git repo https://github.com/compiler-errors/adelaide [INFO] tweaked toml for git repo https://github.com/compiler-errors/adelaide written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/compiler-errors/adelaide already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca39b0faeb65a1f7bef9ab5efe93775da9e3e390f99507e44e78846d77836767 [INFO] running `Command { std: "docker" "start" "-a" "ca39b0faeb65a1f7bef9ab5efe93775da9e3e390f99507e44e78846d77836767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca39b0faeb65a1f7bef9ab5efe93775da9e3e390f99507e44e78846d77836767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca39b0faeb65a1f7bef9ab5efe93775da9e3e390f99507e44e78846d77836767", kill_on_drop: false }` [INFO] [stdout] ca39b0faeb65a1f7bef9ab5efe93775da9e3e390f99507e44e78846d77836767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc4ec032730483787f82d84c5b985bcff58ed11260adcfeacc6d2f01bc3af30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ffc4ec032730483787f82d84c5b985bcff58ed11260adcfeacc6d2f01bc3af30", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking proc v0.1.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling calmio_filters v0.1.0 [INFO] [stderr] Compiling salsa-macros v0.15.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Checking ascii-canvas v2.0.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking calm_io v0.1.1 [INFO] [stderr] Checking salsa v0.15.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking lalrpop v0.18.1 [INFO] [stderr] Compiling adelaide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/file.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/file.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:938:38 [INFO] [stdout] | [INFO] [stdout] 938 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:987:51 [INFO] [stdout] | [INFO] [stdout] 987 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:995:51 [INFO] [stdout] | [INFO] [stdout] 995 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1002:38 [INFO] [stdout] | [INFO] [stdout] 1002 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1002:46 [INFO] [stdout] | [INFO] [stdout] 1002 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1004:7 [INFO] [stdout] | [INFO] [stdout] 1004 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1030:38 [INFO] [stdout] | [INFO] [stdout] 1030 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1030:46 [INFO] [stdout] | [INFO] [stdout] 1030 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1032:7 [INFO] [stdout] | [INFO] [stdout] 1032 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1055:38 [INFO] [stdout] | [INFO] [stdout] 1055 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1055:46 [INFO] [stdout] | [INFO] [stdout] 1055 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1057:7 [INFO] [stdout] | [INFO] [stdout] 1057 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1083:38 [INFO] [stdout] | [INFO] [stdout] 1083 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1083:46 [INFO] [stdout] | [INFO] [stdout] 1083 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1109:38 [INFO] [stdout] | [INFO] [stdout] 1109 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1109:46 [INFO] [stdout] | [INFO] [stdout] 1109 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1111:7 [INFO] [stdout] | [INFO] [stdout] 1111 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1134:38 [INFO] [stdout] | [INFO] [stdout] 1134 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1134:46 [INFO] [stdout] | [INFO] [stdout] 1134 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1136:7 [INFO] [stdout] | [INFO] [stdout] 1136 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1146:38 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1171:38 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1171:46 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1173:7 [INFO] [stdout] | [INFO] [stdout] 1173 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1184:38 [INFO] [stdout] | [INFO] [stdout] 1184 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1211:51 [INFO] [stdout] | [INFO] [stdout] 1211 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1316:38 [INFO] [stdout] | [INFO] [stdout] 1316 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/file.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/file.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/parser/ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:38 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:46 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:560:38 [INFO] [stdout] | [INFO] [stdout] 560 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:560:46 [INFO] [stdout] | [INFO] [stdout] 560 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:605:38 [INFO] [stdout] | [INFO] [stdout] 605 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:605:46 [INFO] [stdout] | [INFO] [stdout] 605 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:614:38 [INFO] [stdout] | [INFO] [stdout] 614 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:614:46 [INFO] [stdout] | [INFO] [stdout] 614 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:620:38 [INFO] [stdout] | [INFO] [stdout] 620 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1045:38 [INFO] [stdout] | [INFO] [stdout] 1045 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1091:38 [INFO] [stdout] | [INFO] [stdout] 1091 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1108:51 [INFO] [stdout] | [INFO] [stdout] 1108 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1118:38 [INFO] [stdout] | [INFO] [stdout] 1118 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1118:46 [INFO] [stdout] | [INFO] [stdout] 1118 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1124:38 [INFO] [stdout] | [INFO] [stdout] 1124 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1146:38 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1146:46 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1153:38 [INFO] [stdout] | [INFO] [stdout] 1153 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1235:38 [INFO] [stdout] | [INFO] [stdout] 1235 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/util/error.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[message = "IO Error while reading {child_path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[message = "IO error while reading children from {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[message = "IO error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[message = "IO error"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[message = "Broken pipe"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[message = "Lexer error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[message = "Duplicated item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:938:38 [INFO] [stdout] | [INFO] [stdout] 938 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:987:51 [INFO] [stdout] | [INFO] [stdout] 987 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:995:51 [INFO] [stdout] | [INFO] [stdout] 995 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1002:38 [INFO] [stdout] | [INFO] [stdout] 1002 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1002:46 [INFO] [stdout] | [INFO] [stdout] 1002 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1004:7 [INFO] [stdout] | [INFO] [stdout] 1004 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[span = "Named by {what2} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1030:38 [INFO] [stdout] | [INFO] [stdout] 1030 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1030:46 [INFO] [stdout] | [INFO] [stdout] 1030 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1032:7 [INFO] [stdout] | [INFO] [stdout] 1032 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1055:38 [INFO] [stdout] | [INFO] [stdout] 1055 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1055:46 [INFO] [stdout] | [INFO] [stdout] 1055 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1057:7 [INFO] [stdout] | [INFO] [stdout] 1057 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[message = "Duplicated definition of {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1083:38 [INFO] [stdout] | [INFO] [stdout] 1083 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1083:46 [INFO] [stdout] | [INFO] [stdout] 1083 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1109:38 [INFO] [stdout] | [INFO] [stdout] 1109 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1109:46 [INFO] [stdout] | [INFO] [stdout] 1109 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1111:7 [INFO] [stdout] | [INFO] [stdout] 1111 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1134:38 [INFO] [stdout] | [INFO] [stdout] 1134 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1134:46 [INFO] [stdout] | [INFO] [stdout] 1134 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1136:7 [INFO] [stdout] | [INFO] [stdout] 1136 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1146:38 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1171:38 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1171:46 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1173:7 [INFO] [stdout] | [INFO] [stdout] 1173 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1184:38 [INFO] [stdout] | [INFO] [stdout] 1184 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1211:51 [INFO] [stdout] | [INFO] [stdout] 1211 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1316:38 [INFO] [stdout] | [INFO] [stdout] 1316 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/parser/ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[message = "Expected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[message = "Missing field `{item_name}` in constructor of {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[message = "No such item `{name}` in `{mod_path}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[message = "Not in a loop"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[message = "Illegal infer type `_`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[message = "The `return` operator is not allowed outside of a function, closure, or async \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 194 | #[message = "The `await` operator is not allowed outside of an async block"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:38 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:46 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:560:38 [INFO] [stdout] | [INFO] [stdout] 560 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:560:46 [INFO] [stdout] | [INFO] [stdout] 560 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:605:38 [INFO] [stdout] | [INFO] [stdout] 605 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[message = "An elaborated type is not allowed outside of a static call or associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:605:46 [INFO] [stdout] | [INFO] [stdout] 605 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:614:38 [INFO] [stdout] | [INFO] [stdout] 614 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:614:46 [INFO] [stdout] | [INFO] [stdout] 614 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:620:38 [INFO] [stdout] | [INFO] [stdout] 620 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1045:38 [INFO] [stdout] | [INFO] [stdout] 1045 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1091:38 [INFO] [stdout] | [INFO] [stdout] 1091 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1108:51 [INFO] [stdout] | [INFO] [stdout] 1108 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1118:38 [INFO] [stdout] | [INFO] [stdout] 1118 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1118:46 [INFO] [stdout] | [INFO] [stdout] 1118 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1124:38 [INFO] [stdout] | [INFO] [stdout] 1124 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1146:38 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1146:46 [INFO] [stdout] | [INFO] [stdout] 1146 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1153:38 [INFO] [stdout] | [INFO] [stdout] 1153 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1235:38 [INFO] [stdout] | [INFO] [stdout] 1235 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/util/error.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[message = "IO Error while reading {child_path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[message = "IO error while reading children from {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[message = "IO error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[message = "IO error"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[message = "Broken pipe"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[message = "Lexer error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[message = "Duplicated item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[span = "Named by {what2} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[message = "Duplicated definition of {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[message = "Expected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[message = "Missing field `{item_name}` in constructor of {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[message = "No such item `{name}` in `{mod_path}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[message = "Not in a loop"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | #[message = "The {kind} `{name}` is not a type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[message = "Illegal infer type `_`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[message = "The `return` operator is not allowed outside of a function, closure, or async \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[message = "The {kind} `{name}` is not a trait"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 194 | #[message = "The `await` operator is not allowed outside of an async block"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[message = "Duplicated trait bound `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[message = "An elaborated type is not allowed outside of a static call or associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | #[message = "Attempted to `allocate` a struct, use the struct literal syntax instead"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | #[message = "The {kind} `{name}` is not a type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[note = "If you meant to make a static call, use `::` instead of `:`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[span = "Struct defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:241:11 [INFO] [stdout] | [INFO] [stdout] 241 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[message = "Attempted to construct an object on the stack, use the `allocate` operator \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:255:7 [INFO] [stdout] | [INFO] [stdout] 255 | #[message = "Attempted to destructure an object, when it must be a struct"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 264 | #[message = "Cannot attach generic types to the bare enum variant \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[span = "Remove the generics from this usage, or fully qualify the enum"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | #[span = "Variant defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:275:7 [INFO] [stdout] | [INFO] [stdout] 275 | #[message = "Cannot attach generic types to the {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | #[span = "Remove the generics from this usage"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[span = "Variable defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[message = "Cannot parse {kind} `{number}` as a number"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[message = "Expected {expected} {kind}, but found {given} {kind}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[message = "The {kind} `{name}` is not a trait"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | #[span = "The {kind} are defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | #[message = "The {kind} `{name}` is not an enum, cannot construct variant `{variant}` from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[message = "Duplicated trait bound `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:313:7 [INFO] [stdout] | [INFO] [stdout] 313 | #[message = "The {kind} `{name}` has no members"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | #[span = "Tried to access member `{mem}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | #[message = "Attempted to `allocate` a struct, use the struct literal syntax instead"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[note = "If you meant to make a static call, use `::` instead of `:`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | #[message = "The {kind} `{name}` cannot be treated as an expression"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[span = "Struct defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:241:11 [INFO] [stdout] | [INFO] [stdout] 241 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 330 | #[span = "The {kind} was used here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[message = "Attempted to construct an object on the stack, use the `allocate` operator \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:334:7 [INFO] [stdout] | [INFO] [stdout] 334 | #[message = "Cannot construct or allocate {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[span = "Tried to construct {kind} here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:255:7 [INFO] [stdout] | [INFO] [stdout] 255 | #[message = "Attempted to destructure an object, when it must be a struct"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:340:11 [INFO] [stdout] | [INFO] [stdout] 340 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | #[message = "Incorrectly constructing {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 260 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | #[span = "Expected {expected_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:352:11 [INFO] [stdout] | [INFO] [stdout] 352 | #[span = "Given {given_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 264 | #[message = "Cannot attach generic types to the bare enum variant \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[span = "Remove the generics from this usage, or fully qualify the enum"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | #[span = "Variant defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:275:7 [INFO] [stdout] | [INFO] [stdout] 275 | #[message = "Cannot attach generic types to the {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | #[span = "Remove the generics from this usage"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[span = "Variable defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[message = "Cannot parse {kind} `{number}` as a number"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[message = "Expected {expected} {kind}, but found {given} {kind}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | #[span = "The {kind} are defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | #[message = "The {kind} `{name}` is not an enum, cannot construct variant `{variant}` from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:313:7 [INFO] [stdout] | [INFO] [stdout] 313 | #[message = "The {kind} `{name}` has no members"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | #[span = "Tried to access member `{mem}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | #[message = "The {kind} `{name}` cannot be treated as an expression"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 330 | #[span = "The {kind} was used here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:334:7 [INFO] [stdout] | [INFO] [stdout] 334 | #[message = "Cannot construct or allocate {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[span = "Tried to construct {kind} here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:340:11 [INFO] [stdout] | [INFO] [stdout] 340 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | #[message = "Incorrectly constructing {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | #[span = "Expected {expected_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:352:11 [INFO] [stdout] | [INFO] [stdout] 352 | #[span = "Given {given_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_diagnostic` found for enum `AError` in the current scope [INFO] [stdout] --> src/main.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | &err.into_diagnostic(&ctx), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `AError` [INFO] [stdout] | [INFO] [stdout] ::: src/util/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AError { [INFO] [stdout] | --------------- method `into_diagnostic` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoDiagnostic` defines an item `into_diagnostic`, perhaps you need to implement it [INFO] [stdout] --> src/util/error.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | pub trait IntoDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | Mode::Noop => stdoutln!("{:#?}", Pretty(root, ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | Mode::Noop => stdoutln!("{:#?}", Pretty(root, ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | stdoutln!("{:#?}", Pretty(m, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | stdoutln!("{:#?}", Pretty(m, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | stdoutln!("{:#?}", Pretty(l, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | stdoutln!("{:#?}", Pretty(l, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_diagnostic` found for enum `AError` in the current scope [INFO] [stdout] --> src/main.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | &err.into_diagnostic(&ctx), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `AError` [INFO] [stdout] | [INFO] [stdout] ::: src/util/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AError { [INFO] [stdout] | --------------- method `into_diagnostic` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoDiagnostic` defines an item `into_diagnostic`, perhaps you need to implement it [INFO] [stdout] --> src/util/error.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | pub trait IntoDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | Mode::Noop => stdoutln!("{:#?}", Pretty(root, ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | Mode::Noop => stdoutln!("{:#?}", Pretty(root, ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | stdoutln!("{:#?}", Pretty(m, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | stdoutln!("{:#?}", Pretty(m, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | stdoutln!("{:#?}", Pretty(l, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | stdoutln!("{:#?}", Pretty(l, ctx))? [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `pretty::Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | file_id.lookup(ctx).children.values().cloned().collect() [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | id.lookup(self) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 46 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 107 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 159 | let path = &key.lookup(ctx).mod_path; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 164 | m = m.lookup(ctx).children[p]; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/lexer/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let file = file_id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | file_id.lookup(ctx).children.values().cloned().collect() [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | id.lookup(self) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 46 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 107 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 159 | let path = &key.lookup(ctx).mod_path; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 164 | m = m.lookup(ctx).children[p]; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/lexer/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let file = file_id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let info = key.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | impls.insert(*i, lcx.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | impls.insert(*i, lcx.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LModule` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | .intern(ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LModule` [INFO] [stdout] ... [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LModule: Intern` [INFO] [stdout] | doesn't satisfy `LModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] which is required by `LModule: Intern` [INFO] [stdout] `&LModule: Lookup` [INFO] [stdout] which is required by `&LModule: Intern` [INFO] [stdout] `&mut LModule: Lookup` [INFO] [stdout] which is required by `&mut LModule: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let info = key.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | } = &*g.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | let ty = self.lower_ty(*ty, false)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | let expr = self.lower_expr(*expr)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | impls.insert(*i, lcx.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | impls.insert(*i, lcx.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LModule` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | .intern(ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LModule` [INFO] [stdout] ... [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LModule: Intern` [INFO] [stdout] | doesn't satisfy `LModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] which is required by `LModule: Intern` [INFO] [stdout] `&LModule: Lookup` [INFO] [stdout] which is required by `&LModule: Intern` [INFO] [stdout] `&mut LModule: Lookup` [INFO] [stdout] which is required by `&mut LModule: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LGlobal` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LGlobal` [INFO] [stdout] ... [INFO] [stdout] 1031 | pub struct LGlobal { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LGlobal: Intern` [INFO] [stdout] | doesn't satisfy `LGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LGlobal: Lookup` [INFO] [stdout] which is required by `LGlobal: Intern` [INFO] [stdout] `&LGlobal: Lookup` [INFO] [stdout] which is required by `&LGlobal: Intern` [INFO] [stdout] `&mut LGlobal: Lookup` [INFO] [stdout] which is required by `&mut LGlobal: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | } = &*f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:284:42 [INFO] [stdout] | [INFO] [stdout] 284 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:284:46 [INFO] [stdout] | [INFO] [stdout] 284 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:290:43 [INFO] [stdout] | [INFO] [stdout] 290 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:290:47 [INFO] [stdout] | [INFO] [stdout] 290 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:293:39 [INFO] [stdout] | [INFO] [stdout] 293 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:297:35 [INFO] [stdout] | [INFO] [stdout] 297 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:300:49 [INFO] [stdout] | [INFO] [stdout] 300 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:305:34 [INFO] [stdout] | [INFO] [stdout] 305 | Some(self.lower_expr(*body)?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LFunction` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LFunction` [INFO] [stdout] ... [INFO] [stdout] 1056 | pub struct LFunction { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LFunction: Intern` [INFO] [stdout] | doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] which is required by `LFunction: Intern` [INFO] [stdout] `&LFunction: Lookup` [INFO] [stdout] which is required by `&LFunction: Intern` [INFO] [stdout] `&mut LFunction: Lookup` [INFO] [stdout] which is required by `&mut LFunction: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | } = &*o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:341:46 [INFO] [stdout] | [INFO] [stdout] 341 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:353:49 [INFO] [stdout] | [INFO] [stdout] 353 | let members = self.lower_object_members(members)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | is_structural: *is_structural, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LObject` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LObject` [INFO] [stdout] ... [INFO] [stdout] 1084 | pub struct LObject { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LObject: Intern` [INFO] [stdout] | doesn't satisfy `LObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] which is required by `LObject: Intern` [INFO] [stdout] `&LObject: Lookup` [INFO] [stdout] which is required by `&LObject: Intern` [INFO] [stdout] `&mut LObject: Lookup` [INFO] [stdout] which is required by `&mut LObject: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | } = &*g.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | let ty = self.lower_ty(*ty, false)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | let expr = self.lower_expr(*expr)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | } = &*e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:410:42 [INFO] [stdout] | [INFO] [stdout] 410 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:410:46 [INFO] [stdout] | [INFO] [stdout] 410 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:415:35 [INFO] [stdout] | [INFO] [stdout] 415 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:418:49 [INFO] [stdout] | [INFO] [stdout] 418 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:426:46 [INFO] [stdout] | [INFO] [stdout] 426 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:426:50 [INFO] [stdout] | [INFO] [stdout] 426 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:430:27 [INFO] [stdout] | [INFO] [stdout] 430 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:435:23 [INFO] [stdout] | [INFO] [stdout] 435 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:435:53 [INFO] [stdout] | [INFO] [stdout] 435 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LEnum` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:448:10 [INFO] [stdout] | [INFO] [stdout] 448 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LEnum` [INFO] [stdout] ... [INFO] [stdout] 1110 | pub struct LEnum { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LEnum: Intern` [INFO] [stdout] | doesn't satisfy `LEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] which is required by `LEnum: Intern` [INFO] [stdout] `&LEnum: Lookup` [INFO] [stdout] which is required by `&LEnum: Intern` [INFO] [stdout] `&mut LEnum: Lookup` [INFO] [stdout] which is required by `&mut LEnum: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | } = &*t.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:465:46 [INFO] [stdout] | [INFO] [stdout] 465 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 470 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LGlobal` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LGlobal` [INFO] [stdout] ... [INFO] [stdout] 1031 | pub struct LGlobal { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LGlobal: Intern` [INFO] [stdout] | doesn't satisfy `LGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LGlobal: Lookup` [INFO] [stdout] which is required by `LGlobal: Intern` [INFO] [stdout] `&LGlobal: Lookup` [INFO] [stdout] which is required by `&LGlobal: Intern` [INFO] [stdout] `&mut LGlobal: Lookup` [INFO] [stdout] which is required by `&mut LGlobal: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:473:49 [INFO] [stdout] | [INFO] [stdout] 473 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:484:58 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:487:35 [INFO] [stdout] | [INFO] [stdout] 487 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:488:35 [INFO] [stdout] | [INFO] [stdout] 488 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | types.insert(*n, self.lower_trait_tys(ts, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:493:59 [INFO] [stdout] | [INFO] [stdout] 493 | types.insert(*n, self.lower_trait_tys(ts, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ts` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:504:54 [INFO] [stdout] | [INFO] [stdout] 504 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:504:61 [INFO] [stdout] | [INFO] [stdout] 504 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | } = &*f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:508:35 [INFO] [stdout] | [INFO] [stdout] 508 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:284:42 [INFO] [stdout] | [INFO] [stdout] 284 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:284:46 [INFO] [stdout] | [INFO] [stdout] 284 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:517:58 [INFO] [stdout] | [INFO] [stdout] 517 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:290:43 [INFO] [stdout] | [INFO] [stdout] 290 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:290:47 [INFO] [stdout] | [INFO] [stdout] 290 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:293:39 [INFO] [stdout] | [INFO] [stdout] 293 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:297:35 [INFO] [stdout] | [INFO] [stdout] 297 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | ... LType::SelfType.intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:531:47 [INFO] [stdout] | [INFO] [stdout] 531 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:532:55 [INFO] [stdout] | [INFO] [stdout] 532 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:532:59 [INFO] [stdout] | [INFO] [stdout] 532 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:535:51 [INFO] [stdout] | [INFO] [stdout] 535 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:539:47 [INFO] [stdout] | [INFO] [stdout] 539 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:542:61 [INFO] [stdout] | [INFO] [stdout] 542 | ... rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:548:36 [INFO] [stdout] | [INFO] [stdout] 548 | methods.insert(*name, LTraitMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:550:31 [INFO] [stdout] | [INFO] [stdout] 550 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:565:19 [INFO] [stdout] | [INFO] [stdout] 565 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTrait` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 572 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTrait` [INFO] [stdout] ... [INFO] [stdout] 1135 | pub struct LTrait { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTrait: Intern` [INFO] [stdout] | doesn't satisfy `LTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] which is required by `LTrait: Intern` [INFO] [stdout] `<rait: Lookup` [INFO] [stdout] which is required by `<rait: Intern` [INFO] [stdout] `&mut LTrait: Lookup` [INFO] [stdout] which is required by `&mut LTrait: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:300:49 [INFO] [stdout] | [INFO] [stdout] 300 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:305:34 [INFO] [stdout] | [INFO] [stdout] 305 | Some(self.lower_expr(*body)?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | } = &*i.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:590:46 [INFO] [stdout] | [INFO] [stdout] 590 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:593:32 [INFO] [stdout] | [INFO] [stdout] 593 | let ty = self.lower_ty(*ty, false)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:595:38 [INFO] [stdout] | [INFO] [stdout] 595 | Some(self.lower_trait_ty(*trait_ty, false)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:602:35 [INFO] [stdout] | [INFO] [stdout] 602 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:605:49 [INFO] [stdout] | [INFO] [stdout] 605 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LFunction` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LFunction` [INFO] [stdout] ... [INFO] [stdout] 1056 | pub struct LFunction { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LFunction: Intern` [INFO] [stdout] | doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] which is required by `LFunction: Intern` [INFO] [stdout] `&LFunction: Lookup` [INFO] [stdout] which is required by `&LFunction: Intern` [INFO] [stdout] `&mut LFunction: Lookup` [INFO] [stdout] which is required by `&mut LFunction: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:616:54 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:616:58 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 619 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:625:34 [INFO] [stdout] | [INFO] [stdout] 625 | types.insert(*n, self.lower_ty(*t, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | } = &*o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:625:52 [INFO] [stdout] | [INFO] [stdout] 625 | types.insert(*n, self.lower_ty(*t, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:637:54 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:341:42 [INFO] [stdout] | [INFO] [stdout] 341 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:637:61 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:341:46 [INFO] [stdout] | [INFO] [stdout] 341 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:641:35 [INFO] [stdout] | [INFO] [stdout] 641 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:650:54 [INFO] [stdout] | [INFO] [stdout] 650 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:658:29 [INFO] [stdout] | [INFO] [stdout] 658 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:353:49 [INFO] [stdout] | [INFO] [stdout] 353 | let members = self.lower_object_members(members)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | is_structural: *is_structural, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:659:45 [INFO] [stdout] | [INFO] [stdout] 659 | ... LType::SelfType.intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:664:47 [INFO] [stdout] | [INFO] [stdout] 664 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:665:55 [INFO] [stdout] | [INFO] [stdout] 665 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:665:59 [INFO] [stdout] | [INFO] [stdout] 665 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:668:51 [INFO] [stdout] | [INFO] [stdout] 668 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:672:47 [INFO] [stdout] | [INFO] [stdout] 672 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:675:61 [INFO] [stdout] | [INFO] [stdout] 675 | ... rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:679:48 [INFO] [stdout] | [INFO] [stdout] 679 | let body = self.lower_expr(*body)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:683:36 [INFO] [stdout] | [INFO] [stdout] 683 | methods.insert(*name, LImplMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:685:31 [INFO] [stdout] | [INFO] [stdout] 685 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:686:31 [INFO] [stdout] | [INFO] [stdout] 686 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LObject` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LObject` [INFO] [stdout] ... [INFO] [stdout] 1084 | pub struct LObject { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LObject: Intern` [INFO] [stdout] | doesn't satisfy `LObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] which is required by `LObject: Intern` [INFO] [stdout] `&LObject: Lookup` [INFO] [stdout] which is required by `&LObject: Intern` [INFO] [stdout] `&mut LObject: Lookup` [INFO] [stdout] which is required by `&mut LObject: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:749:19 [INFO] [stdout] | [INFO] [stdout] 749 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LImpl` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LImpl` [INFO] [stdout] ... [INFO] [stdout] 1172 | pub struct LImpl { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LImpl: Intern` [INFO] [stdout] | doesn't satisfy `LImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LImpl: Lookup` [INFO] [stdout] which is required by `LImpl: Intern` [INFO] [stdout] `&LImpl: Lookup` [INFO] [stdout] which is required by `&LImpl: Intern` [INFO] [stdout] `&mut LImpl: Lookup` [INFO] [stdout] which is required by `&mut LImpl: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | } = &*e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:410:42 [INFO] [stdout] | [INFO] [stdout] 410 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:410:46 [INFO] [stdout] | [INFO] [stdout] 410 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:415:35 [INFO] [stdout] | [INFO] [stdout] 415 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:418:49 [INFO] [stdout] | [INFO] [stdout] 418 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:914:14 [INFO] [stdout] | [INFO] [stdout] 914 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/expr.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:921:26 [INFO] [stdout] | [INFO] [stdout] 921 | fresh_infer_ty().intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:426:46 [INFO] [stdout] | [INFO] [stdout] 426 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:426:50 [INFO] [stdout] | [INFO] [stdout] 426 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:430:27 [INFO] [stdout] | [INFO] [stdout] 430 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:435:23 [INFO] [stdout] | [INFO] [stdout] 435 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:435:53 [INFO] [stdout] | [INFO] [stdout] 435 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:925:41 [INFO] [stdout] | [INFO] [stdout] 925 | (0..n).map(|_| fresh_infer_ty().intern(self.ctx)).collect() [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LEnum` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:448:10 [INFO] [stdout] | [INFO] [stdout] 448 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LEnum` [INFO] [stdout] ... [INFO] [stdout] 1110 | pub struct LEnum { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LEnum: Intern` [INFO] [stdout] | doesn't satisfy `LEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] which is required by `LEnum: Intern` [INFO] [stdout] `&LEnum: Lookup` [INFO] [stdout] which is required by `&LEnum: Intern` [INFO] [stdout] `&mut LEnum: Lookup` [INFO] [stdout] which is required by `&mut LEnum: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | } = &*t.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1020 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:465:46 [INFO] [stdout] | [INFO] [stdout] 465 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 470 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:473:49 [INFO] [stdout] | [INFO] [stdout] 473 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1023:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1023 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:484:58 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:487:35 [INFO] [stdout] | [INFO] [stdout] 487 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:488:35 [INFO] [stdout] | [INFO] [stdout] 488 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | types.insert(*n, self.lower_trait_tys(ts, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:493:59 [INFO] [stdout] | [INFO] [stdout] 493 | types.insert(*n, self.lower_trait_tys(ts, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ts` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:504:54 [INFO] [stdout] | [INFO] [stdout] 504 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:504:61 [INFO] [stdout] | [INFO] [stdout] 504 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:508:35 [INFO] [stdout] | [INFO] [stdout] 508 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:517:58 [INFO] [stdout] | [INFO] [stdout] 517 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1045:25 [INFO] [stdout] | [INFO] [stdout] 1045 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | ... LType::SelfType.intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:531:47 [INFO] [stdout] | [INFO] [stdout] 531 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1048:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1048 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:532:55 [INFO] [stdout] | [INFO] [stdout] 532 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:532:59 [INFO] [stdout] | [INFO] [stdout] 532 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:535:51 [INFO] [stdout] | [INFO] [stdout] 535 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:539:47 [INFO] [stdout] | [INFO] [stdout] 539 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:542:61 [INFO] [stdout] | [INFO] [stdout] 542 | ... rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:548:36 [INFO] [stdout] | [INFO] [stdout] 548 | methods.insert(*name, LTraitMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:550:31 [INFO] [stdout] | [INFO] [stdout] 550 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:565:19 [INFO] [stdout] | [INFO] [stdout] 565 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1073:25 [INFO] [stdout] | [INFO] [stdout] 1073 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1076:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1076 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTrait` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 572 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTrait` [INFO] [stdout] ... [INFO] [stdout] 1135 | pub struct LTrait { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTrait: Intern` [INFO] [stdout] | doesn't satisfy `LTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] which is required by `LTrait: Intern` [INFO] [stdout] `<rait: Lookup` [INFO] [stdout] which is required by `<rait: Intern` [INFO] [stdout] `&mut LTrait: Lookup` [INFO] [stdout] which is required by `&mut LTrait: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1102:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1102 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | } = &*i.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:590:46 [INFO] [stdout] | [INFO] [stdout] 590 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:593:32 [INFO] [stdout] | [INFO] [stdout] 593 | let ty = self.lower_ty(*ty, false)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:595:38 [INFO] [stdout] | [INFO] [stdout] 595 | Some(self.lower_trait_ty(*trait_ty, false)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:602:35 [INFO] [stdout] | [INFO] [stdout] 602 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:605:49 [INFO] [stdout] | [INFO] [stdout] 605 | rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:616:54 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:616:58 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 619 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:625:34 [INFO] [stdout] | [INFO] [stdout] 625 | types.insert(*n, self.lower_ty(*t, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:625:52 [INFO] [stdout] | [INFO] [stdout] 625 | types.insert(*n, self.lower_ty(*t, false)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:637:54 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:637:61 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:641:35 [INFO] [stdout] | [INFO] [stdout] 641 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1124:25 [INFO] [stdout] | [INFO] [stdout] 1124 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:650:54 [INFO] [stdout] | [INFO] [stdout] 650 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | gs.push(self.declare_generic(*g, *s)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:658:29 [INFO] [stdout] | [INFO] [stdout] 658 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1127:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1127 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:659:45 [INFO] [stdout] | [INFO] [stdout] 659 | ... LType::SelfType.intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:664:47 [INFO] [stdout] | [INFO] [stdout] 664 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:665:55 [INFO] [stdout] | [INFO] [stdout] 665 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:665:59 [INFO] [stdout] | [INFO] [stdout] 665 | ps.push(self.declare_variable(*n, *s, t)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:668:51 [INFO] [stdout] | [INFO] [stdout] 668 | let return_ty = self.lower_ty(*return_ty, false)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:672:47 [INFO] [stdout] | [INFO] [stdout] 672 | let t = self.lower_ty(*t, false)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:675:61 [INFO] [stdout] | [INFO] [stdout] 675 | ... rs.push((t, self.lower_trait_ty(*tr, false)?)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:679:48 [INFO] [stdout] | [INFO] [stdout] 679 | let body = self.lower_expr(*body)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:683:36 [INFO] [stdout] | [INFO] [stdout] 683 | methods.insert(*name, LImplMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:685:31 [INFO] [stdout] | [INFO] [stdout] 685 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:686:31 [INFO] [stdout] | [INFO] [stdout] 686 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:749:19 [INFO] [stdout] | [INFO] [stdout] 749 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1161:25 [INFO] [stdout] | [INFO] [stdout] 1161 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LImpl` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LImpl` [INFO] [stdout] ... [INFO] [stdout] 1172 | pub struct LImpl { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LImpl: Intern` [INFO] [stdout] | doesn't satisfy `LImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LImpl: Lookup` [INFO] [stdout] which is required by `LImpl: Intern` [INFO] [stdout] `&LImpl: Lookup` [INFO] [stdout] which is required by `&LImpl: Intern` [INFO] [stdout] `&mut LImpl: Lookup` [INFO] [stdout] which is required by `&mut LImpl: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1164:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1164 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1204:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1204 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:914:14 [INFO] [stdout] | [INFO] [stdout] 914 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/expr.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:921:26 [INFO] [stdout] | [INFO] [stdout] 921 | fresh_infer_ty().intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1228:27 [INFO] [stdout] | [INFO] [stdout] 1228 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:925:41 [INFO] [stdout] | [INFO] [stdout] 925 | (0..n).map(|_| fresh_infer_ty().intern(self.ctx)).collect() [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1232:27 [INFO] [stdout] | [INFO] [stdout] 1232 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1236:27 [INFO] [stdout] | [INFO] [stdout] 1236 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1240:27 [INFO] [stdout] | [INFO] [stdout] 1240 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1248:27 [INFO] [stdout] | [INFO] [stdout] 1248 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1252:27 [INFO] [stdout] | [INFO] [stdout] 1252 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1265:27 [INFO] [stdout] | [INFO] [stdout] 1265 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1295:18 [INFO] [stdout] | [INFO] [stdout] 1295 | for i in &tr.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:1298:52 [INFO] [stdout] | [INFO] [stdout] 1298 | if let Some(old_span) = bounds.get(name) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&name` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1301:31 [INFO] [stdout] | [INFO] [stdout] 1301 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1302:31 [INFO] [stdout] | [INFO] [stdout] 1302 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1307:31 [INFO] [stdout] | [INFO] [stdout] 1307 | bounds.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1307:38 [INFO] [stdout] | [INFO] [stdout] 1307 | bounds.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1020 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1023:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1023 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1045:25 [INFO] [stdout] | [INFO] [stdout] 1045 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1048:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1048 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1344:25 [INFO] [stdout] | [INFO] [stdout] 1344 | let data = match &o.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1345:77 [INFO] [stdout] | [INFO] [stdout] 1345 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1347:43 [INFO] [stdout] | [INFO] [stdout] 1347 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1362:38 [INFO] [stdout] | [INFO] [stdout] 1362 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1073:25 [INFO] [stdout] | [INFO] [stdout] 1073 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1373:18 [INFO] [stdout] | [INFO] [stdout] 1373 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1378:85 [INFO] [stdout] | [INFO] [stdout] 1378 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1380:51 [INFO] [stdout] | [INFO] [stdout] 1380 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1395:46 [INFO] [stdout] | [INFO] [stdout] 1395 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1076:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1076 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1413:18 [INFO] [stdout] | [INFO] [stdout] 1413 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1441:19 [INFO] [stdout] | [INFO] [stdout] 1441 | for m in &key.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1444:50 [INFO] [stdout] | [INFO] [stdout] 1444 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1444:54 [INFO] [stdout] | [INFO] [stdout] 1444 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1447:31 [INFO] [stdout] | [INFO] [stdout] 1447 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1448:31 [INFO] [stdout] | [INFO] [stdout] 1448 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1453:30 [INFO] [stdout] | [INFO] [stdout] 1453 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1453:34 [INFO] [stdout] | [INFO] [stdout] 1453 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1456:50 [INFO] [stdout] | [INFO] [stdout] 1456 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1456:57 [INFO] [stdout] | [INFO] [stdout] 1456 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1459:31 [INFO] [stdout] | [INFO] [stdout] 1459 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1460:31 [INFO] [stdout] | [INFO] [stdout] 1460 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1102:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1102 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1465:39 [INFO] [stdout] | [INFO] [stdout] 1465 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1124:25 [INFO] [stdout] | [INFO] [stdout] 1124 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1127:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1127 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1161:25 [INFO] [stdout] | [INFO] [stdout] 1161 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1164:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1164 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1204:14 [INFO] [stdout] | [INFO] [stdout] 1003 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1204 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | let PExpression { span, data } = &*e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1228:27 [INFO] [stdout] | [INFO] [stdout] 1228 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1232:27 [INFO] [stdout] | [INFO] [stdout] 1232 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1236:27 [INFO] [stdout] | [INFO] [stdout] 1236 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | let info = f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | let generics = self.lower_tys(generics, true)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&generics` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1240:27 [INFO] [stdout] | [INFO] [stdout] 1240 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1248:27 [INFO] [stdout] | [INFO] [stdout] 1248 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1252:27 [INFO] [stdout] | [INFO] [stdout] 1252 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let info = f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1265:27 [INFO] [stdout] | [INFO] [stdout] 1265 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | let info = g.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | self.lookup_scoped_item(*span, self.ctx.static_name("self"))? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | let s = self.lower_statements(s)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&s` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:175:41 [INFO] [stdout] | [INFO] [stdout] 175 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:187:83 [INFO] [stdout] | [INFO] [stdout] 187 | PExpressionData::Tuple(es) => LExpressionData::Tuple(self.lower_exprs(es)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let a = self.lower_ty(*a, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | let n = self.lower_expr(*n)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:202:69 [INFO] [stdout] | [INFO] [stdout] 202 | PExpressionData::Literal(l) => LExpressionData::Literal(*l), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1295:18 [INFO] [stdout] | [INFO] [stdout] 1295 | for i in &tr.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | let b = self.get_range_bound(*span, e, "Unbounded", vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:1298:52 [INFO] [stdout] | [INFO] [stdout] 1298 | if let Some(old_span) = bounds.get(name) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&name` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1301:31 [INFO] [stdout] | [INFO] [stdout] 1301 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1302:31 [INFO] [stdout] | [INFO] [stdout] 1302 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1307:31 [INFO] [stdout] | [INFO] [stdout] 1307 | bounds.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1307:38 [INFO] [stdout] | [INFO] [stdout] 1307 | bounds.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:217:41 [INFO] [stdout] | [INFO] [stdout] 217 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | let b = self.get_range_bound(*span, e, "Inclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | let b = self.get_range_bound(*span, e, "Exclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 242 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:242:75 [INFO] [stdout] | [INFO] [stdout] 242 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:247:41 [INFO] [stdout] | [INFO] [stdout] 247 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:271:55 [INFO] [stdout] | [INFO] [stdout] 271 | PExpressionData::Assign(a, b) => match &a.lookup(self.ctx).data { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:293:41 [INFO] [stdout] | [INFO] [stdout] 293 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:297:41 [INFO] [stdout] | [INFO] [stdout] 297 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1344:25 [INFO] [stdout] | [INFO] [stdout] 1344 | let data = match &o.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1345:77 [INFO] [stdout] | [INFO] [stdout] 1345 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1347:43 [INFO] [stdout] | [INFO] [stdout] 1347 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1362:38 [INFO] [stdout] | [INFO] [stdout] 1362 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:301:44 [INFO] [stdout] | [INFO] [stdout] 301 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:305:69 [INFO] [stdout] | [INFO] [stdout] 305 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1373:18 [INFO] [stdout] | [INFO] [stdout] 1373 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 307 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1378:85 [INFO] [stdout] | [INFO] [stdout] 1378 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1380:51 [INFO] [stdout] | [INFO] [stdout] 1380 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1395:46 [INFO] [stdout] | [INFO] [stdout] 1395 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:313:44 [INFO] [stdout] | [INFO] [stdout] 313 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:317:69 [INFO] [stdout] | [INFO] [stdout] 317 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1413:18 [INFO] [stdout] | [INFO] [stdout] 1413 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 319 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:1441:19 [INFO] [stdout] | [INFO] [stdout] 1441 | for m in &key.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1444:50 [INFO] [stdout] | [INFO] [stdout] 1444 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1444:54 [INFO] [stdout] | [INFO] [stdout] 1444 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1447:31 [INFO] [stdout] | [INFO] [stdout] 1447 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 326 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1448:31 [INFO] [stdout] | [INFO] [stdout] 1448 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:329:27 [INFO] [stdout] | [INFO] [stdout] 329 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1453:30 [INFO] [stdout] | [INFO] [stdout] 1453 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1453:34 [INFO] [stdout] | [INFO] [stdout] 1453 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1456:50 [INFO] [stdout] | [INFO] [stdout] 1456 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1456:57 [INFO] [stdout] | [INFO] [stdout] 1456 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1459:31 [INFO] [stdout] | [INFO] [stdout] 1459 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1460:31 [INFO] [stdout] | [INFO] [stdout] 1460 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:1465:39 [INFO] [stdout] | [INFO] [stdout] 1465 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:339:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 339 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:340:41 [INFO] [stdout] | [INFO] [stdout] 340 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:353:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 353 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:354:41 [INFO] [stdout] | [INFO] [stdout] 354 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 360 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:366:43 [INFO] [stdout] | [INFO] [stdout] 366 | let ps = self.lower_exprs(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 371 | } = &*c.lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:377:31 [INFO] [stdout] | [INFO] [stdout] 377 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 380 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:393:56 [INFO] [stdout] | [INFO] [stdout] 393 | let (t, tr) = self.lower_elaborated_ty(*t, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | self.lower_tys(g, true)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:399:38 [INFO] [stdout] | [INFO] [stdout] 399 | self.lower_exprs(p)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:404:45 [INFO] [stdout] | [INFO] [stdout] 404 | p.insert(0, self.lower_expr(*e)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:409:36 [INFO] [stdout] | [INFO] [stdout] 409 | self.lower_tys(g, true)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:414:33 [INFO] [stdout] | [INFO] [stdout] 414 | self.lower_expr(*p)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:415:33 [INFO] [stdout] | [INFO] [stdout] 415 | self.lower_expr(*t)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:416:33 [INFO] [stdout] | [INFO] [stdout] 416 | self.lower_expr(*e)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:419:56 [INFO] [stdout] | [INFO] [stdout] 419 | LExpressionData::Match(self.lower_expr(*v)?, vec![ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:41 [INFO] [stdout] | [INFO] [stdout] 420 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:63 [INFO] [stdout] | [INFO] [stdout] 420 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:424:35 [INFO] [stdout] | [INFO] [stdout] 424 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | let PExpression { span, data } = &*e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | let info = f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | let generics = self.lower_tys(generics, true)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&generics` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:428:26 [INFO] [stdout] | [INFO] [stdout] 428 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:429:41 [INFO] [stdout] | [INFO] [stdout] 429 | self.lower_expr(*e)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:433:42 [INFO] [stdout] | [INFO] [stdout] 433 | let l = self.enter_label(*l); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:434:41 [INFO] [stdout] | [INFO] [stdout] 434 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:49 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:57 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:61 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:47 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:51 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:55 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let info = f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:60 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:64 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:443:41 [INFO] [stdout] | [INFO] [stdout] 443 | let m = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | let info = g.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | self.lookup_scoped_item(*span, self.ctx.static_name("self"))? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:448:48 [INFO] [stdout] | [INFO] [stdout] 448 | let p = self.lower_pattern(*p)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:449:45 [INFO] [stdout] | [INFO] [stdout] 449 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | let s = self.lower_statements(s)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&s` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:175:41 [INFO] [stdout] | [INFO] [stdout] 175 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:456:85 [INFO] [stdout] | [INFO] [stdout] 456 | PExpressionData::StructuralAmbiguous(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:187:83 [INFO] [stdout] | [INFO] [stdout] 187 | PExpressionData::Tuple(es) => LExpressionData::Tuple(self.lower_exprs(es)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:189:64 [INFO] [stdout] | [INFO] [stdout] 189 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let a = self.lower_ty(*a, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | let n = self.lower_expr(*n)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | let info = o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:202:69 [INFO] [stdout] | [INFO] [stdout] 202 | PExpressionData::Literal(l) => LExpressionData::Literal(*l), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:463:39 [INFO] [stdout] | [INFO] [stdout] 463 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | let b = self.get_range_bound(*span, e, "Unbounded", vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:467:44 [INFO] [stdout] | [INFO] [stdout] 467 | let g = self.lower_tys(g, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:469:55 [INFO] [stdout] | [INFO] [stdout] 469 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:217:41 [INFO] [stdout] | [INFO] [stdout] 217 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:472:77 [INFO] [stdout] | [INFO] [stdout] 472 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | let b = self.get_range_bound(*span, e, "Inclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | let b = self.get_range_bound(*span, e, "Exclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:479:42 [INFO] [stdout] | [INFO] [stdout] 479 | ... enum_name: e.lookup(self.ctx).name, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 242 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:242:75 [INFO] [stdout] | [INFO] [stdout] 242 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:247:41 [INFO] [stdout] | [INFO] [stdout] 247 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:486:52 [INFO] [stdout] | [INFO] [stdout] 486 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len()); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:489:75 [INFO] [stdout] | [INFO] [stdout] 489 | let a = self.lower_constructor("enum variant", v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:500:35 [INFO] [stdout] | [INFO] [stdout] 500 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:504:86 [INFO] [stdout] | [INFO] [stdout] 504 | PExpressionData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:271:55 [INFO] [stdout] | [INFO] [stdout] 271 | PExpressionData::Assign(a, b) => match &a.lookup(self.ctx).data { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:506:34 [INFO] [stdout] | [INFO] [stdout] 506 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:508:44 [INFO] [stdout] | [INFO] [stdout] 508 | let g = self.lower_tys(g, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:510:55 [INFO] [stdout] | [INFO] [stdout] 510 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:293:41 [INFO] [stdout] | [INFO] [stdout] 293 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:512:66 [INFO] [stdout] | [INFO] [stdout] 512 | let s = self.ctx.enum_variant_constructor(e, *v)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:513:68 [INFO] [stdout] | [INFO] [stdout] 513 | let a = self.lower_constructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:513:76 [INFO] [stdout] | [INFO] [stdout] 513 | let a = self.lower_constructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:297:41 [INFO] [stdout] | [INFO] [stdout] 297 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:515:67 [INFO] [stdout] | [INFO] [stdout] 515 | LExpressionData::EnumConstructor(e.into(), g, *v, a) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:522:34 [INFO] [stdout] | [INFO] [stdout] 522 | variant: *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:527:74 [INFO] [stdout] | [INFO] [stdout] 527 | PExpressionData::Allocate(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:301:44 [INFO] [stdout] | [INFO] [stdout] 301 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:305:69 [INFO] [stdout] | [INFO] [stdout] 305 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:529:34 [INFO] [stdout] | [INFO] [stdout] 529 | let info = o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 307 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:534:39 [INFO] [stdout] | [INFO] [stdout] 534 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:538:44 [INFO] [stdout] | [INFO] [stdout] 538 | let g = self.lower_tys(g, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:540:55 [INFO] [stdout] | [INFO] [stdout] 540 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:543:77 [INFO] [stdout] | [INFO] [stdout] 543 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:554:35 [INFO] [stdout] | [INFO] [stdout] 554 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:560:61 [INFO] [stdout] | [INFO] [stdout] 560 | LExpressionData::Return(self.lower_expr(*v)?) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:562:62 [INFO] [stdout] | [INFO] [stdout] 562 | return Err(AError::IllegalReturn { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:566:87 [INFO] [stdout] | [INFO] [stdout] 566 | LExpressionData::Call(assert.into(), vec![], vec![self.lower_expr(*v)?]) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:313:44 [INFO] [stdout] | [INFO] [stdout] 313 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:573:37 [INFO] [stdout] | [INFO] [stdout] 573 | self.lower_expr(*e)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:317:69 [INFO] [stdout] | [INFO] [stdout] 317 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:577:31 [INFO] [stdout] | [INFO] [stdout] 577 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 319 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:580:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 580 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:583:34 [INFO] [stdout] | [INFO] [stdout] 583 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 326 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:329:27 [INFO] [stdout] | [INFO] [stdout] 329 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:339:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 339 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:340:41 [INFO] [stdout] | [INFO] [stdout] 340 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | let string = LType::String.intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:353:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 353 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:354:41 [INFO] [stdout] | [INFO] [stdout] 354 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 360 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:597:46 [INFO] [stdout] | [INFO] [stdout] 597 | let ps = self.lower_patterns(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:598:41 [INFO] [stdout] | [INFO] [stdout] 598 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:366:43 [INFO] [stdout] | [INFO] [stdout] 366 | let ps = self.lower_exprs(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:599:39 [INFO] [stdout] | [INFO] [stdout] 599 | let r = self.lower_ty(*r, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:605:67 [INFO] [stdout] | [INFO] [stdout] 605 | PExpressionData::Throw(t) => self.lower_expr_throw(e, *span, *t)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:605:74 [INFO] [stdout] | [INFO] [stdout] 605 | PExpressionData::Throw(t) => self.lower_expr_throw(e, *span, *t)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:607:41 [INFO] [stdout] | [INFO] [stdout] 607 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:608:41 [INFO] [stdout] | [INFO] [stdout] 608 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 371 | } = &*c.lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:377:31 [INFO] [stdout] | [INFO] [stdout] 377 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 380 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:619:57 [INFO] [stdout] | [INFO] [stdout] 619 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:393:56 [INFO] [stdout] | [INFO] [stdout] 393 | let (t, tr) = self.lower_elaborated_ty(*t, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:619:63 [INFO] [stdout] | [INFO] [stdout] 619 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:619:70 [INFO] [stdout] | [INFO] [stdout] 619 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | self.lower_tys(g, true)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:623:29 [INFO] [stdout] | [INFO] [stdout] 623 | number: *i, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:399:38 [INFO] [stdout] | [INFO] [stdout] 399 | self.lower_exprs(p)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:627:62 [INFO] [stdout] | [INFO] [stdout] 627 | LExpressionData::IndexAccess(self.lower_expr(*o)?, *span, i) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:627:68 [INFO] [stdout] | [INFO] [stdout] 627 | LExpressionData::IndexAccess(self.lower_expr(*o)?, *span, i) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:404:45 [INFO] [stdout] | [INFO] [stdout] 404 | p.insert(0, self.lower_expr(*e)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:631:61 [INFO] [stdout] | [INFO] [stdout] 631 | return Err(AError::IllegalAwait { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:634:56 [INFO] [stdout] | [INFO] [stdout] 634 | LExpressionData::Await(self.lower_expr(*a)?) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 640 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:409:36 [INFO] [stdout] | [INFO] [stdout] 409 | self.lower_tys(g, true)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:414:33 [INFO] [stdout] | [INFO] [stdout] 414 | self.lower_expr(*p)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:415:33 [INFO] [stdout] | [INFO] [stdout] 415 | self.lower_expr(*t)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:416:33 [INFO] [stdout] | [INFO] [stdout] 416 | self.lower_expr(*e)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:419:56 [INFO] [stdout] | [INFO] [stdout] 419 | LExpressionData::Match(self.lower_expr(*v)?, vec![ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:41 [INFO] [stdout] | [INFO] [stdout] 420 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:63 [INFO] [stdout] | [INFO] [stdout] 420 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:424:35 [INFO] [stdout] | [INFO] [stdout] 424 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:643:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 643 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:428:26 [INFO] [stdout] | [INFO] [stdout] 428 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:429:41 [INFO] [stdout] | [INFO] [stdout] 429 | self.lower_expr(*e)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:433:42 [INFO] [stdout] | [INFO] [stdout] 433 | let l = self.enter_label(*l); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:434:41 [INFO] [stdout] | [INFO] [stdout] 434 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:49 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:57 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:439:61 [INFO] [stdout] | [INFO] [stdout] 439 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:47 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:51 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:55 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:60 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:64 [INFO] [stdout] | [INFO] [stdout] 441 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:443:41 [INFO] [stdout] | [INFO] [stdout] 443 | let m = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:448:48 [INFO] [stdout] | [INFO] [stdout] 448 | let p = self.lower_pattern(*p)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:449:45 [INFO] [stdout] | [INFO] [stdout] 449 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:456:85 [INFO] [stdout] | [INFO] [stdout] 456 | PExpressionData::StructuralAmbiguous(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | let info = o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:463:39 [INFO] [stdout] | [INFO] [stdout] 463 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:467:44 [INFO] [stdout] | [INFO] [stdout] 467 | let g = self.lower_tys(g, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:469:55 [INFO] [stdout] | [INFO] [stdout] 469 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:472:77 [INFO] [stdout] | [INFO] [stdout] 472 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:479:42 [INFO] [stdout] | [INFO] [stdout] 479 | ... enum_name: e.lookup(self.ctx).name, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:486:52 [INFO] [stdout] | [INFO] [stdout] 486 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len()); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:489:75 [INFO] [stdout] | [INFO] [stdout] 489 | let a = self.lower_constructor("enum variant", v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTraitType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:664:22 [INFO] [stdout] | [INFO] [stdout] 664 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LTraitType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LTraitType { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTraitType: Intern` [INFO] [stdout] | doesn't satisfy `LTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitType: Lookup` [INFO] [stdout] which is required by `LTraitType: Intern` [INFO] [stdout] `<raitType: Lookup` [INFO] [stdout] which is required by `<raitType: Intern` [INFO] [stdout] `&mut LTraitType: Lookup` [INFO] [stdout] which is required by `&mut LTraitType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:500:35 [INFO] [stdout] | [INFO] [stdout] 500 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:504:86 [INFO] [stdout] | [INFO] [stdout] 504 | PExpressionData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:692:52 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 692 | LExpression { source, span, data }.intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:506:34 [INFO] [stdout] | [INFO] [stdout] 506 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:508:44 [INFO] [stdout] | [INFO] [stdout] 508 | let g = self.lower_tys(g, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:510:55 [INFO] [stdout] | [INFO] [stdout] 510 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it